#uncle.t

1 messages · Page 1 of 1 (latest)

quasi pikeBOT
hard furnace
#

background, we uses Jetpack Compose

ebon lodge
#

From the error message, the URL scheme that you defined in return URL can't be loaded

#

Can you double check if URL scheme is set up correctly?

hard furnace
#

we never configured the return URL before

#

the scheme of the URL cannot be opened, which is stripesdk

ebon lodge
#

Can you share the Payment Intent (pi_xxx) with this error shown?

hard furnace
#

and stripesdk://payment_return_url is configured from the SDK itself

#

it is a setup intent

visual reef
#

Hi @hard furnace stripesdk://payment_return_url/xxxx is the deeplink URL to return to your app.

hard furnace
#

@visual reef yes, I understands that. We are looking for solution to ensure it can be correctly executed

#

yes, we are using 20.34.4

visual reef
#

Is it happening in test mode or live mode?

hard furnace
#

test mode at this point

visual reef
#

Can you decompress the apk file and open the Android.manifest file, check if stripesdk:// scheme is in the manifest file?

hard furnace
#

no, we don't have that scheme added to our app

#

or you mean the after manifest merging?

visual reef
#

Yes, the final apk should have the stripesdk:// scheme added to the merged manifest.

#

If it's not there, try clean your project and buld again from scratch.

hard furnace
#

right, think this might be related to our deep link handling

#

when receive this fron Intent, do we need to handle it?

visual reef
#

No you don't, the Stripe Android SDK will automatically handle it.

hard furnace
#

🤔

#

my concern is our AppsFlyer integration captured it

#

Not an AppsFlyer deep-link stripesdk://payment_return_url/au.com.aussiecommerce.luxuryescapes

#

which then tried to open it in web view

visual reef
#

Ah, I see. You might want to check with AppsFlyer and see if there's a way to exclude stripesdk://

hard furnace
#

yeah, I've found a way to exclude it.

#

so I guess StripeSDK would handle this deeplink regardless the logic we have in MainActivity?

visual reef
#

I don't have insights on what logic you have in MainActivity, as long as your app, or any 3rd-party depenencies you integrated in your app, doesn't intercept stripesdk:// and let Stripe SDK to handle it, your customer will be redirected back to your app upon completing 3DS authentication.

hard furnace
#

let Stripe SDK to handle it
yeah, this is the part I'd like to confirm.
Is there anyway I can check in our app that SetupIntent has been correctly handled?

visual reef
#

"been correctly handled'" -> do you mean if a setupIntent is confirmed successfully?

hard furnace
#

ye

visual reef
#

Ok, you can listen to setup_intent.succeeded webhook event

quasi pikeBOT
hard furnace
#

right

#

kk, thanks all!