#Whip-default-payment-method
1 messages · Page 1 of 1 (latest)
hi there! You can either pass in the ID of the payment method for the subscription here : https://stripe.com/docs/api/subscriptions/create#create_subscription-default_payment_method.
Or if you don't pass in the ID, the subscription's invoices will attempt to charge the customer’s invoice_settings.default_payment_method [0]
[0] https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
this one is the invoice_settings.default_payment_method on the Customer
Yeah so you said if I don't pass an Id, invoice_settings.default_payment_method will be used, but it wasnt
This is the request I sent
can you paste the customer id here?
cus_JKtYWGGgRNBEIJ
so when you create a subscription with default_incomplete, you need to manually confirm the payment intent on the first invoice. [0] If you want it to auto confirm, you should use the default allow_incomplete
[0] https://stripe.com/docs/api/subscriptions/create#create_subscription-payment_behavior
Let me test that