Skip to content

Issue with Cancel Button Behavior after SDK Upgrade to 5.12.0 #2288

@skamble01

Description

@skamble01

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:

  1. Enter valid card details.
  2. Click on Continue.
  3. Adyen UI appears, showing "Payment in progress."
  4. Click on Cancel before redirection to the 3DS page.
  5. Instead of cancelling, it still redirects to the 3DS page.
  6. Enter OTP.
  7. 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).

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Confirmed bugIndicates that issue has been confirmed to be a bug by an Adyen developerPending releaseIndicates issue is pending a release to be solved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions