Add Twint support
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:
- Initialize Adyen React Native SDK (version 2.6.1 or 2.7.0)
- Configure payment methods including Twint
- Attempt to process a Twint payment on Android device
- 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.1and@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.
Hey @psyzz
Thank you for feedback.
Twint is not supported yet as a standalone component. We will look into adding it in future versions.
@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(...).