#japoorv-customer-default-payment-method
1 messages · Page 1 of 1 (latest)
hello! as you've concluded this doesn't happen automatically
There are no parameters to set this as the customer default payment method via the setup intent. You need to make another API call to update the customer and explicitly set the invoice_settings.default_payment_method:
https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
Note that this is a defualt for invoices & subscription payments only -- you always need to specify a payment method for one-time payments with a payment intent
I want to set the default payment method for a customer
- Not for invoices, subscription
My bad got it
Thanks !
Quite welcome 🙂