-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Hi Team,
Description
After upgrading the Adyen SDK from version 5.5.0 to 5.12.0, we are facing an issue with the Cancel button in the Adyen bottom sheet UI.
In the previous version (5.5.0), when clicking on the Cancel button during the payment process, we received a callback to onAdditionalDetails() with an error response.
In the new version (5.12.0), the callback is not triggered anymore.
Integration Information
Flow: Components – Advanced flow (Using single activity architecture)
SDK Versions:
implementation("com.adyen.checkout:3ds2:5.12.0")
implementation("com.adyen.checkout:action:5.12.0")
implementation("com.adyen.checkout:ui-core:5.12.0")
implementation("com.adyen.checkout:card:5.12.0")
Behavior Comparison:
Version Behavior
Previously (5.5.0) Clicking Cancel → 3DS page still appears → Redirect to app → onAdditionalDetails() is triggered immediately with an error response.
Currently (5.12.0) Clicking Cancel → 3DS page still appears → Redirect to app → onAdditionalDetails() is not triggered. The previous payment’s error response is only received in onAdditionalDetails() when initiating a new payment attempt.
Steps to Reproduce:
- Enter valid card details.
- Click on Continue.
- Adyen UI appears, showing "Payment in progress."
- Click on Cancel before redirection to the 3DS page.
- Instead of cancelling, it still redirects to the 3DS page.
- Enter OTP.
- Redirects back to the application.
Expected Behavior:
Upon clicking Cancel before the 3DS redirection, the flow should stop and trigger the onAdditionalDetails() callback with an error message (as in SDK 5.5.0).
