#oscar.h.
1 messages · Page 1 of 1 (latest)
Hello oscar.h., we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• oscar-paymentintent-billingdetails, 5 days ago, 12 messages
We have a guide here
https://stripe.com/docs/payments/save-during-payment
If you don't want to charge the payment method and just save it then you'd need to use SetupIntents API. We have a guide for that flow here
https://stripe.com/docs/payments/save-and-reuse
I've had a look at that, I understand how it works on the backend side with the payment intent, and the pm getting associated with the customer, but I'm trying to see how to make the JavaScript Payment Element show the saved cards for the user to pick from, the same way the iOS and Android SDKs, and the Braintree web drop-in does
Ah my bad, for some reason my brain read your question as how do I save the PMs.
So sorry.
So PaymentElement doesn't support listing existing saved payment methods today. There's a beta feature in the works. You can write in via our support team to see if you're eligible
https://support.stripe.com/?contact=true
As an alternative, you can list customer's attached payment methods using the API and build your own UI to render them
https://stripe.com/docs/api/payment_methods/customer_list?lang=node
Great, thanks
NP! Happy to help