#DeputyCheese
1 messages · Page 1 of 1 (latest)
Can you provide the Customer Id? cus_xxx
Yes, for example this one: https://dashboard.stripe.com/test/customers/cus_MwBOhogFf75LBu
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
cus_MwBOhogFf75LBu
There's only one payment method (a credit card) and the subscription also has only 'card' as payment method type (we are not allowing anything else than credit card payments for subscriptions)
This is the related subscription: sub_1MCJ1gClDK2O5WMj7vWVx2zW
It shows that the default payment method should be used for payments (which again should be the credit card, as there is nothing else in that customer data).
So the customer does have a PaymentMethod, but it's not set as default. Can you try setting it as invoice_settings.default_payment_method ?
https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.