Android: Twint Redirect Back to the App doesn't work
Opened this issue · 0 comments
msio commented
Hi,
We can't get done returning from Twint App back to our App after the payment in the Twint app was confirmed in Android.
Tested on Sandbox
SDK Version: 3.6.1.
Our Java Code
Transaction transaction = new Transaction(mobileToken);
transaction.getOptions().setTesting(true);
transaction.getOptions().setAppCallbackScheme("com.example.payment");
TransactionRegistry.INSTANCE.startTransaction(this, transaction);
AndroidManifest.xml
<activity android:name="ch.datatrans.payment.ExternalProcessRelayActivity"
android:launchMode="singleTask"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="com.example.payment" />
</intent-filter>
</activity>
The configuration above works with Paypal payment without hassle.
Twint Config - Version 38.0.0.46
Twint Configurable - Version 48.0.0.8
I also tried your Showcase https://play.google.com/store/apps/details?id=ch.datatrans.mobilesdkshowcase&hl=en and it doesn't work either unfortunatelly
Many Thanks
Cheers Michal :-)