-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fetch cardReference during completeAuthorize #6
Comments
Completed for the 2.x branch. |
This should be extended to the |
No documentation yet, and we may need to restrict this to just credit and debit card payment types, but it's working to try out.
Making an additional request in the complete response feels messy, since a new |
If a card reference is being created when authorizing (by setting the
createCard
flag) then the card reference must be fetched as a separate request for all payment types exceptPayment Page
.This change is needed to avoid the need to make that second, explicit API call. During
CompleteRequest::send()
an API call is made to fetch the card details and supplement the data already returned to the merchant site with the end user. ThecreateCard
option needs to be set when completing the transaction in order to trigger this functionality.The text was updated successfully, but these errors were encountered: