#marcoprouve-paymentelement
1 messages · Page 1 of 1 (latest)
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.
Okay I can do that. Once I do, how can I attach that card to confirmPayment?
You wouldn't be able to use it with confirmPayment - you'd use confirmCardPayment instead