#Chocacao-PaymentIntent+PaymentMethod
1 messages · Page 1 of 1 (latest)
👋 To clarify: are you looking to set a specific PaymentMethod that already exists (pm_****) or. set the types of PaymentMethods that the Customer can provide?
to set a specific PaymentMethod that already exists
I tried using .setPaymentMethod("card") but "card" is not good and I didn't find the correct argument to pass
Got it. The code sample for that lives at https://stripe.com/docs/payments/save-and-reuse#charge-saved-payment-method and you'd pass in the id of the PaymentMethod that's already saved (it'll look like pm_******)