Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

response types incorrect in 2.0.2 #416

Open
Craig-CyberNY opened this issue Apr 9, 2021 · 1 comment
Open

response types incorrect in 2.0.2 #416

Craig-CyberNY opened this issue Apr 9, 2021 · 1 comment

Comments

@Craig-CyberNY
Copy link

The change in 2.0.2 to lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php changed the response type from:

'net\authorize\api\contract\v1\CreateCustomerProfileResponse';

to

'net\authorize\api\contract\v1\CreateCustomerProfileFromTransactionResponse';

but 'net\authorize\api\contract\v1\CreateCustomerProfileFromTransactionResponse'; doesn't exist.

You will see the same problem in lib/net/authorize/api/controller/GetTransactionListForCustomerController.php

$responseType = 'net\authorize\api\contract\v1\GetTransactionListResponse';

changed to:

$responseType = 'net\authorize\api\contract\v1\GetTransactionListForCustomerResponse';

but GetTransactionListForCustomerResponse doesn't exist.

@krabsheva
Copy link

Seeing this as well. Seems like a simple oversight when some of the classes were renamed and a lack of testing of at least the PHP CreateCustomerProfileFromTransactionController class. Don't see how it is usable at all.

Surprised this has not been addressed in months. Had to skip the 2.0.2 version of the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants