#codelogix - Customer Default Payment Method
1 messages · Page 1 of 1 (latest)
There are a couple places this might be depending on how you are setting it.
Are you setting this from the Dashboard or via the API somehow?
Via the API when using a new payment and attaching it to the customer record.
Does stripe still return the default payment method as the first payment method returned?
Just attaching the payment method won't make it the default as far as I am aware. You need to explicitly set it as the default payment method for subscriptions. There are two fields on a customer for that default_source and invoice_settings.default_payment_method
https://stripe.com/docs/api/customers/object#customer_object-default_source
https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method
@left oyster Checking in before this thread is archived, was that info helpful?