#israelFC - Payments

1 messages · Page 1 of 1 (latest)

heavy light
#

Hello! To clarify, you want to show previously-connected bank accounts as payment options, correct?

cyan depot
#

Yes. Similar to say Amazon where when you are checking out you can choose a credit card based on the ones you have previously connected to your account.

heavy light
#

Yep, you can do that, but you would do so outside of the Payment Element. The Payment Element is designed to collected new Payment Methods, not display old ones. What you can do, though, is use the API to list a Customer's Payment Methods, relay the relevant information to your frontend, and present those as options instead of using the Payment Element: https://stripe.com/docs/api/payment_methods/customer_list

cyan depot
#

I will try this, thank you!

heavy light
#

Happy to help!

cyan depot
#

If the payment element is meant for new payment methods, is there a specific element meant to use existing payment methods during the checkout flow?

heavy light
#

No, you would need to build that UI yourself.

cyan depot
#

Okay, thank you