#marcoprouve-paymentelement

1 messages · Page 1 of 1 (latest)

summer brook
#

Hello! There isn't anyway to detect this automatically through the Payment Element. What you'd have to do is make your own requests to check whether the Customer has any already attached payment methods and surface those in your own UI to the user to select from.

crystal stirrup
#

Okay I can do that. Once I do, how can I attach that card to confirmPayment?

summer brook
#

You wouldn't be able to use it with confirmPayment - you'd use confirmCardPayment instead