#akdev1287-js
1 messages · Page 1 of 1 (latest)
Can I use stripe.confirmCardSetup for update user card details that already in stripe?
Or do we have some similar method for card update? Or should I use stripe.confirmCardSetup to create new one if stripe api don't have update method?
So as I understand I can't update card number and I need to create new setupIntent and then use stripe.confirmCardSetup to add new customer card. Correct?
It's a few questions and I am not sure where to start...
For an existing PaymentMethod, you want to update the Card Information?
Yep
Hmm I think it's better to prepare a new SetupIntent, then you will have a brand new PaymentMethod
Just use it next time, and ignore the old one
The old one, you can detach from your customer, and forget it
Ok, thanks. And can I delete old cards/methods if I need to?
That's called detach: https://stripe.com/docs/api/payment_methods/detach
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.