#muhanish_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1362400973577912526
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
This is the intent i got in android
intent://payment#Intent;action=ch.twint.action.TWINT_PAYMENT;scheme=twint;S.code=15284;S.startingOrigin=EXTERNAL_WEB_BROWSER;S.browser_fallback_url=;end
and this is from ios
twint-issuer2://applinks/?al_applink_data={
"app_action_type": "TWINT_PAYMENT",
"extras": {
"code": "61276"
},
"referer_app_link": {
"app_name": "EXTERNAL_WEB_BROWSER"
},
"version": "6.0"
}
"id": "pi_3RErSuLPcps6kIKf0Lrddwvd"
Thanks checking..
Ok there is no trace for an error on stripe side
- in android error occred : ERR_UNKOWN_URL_SCHEME
Have you tried to add more logs and inspect what is throwing this error ?
Do you have the complete stacktrace ?
Yes,
PlatformException(ACTIVITY_NOT_FOUND, No Activity found to handle intent { intent://payment#Intent;action=ch.twint.action.TWINT_PAYMENT;scheme=twint;S.code=15284;S.startingOrigin=EXTERNAL_WEB_BROWSER;S.browser_fallback_url=;end }, null, null)
This doesn't say much...
ntent://payment#Intent;action=ch.twint.action.TWINT_PAYMENT;scheme=twint;S.code=15284;S.startingOrigin=EXTERNAL_WEB_BROWSER
This seems to be a deep link ? if so, do you have a configured intent in your android manifest that will be triggered when this url is hitted ?
Yes, i've added
Intent filter
<intent-filter> <action android:name="ch.twint.action.TWINT_PAYMENT" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="twint" /> </intent-filter>
and this
<queries> <intent> <action android:name="ch.twint.action.TWINT_PAYMENT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="twint" /> </intent> </queries>
There should be a mismatch thne
try testing your intent-filters without using Stripe or any component (using Android Studio for example)
In order to build the correct url
then use it as return_url with your Stripe and PaymentIntents integration..
Ok, I'll check.
Also can you help me with any documentation regarding TWINT app to app setup.
Here is the available guide for TWINT:
https://docs.stripe.com/payments/twint/accept-a-payment
Thanks
Np! Happy to help!