#leanfucio
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Hello
proration_behavior is a per-request parameter
It just means that if you make another update request in the future, you need to set proration_behavior again, otherwise it will go back to the default regardless of what you set in the past
By "per request", does this mean, when the subscription is renewed, it go automatically go back to "create_prorations"?
There is no proration on a renewal
Only an update
But yes, it means that any time in the future if you did something to trigger proration to occur, it will use create_prorations, unless you specify otherwise.
Basically, if you ever want proration to not occur, you need to specify proration_behavior: none in the API request that is triggering proration
I'm sorry if I don't 100% understand it all. Please be patient with me.
That's fine, feel free to ask clarifying questions
Also, testing this stuff out is really the best way to understand how it works
You can use a test clock to do so: https://stripe.com/docs/billing/testing/test-clocks
So for example, the product price is $100. then I changed it to $50 with proration_behavior: none, it won't prorate, right. that I understand. But what will happen when the subscription is automatically renewed (since it is occuring payment)? Which price will be used? $100 or $50?
Oh you have sandbox? nice
It would be charged at $50 going forward since you updated it to a $50 Price
And yes, you should really test this all out in test mode
Last question, changing the price from $100 to $50 should be in 1 request right? can't change price in first request then change proration_behavior in the 2nd request
Yes thanks! I'm sorry I have a completely different question about coupon.
The previous person that talked to me said the coupon is only only applicable to a customer and subscription. I understand the subscription. but I don't understand is for customer? What does that mean? You can attach a coupon to a customer and then all his subscriptions got discount?