#m2.0
1 messages · Page 1 of 1 (latest)
Hi there
So you will want to build two flows here
Either the "use a new payment method" flow which is sounds like you have already built
And a second flow for a "use a saved payment method"
For this second flow you want to use https://stripe.com/docs/api/payment_methods/customer_list to list out the PaymentMethods attached to a Customer
Then you display a UI for the customer to select one of those PaymentMethods
When the customer selects one of those and hits "pay" you create/confirm a PaymentIntent server-side using that saved PaymentMethod ID
Hi, that's exactly what i want to do,
I manage to display the saved payment method but not to reuse it
Thanks, I'll check it out