adyen-react-native icon indicating copy to clipboard operation
adyen-react-native copied to clipboard

Add Twint support

Open psyzz opened this issue 7 months ago • 2 comments

Describe the bug The Adyen React Native SDK crashes consistently on Android when attempting to use the Twint payment method. The crash occurs with a ComponentException: Unsupported payment method twint error, while the same implementation works perfectly on iOS.

To Reproduce Steps to reproduce the behavior:

  1. Initialize Adyen React Native SDK (version 2.6.1 or 2.7.0)
  2. Configure payment methods including Twint
  3. Attempt to process a Twint payment on Android device
  4. App crashes with ComponentException

We are using start('twint');

Expected behavior Twint payment method should work on Android devices just as it does on iOS. The payment flow should complete successfully without crashing the application.

Screenshots Error logs from Android:

06-30 11:20:11.561 19659 19659 E AndroidRuntime: com.adyen.checkout.core.exception.ComponentException: Unsupported payment method twint
06-30 11:20:11.561 19659 19659 E AndroidRuntime: at com.adyen.checkout.instant.internal.provider.InstantPaymentComponentProvider.assertSupported(InstantPaymentComponentProvider.kt:265)

Smartphone (please complete the following information):

  • Device: Android devices (multiple tested)
  • OS: Android (various versions)
  • Browser: N/A (native app)
  • Version: React Native 0.78.2

Additional context

  • SDK Versions tested: @adyen/react-native: ^2.6.1 and @adyen/react-native: ^2.7.0
  • Platform behavior: Works correctly on iOS, crashes only on Android
  • React Native Version: 0.78.2
  • Issue type: This appears to be a platform-specific compatibility issue
  • Request: Looking for guidance on correct Twint implementation for Android or confirmation if this is a known issue requiring specific integration approach or SDK update.

psyzz avatar Jun 30 '25 10:06 psyzz

Hey @psyzz

Thank you for feedback.

Twint is not supported yet as a standalone component. We will look into adding it in future versions.

descorp avatar Jul 03 '25 15:07 descorp

@psyzz

FYI, the easiest way to make Twint payment with current SDK is to make an "API-only" call request and then handle received action with AdyenAction.handle(...).

descorp avatar Aug 18 '25 14:08 descorp