#david_unexpected
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/1375077545623687179
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Whatguide are you following to collect the customer's PaymentMethod?
You should follow this one:
https://docs.stripe.com/payments/save-and-reuse?platform=web
If there'll be 3DS required, then it will be triggered.
Our integration is quite a few years old, the docs have changed quite a lot since
Yeah you need to update your integration in order to comply with 3DS requirements
You need to use SetupIntents now in order to save cards that requires 3DS
Yeah we do use SetupIntents, but that is after attaching the PaymentMethod to the customer
Normally the customer creation doesn't return an error
You need to use the SetupIntent from the beginning (following the guide I shared above)
And not create the PaymentMethod using stripejs directly (like you are doing with req_Ed6WvXDXvShsJo)
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
will do, thanks. I'm just reading over the docs and trying to understand how this translates for our integration. It's quite old and still using the cardNumber element.
Between, this is a good migration guide from Card Element to Payment Element (if needed)
https://docs.stripe.com/payments/payment-element/migration?integration-path=future
Do you know if there are any test card numbers available that I could use to reproduce this error (402 on Customer creation)? I've tried the 3DS cards listed here, but these all attach to the customer successfully, only triggering the authentication_required response when a payment is attempted.
what error exactly are you trying to reproduce?