Skip to content

Improve redirect action handling for embedded components #1142

Description

@kubeeek

Describe the bug
During a card payment that triggers a 3DS challenge, when nativeThreeDS is set to disabled, it is possible to close the web view using the standard “X” button. This action does not trigger the onError callback.

This is problematic because we cannot call hide on the native component, and the user has to manually cancel the pending component:

Image

It is also inconsistent with the iOS behavior, where the callback is triggered after browser has been closed.

To Reproduce
Steps to reproduce the behavior:

  1. Do a payment with 3DS card and 3DS native disabled
  2. Click on X to close the browser
  3. See the awaiting component

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: Samsung S25
  • OS: Android 16
  • Adyen RN 2.11.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv3This breaks public API and will be addressed in v3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions