#Benoît
1 messages · Page 1 of 1 (latest)
You can update the subscription with new price item and set proration_behavior to always_invoice for immediate payment: https://stripe.com/docs/api/subscriptions/update
Look's like so simple ^^
I'm going to try this
Great ! Thank you !
I see on my Dashboard that the next upcoming invoice amount will be 100% of the item 1 (which already was in my subscription) + 100% of the new item. I created the 1st item few seconds before adding the 2nd one to test what you told me. Could you confirm that if had added the 2nd item 2 weeks later, then the amount of the upcoming invoice would have been 100% of the item 1 + 50% of my new item ?
Hi! I'm taking over this thread.
Hi 🙂
The best way to test this types of question is to use Test Clocks, they allow you to move time forward. https://stripe.com/docs/billing/testing/test-clocks
Thnaks
Happy to help 🙂
After the subscription update (by adding the new item), my billing cycle anchor is reset to "now", although it shouldn't have, it has to stay the same as it was initialy.
Can you share the subscription ID (sub_xxx)?
sub_1NLwJqAYYvne95SH1eURL4nK
1st item was created the 20th of june, and the new one now
Thanks! Give me a few minutes to look into this.
Thank you !
I also see that the invoice was prorated, as i paid 9.87€ instead of 10€
So this is the request you made to update the subscription: https://dashboard.stripe.com/test/logs/req_LVkzMQwO5yJEWD
Can you clarify what you were expecting to happen exactly?
- The customer paid 9.87€ instead of 10€. I wanted him to pay 100% of the 2nd item price
- I waited for the amount on the next invoice to be 0.13€ (10€ - 9.87€ prorated)
I also think i told a mistake by saying the 1st item was created the 20th of june. It has been created 10 hours ago, so it's normal that the billing cycle anchor is at the same date (i just would be able to see if the HOUR of the date still remain the hour it was 10 hours ago)