#parK-dev

1 messages · Page 1 of 1 (latest)

royal masonBOT
orchid ginkgo
#

hello! the Payment Element doesn't support population of the customer's previously used payment method. The Payment Element is purely for collecting new payment details.

If you want to support using existing payment methods, you're going to implement that on your own. You'll need to retrieve the previous used PaymentMethod and then display it on your site for the customer to select and pay with. Assuming you're only supporting cards, you would then use https://stripe.com/docs/js/payment_intents/confirm_card_payment to confirm the payment