#hendr1x
1 messages ยท Page 1 of 1 (latest)
Hi there!
I'm not sure I understand the question.
what exactly are you trying to do?
During my custom checkout I allow customers to come back to the payment step
I want to give customers the ability to edit their payment mthod
What is your "custom checkout"? Are you using the Payment Element + PaymentIntent?
Only thing built so far is customer -> payment method
At which step do you want customer to update their payment method? And what exactly do you want them to update?
if they go back to the payment page I want them to be able to update their payment method. I want them to be able to change the card they are using.
So what would you show in the UI? An empty Payment Element?
If so you can just create a new PaymentMethod
that would be fine with me. So do I have a way to delete the old payment method?
Is it just this?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes. Once detached the PaymentMethod can no longer be used.
Happy to help ๐