#TusharFP - create PaymentIntent

1 messages · Page 1 of 1 (latest)

cunning wagon
#

You need to pass in payment_method=pm_123 where pm_123 is the ID of the payment method that you saved from earlier

stiff stratus
#

Thanks, so I need both the customer and the PM?

#

Or can I just use the PM

#

OK thanks, just tried it and need both PM and customer, thanks for your help, solved now! 😄

cunning wagon
#

Yes, the customer can have a default payment method set, but that setting is only used automatically for subscriptions

#

For PaymentIntents that you create yourself, you will also want to provide the PaymentMethod ID, as you found

#

Glad you got it working!