#lola-proration
1 messages · Page 1 of 1 (latest)
hi! so there is no such thing as a mode/setting here
proration defaults to happening, and you use proration_behavior to control on each specific update what will happen, it's not a mode, it's an option
it's a common feature request to be able to set a per-subscription mode or change the default, but nothing like that exists today. If you want the subscription to not prorate changes, you have to pass proration_behavior:none on each individual Subscription Update API call you do
ok thank you! the subscriptions are created through a schedule, and I have set the proration_behavior: 'none', for the phases ( there is only 1 phase). Does this mean that prorations will be disabled for the resulting subscription. Or will I have to update that subcription after it is created?
it just means that the update that happens as part of the transition to that phase will not apply a proration
like if you had two phases , one at $100/mo for 5 days, and then the next phase is $200/mo for the rest of the month, proration_behavior on the second phase controls if there's a proration for the remaining ~25 days when that phase transition happens
in your case, without looking at the example, I would assume proration_behavior on your own phase doesn't actually do anything in practise(since you're likely working on the assumption that it is a "mode" for the phase, when it's not)
any change you make to the subscription(either by updating it directly, or using a phase in a schedule), will prorate by default and you control what happens by using proration_behavior as an option on that individual update