#kanonhian-sub-cancel
1 messages ยท Page 1 of 1 (latest)
Next time feel free to use the thread you already have open to ask follow up questions ๐
oh sorry
So first thing I want to clarify - proration_behavior is something you set on EACH request, it's not a setting that's persisted on the subscription
ok so in case I want to prorate/no prorate one subscription at current_period_end
should I do it through updating the subscription or it can only be achieved when canceling
Well which are you trying to do - do you want to prorate, or do you not want to prorate?
manager should be capable to choose
for every subscription
In addition to update the cancel_at per subscription, he should be capable to decide if proration will proceed when canceling
Updating a subscription to set cancel_at will ALWAYS generate prorations unless the timestamp happens to align with the end of a billing cycle
great
The only way to guarantee that you won't get prorations when cancelling a subscription is to cancel it at the end of the period (by setting cancel_at_period_end or using a timestamp that's the exact period end) or using the Cancel endpoint and setting prorate: false (https://stripe.com/docs/api/subscriptions/cancel#cancel_subscription-prorate)
ok
I will store this thread. Tnks
๐ I need to head out, but if you need anything else @tribal vine is around to help