#Nash-update-paymentmethod
1 messages · Page 1 of 1 (latest)
Hi there! You will want to use a SetupIntent to add a new paymentmethod for a customer (https://stripe.com/docs/payments/save-and-reuse). The SetupIntent will handle 3DS if it is required for the card.
Are you using Stripe Billing?
(Invoices/Subscriptions)
Got it. Then yes, you just use a SetupIntent to add the new card and attach it to the Customer and then pass the new PaymentMethod ID for your future payments for that Customer.
I see. And that will support 3ds in case it's needed?
Yep, when you confirm the SetupIntent using Stripe.js then the 3DS modal will display for the customer if 3DS is required. Recommend taking a look at the guide above.
Nice. OK, I think that's what I needed. Thank you very much. Have a good one.