#Robert de Nuiro-monthly-to-yearly
1 messages ยท Page 1 of 1 (latest)
Hello, thank you for taking my problem into consideration
The request ID is req_p1KBqwKPqqzvJG
This is expected behavior for changes in intervals
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment
You'd likely want to provide a way for your customers to pay that invoice
Ok thank you, so according to the doc I have to pass from proration_behavior: 'create_prorations', to proration_behavior: 'always_invoice',
yes
Ok now that I set the value to 'always_invoice' I can't change the monthly subscription either, with the same error 'This customer has no attached payment source or default payment method. Please consider adding a default payment method'
I can't make it annual or monthly
Ah sorry should've been clear in my response.
actually can you share the customer ID?
RequestId : req_3Ol66XCki4r2yN
CustomerId : cus_LfcQFJF4gOn9Ui
I think it could be because the webhooks are not configured ?
You'd likely want to pass a default_payment_method when updating the subscription
https://stripe.com/docs/api/subscriptions/update#update_subscription-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.
Okay thank you very much, we found it. We do not set a default payment method when a user subscribes to our subscriptions
Yup! no worries ๐ Happy to help