#Jainish
1 messages · Page 1 of 1 (latest)
I will explain my flow then let me know where I should this implement and which API should we call.
if you follow any of our guides for accepting payments they all handle 3D Secure as part of the flows and cover anything you might need to do. But sure, I can try to answer a specific question if you have one.
we are first creating customer > then calling setup intent then > after completion of the service we are calling payment intent to deduct payment
will that redirect us to web page or that will stay in mobile APP and open it there ?
so you're integrating with our iOS/Android/ReactNative SDK?
yes we implemented the basic flow there just wanted to add for this authentication part. we have to again send the OTP to stripe right and then stripe will handle that ?
no, you don't do anything with a "OTP" yourself.
you just call our functions in our SDK like confirmPayment / confirmSetup. That presents the bank's 3D Secure page in your app. The customer interacts with that and authenticates(which might mean their bank sends them an SMS with a code, it might mean they enter a password; that's between the customer and their bank and not anything you need to interact with).
you can test it how it look with the cards at https://stripe.com/docs/testing#authentication-and-setup .
Understood now
for urlSchema what I have to add I am bit confused for that
<StripeProvider
publishableKey=""
urlScheme="your-url-scheme". <==== Here
ok got it checking the Doc