-
Notifications
You must be signed in to change notification settings - Fork 12
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
Ap 235 upgrade api web components adyen library #155
Ap 235 upgrade api web components adyen library #155
Conversation
Release 1.6.0
Release 1.7.0
Release 1.7.1
$(me.opts.placeOrderSelector).parent().append('<div id="AdyenIdentifyShopperThreeDS2"/>'); | ||
me.adyenCheckout | ||
.create('threeDS2DeviceFingerprint', { | ||
fingerprintToken: data.authentication['threeds2.fingerprintToken'], | ||
token: data.authentication['threeds2.fingerprintToken'], | ||
useOriginalFlow: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acampos1916
The new flow would require a clientKey, so for upgrade I left the original flow active.
Should we update to the new flow with the ClientKey property for web components?
Web components 4.1.0 require ClientKey.
Similar for threeDS2Challenge
if (!$paymentMethod->getValue('details') && !$paymentMethod->isStoredPayment()) { | ||
$subject->View()->assign('sAdyenSetSession', json_encode($paymentMethod->getRawData())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems this data was always set to incorrect data for Checkout API
(v52 did not mind this, v66 correctly rejects the call).
Updated to contain correct data when it was not handled by Web components.
@acampos1916 |
@bortefi |
@cyattilakiss |
@acampos1916 Upgrade is complete Pr can be reviewed. |
Co-authored-by: Ángel Campos <[email protected]>
Co-authored-by: Ángel Campos <[email protected]>
Co-authored-by: Attila Kiss <[email protected]>
…adyen-library # Conflicts: # Controllers/Frontend/Process.php
…P-269-235-validate-both-functionality # Conflicts: # Resources/frontend/js/jquery.adyen-payment-selection.js
@bortefi thank you for adding the changes I merged earlier :) |
Summary
Notes
v67 rejects calls with data fields sent to the API (v52 allowed additional data fields set by e.g. Paypal)
Tested scenarios
Fixed issue: #61 , #62