#david_unexpected

1 messages ยท Page 1 of 1 (latest)

knotty bladeBOT
#

๐Ÿ‘‹ 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.

spare hound
#

Whatguide are you following to collect the customer's PaymentMethod?

night eagle
#

Our integration is quite a few years old, the docs have changed quite a lot since

spare hound
#

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

night eagle
#

Yeah we do use SetupIntents, but that is after attaching the PaymentMethod to the customer

#

Normally the customer creation doesn't return an error

spare hound
#

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)

knotty bladeBOT
sharp ember
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

night eagle
#

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.

spare hound
night eagle
#

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.

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

sharp ember
#

what error exactly are you trying to reproduce?

night eagle
#

Creating a customer with a payment_method created client side with createPaymentMethod()