#Sadness ;'(
1 messages ยท Page 1 of 1 (latest)
Hi there!
I don't think what you are asking is possible. But if you want to customize the 3DS flow, there are some information available here: https://stripe.com/docs/payments/3d-secure#when-to-use-3d-secure
Thanks for quick response. That's probably what i was looking for (not exactly but nearly). But i got another question. Is it possible to check when the 3DS flow ended, if i will decide to use it in iframe?
Is it possible to check when the 3DS flow ended, if i will decide to use it in iframe?
I'm not sure I understand the question. Can you clarify?
If you want to control how to display 3D Secure, provide a
return_url, which is where the 3D Secure<iframe>is redirected when authentication is complete. If your site uses a content security policy, check that iframes from https://js.stripe.com, https://hooks.stripe.com, and the origin of the URL you passed toreturn_urlare allowed.
I want to know when the 3DS authentication is complete, but i don't know how to check it (or listen for it).
I citated it from here: https://stripe.com/docs/payments/3d-secure#custom-iframe
It's covered here: https://stripe.com/docs/payments/3d-secure#handle-redirect
After the customer completes 3D Secure, the iframe redirects to the return_url you provided when confirming the PaymentIntent. That page should postMessage to your top-level page to inform it that 3D Secure authentication is complete. Your top-level page should then determine whether the payment succeeded or requires further action from your customer.
Oh, that's great! Thanks a lot!
To clarify, the 3DS is performed for example for iDEAL payment?
I think 3DS is specifically for card payments.
But when paying via iDEAL the user is redirected to iDEAL website. Is it still counted as 3DS flow?
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Hi! Question right above your message
sorry my bad, will be with you in a second
No problem
it is a redirection but not 3DS
So, then... How i can put this redirection to iframe?
As it was shown on the stripe's website regarding 3DS.
are you using PaymentElements?
Yes, I'm using Payment Element
when you use https://stripe.com/docs/js/payment_intents/confirm_payment you need to pass the return_url it will redirect to iDeal for you
you don't need to do it manually