#developerEnabled - 3D Secure

1 messages · Page 1 of 1 (latest)

misty ember
#

Hello! We recommend you use Stripe.js to handle authentication flows like 3D Secure, which is a secure solution. Are you asking specifically about handling the 3D Secure flow on your end manually and not using Stripe.js?

dawn star
misty ember
#

If you're considering not using Stripe.js the next step would be for me to encourage you to reconsider and use Stripe.js. 🙂

#

Can you provide more details?

open hill
#

Hello @dawn star your thread is open

dawn star
#

Thanks @open hill

#

@misty ember I think my question is about "Displaying the 3D Secure Flow"

#

Here is the screenshot I took of the documentation in question

#

I think there is a choice between either a REDIRECT or using an IFRAME

wicked mason
#

Hi @dawn star! Stepping in here to help, give me a moment to get caught up

#

So yes, there are essentially three options here. You can use Stripe.JS, which will show a modal, and is the method we recommend. Or you can rediret to the URL, or you can display the redirect URL page in an iframe on your UI.

dawn star
#

Hi @wicked mason,
Thanks. Is that in this portion of the documentation I referenced? I feel like I am missing where it says all three options?

wicked mason
#

Yep it is the exact portion you referenced.

#

If you do not set a return_url then when you use Stripe.JS to confirm the PaymentIntent/SetupIntent we will display the modal for you.

#

Otherwise, if you set a return_url you control the display either via a full redirect or via an iframe. The URL will be returned in the next_action.redirect_to_url.url just like it states in the docs you are looking at.

dawn star
#

Gotcha

#

Thanks for explaining it, even though I now realize its in the first sentence haha

#

Q: Are you able to style the modal to fit a brands style guide lines or is that irrelevant in this process?

#

Again, recently jumped into this project and new to this 3D Secure flow

wicked mason
#

No you can't style the modal as that is going to be a hosted page controlled by the card issuer.

dawn star
#

Ok thanks

#

Appreciate the help @wicked mason