#9801419799
1 messages · Page 1 of 1 (latest)
hello! i'm not sure what you mean by didn't specify? Are you planning to use the Stripe method to confirm payment and hence handle 3DS also, or are you planning to handle the redirect to the 3DS page yourself?
Thanks for the quick reply,
I'm developing a stripe payment plugin for ecommerce software.
What i am doing is creating a Payment Intent first with CaptureMethod = "manual" from backend
After that from front end I am loading stripe element and calling confirmPayment with redirect: 'if_required'
The final capture is done from backend.
While testing, the 3DS is handeled automatically by stripe element. It is displaying popup and working well without redirection.
I don't wan't to handel the redirection at all in any case of 3DS.
then everything is fine as it is
Won't there be any case where redirect must happen in case of 3DS?
no, there's no redirect being done for 3DS since you passed in redirect: 'if_required'. Even if it did, you had to pass in https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams-return_url - so it will automatically redirect to the return_url