#tannerhuynh_docs
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1386711389820817461
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, we document all of our test 3DS cards here: https://docs.stripe.com/testing?testing-method=card-numbers&payment-method=others#regulatory-cards
Can you share more about your use case here?
We are trying to test the redirect url in the case that an issuer is using the old 3DS1. I saw somewhere in the documentation that the redirect URL is a fallback, and we wanted to test that fallback with a card.
Let me further look
I was able to confirm that we got rid of test 3DS1 as its no longer supported in live mode. Where do you see it mentioning that it's a fall back?
I can bring this to our team's attention to clarify it
Oh okay, so all payments that go through 3DS2 only use the modal? Is it safe to assume that the redirect URL is only used for third party payments like Klarna etc? If we don't use those third party payments at all and set the confirmation on the client side to redirect: "if_required", do we even need to pass in the redirect URL? Sorry, I can't seem to find the documentation that mentioned it as a fallback now. It was a small one liner and easy to miss.
Hi there ๐ jumping in as my teammate needs to step away soon.
Yes, unless you're using the flow where you manually display next actions to your customers by redirecting them to a URL yourself, 3DS will use the modal we offer.
If we don't use those third party payments at all and set the confirmation on the client side to redirect: "if_required", do we even need to pass in the redirect URL?
No, because Stripe.js will still perform a redirect if the payment method the customer is using requires one, and areturn_urlis needed to bring them back in that case. I'm not sure if you can ever fully omit thereturn_urlfrom that call, but if you disable all payment method types that require redirects then it won't ever be used.
I do see that the docs says its required. But in actuality, if none of the payment methods are enabled and we only accept credit card, its not really "required."
That's what I'm fuzzy on, but I suspect the API will always require it, just sometimes it won't be used
I was mistaken:
script.js:199 Uncaught (in promise) IntegrationError: stripe.confirmPayment(): the `confirmParams.return_url` argument is required unless passing `redirect: 'if_required'
I was then able to omit return_url when specifying redirect: 'if_required'
Okay, that sounds great. I think we should be able to omit it as well and continue using only Credit Card Thanks!