-
Notifications
You must be signed in to change notification settings - Fork 129
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
paymentMethodRequestable/paymentMethodIsSelected with 3DS #805
paymentMethodRequestable/paymentMethodIsSelected with 3DS #805
Comments
Hey @ae-michal-mordarski , thank you for reporting this and your patience while we look into this. We agree that it makes sense for the |
@jplukarski nice, I'm glad I'm able to help this way. |
This bug has been fixed in version 1.42.0. |
General information
Issue description
Per documentation paymentMethodIsSelected will be true any time a payment method is visibly selected in the Drop-in UI, however with 3DS enabled you get false first as expected, followed by true right away, but 3DS pop-up is shown, so technically speaking payment method is not visibly selected until 3DS is completed.
Furthermore, we have another logic that depends on paymentMethodIsSelected being true when saved credit card is selected, thus making it impossible to distinguish, because true also comes while 3DS pop-up is visible.
https://braintree.github.io/braintree-web-drop-in/docs/current/Dropin.html#~paymentMethodRequestablePayload
Expected result: paymentMethodIsSelected is true when 3DS is completed
Actual result: paymentMethodIsSelected is true when 3DS popup is shown
The text was updated successfully, but these errors were encountered: