#muhanish_unexpected

1 messages ยท Page 1 of 1 (latest)

floral mauveBOT
#

๐Ÿ‘‹ 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.

sweet kestrel
#

๐Ÿ‘‹
Could you please share the failed PaymenIntent ?

#

or the failed requestId ?

thorn terrace
#

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"
}

sweet kestrel
#

I mean the PaymentIntent Id

#

pi_...

thorn terrace
#

"id": "pi_3RErSuLPcps6kIKf0Lrddwvd"

sweet kestrel
#

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 ?

thorn terrace
#

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)

sweet kestrel
#

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 ?

thorn terrace
#

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>

sweet kestrel
#

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..

thorn terrace
#

Ok, I'll check.
Also can you help me with any documentation regarding TWINT app to app setup.

sweet kestrel
thorn terrace
#

Thanks

sweet kestrel
#

Np! Happy to help!