#arogers-connect-subs

1 messages ยท Page 1 of 1 (latest)

late tangle
#

Hello! Do you have an example Subscription I can look at that was canceled and generated these prorations?

vague ocean
#

Sure -- sub_1Kxk7GEfXTbE444GkNIsfE4x

#

Invoice: in_1Kxk7GEfXTbE444GUz9xUpRc

late tangle
#

๐Ÿ‘ let me take a look!

vague ocean
#

Thanks!

late tangle
#

So you're using Subscription Schedules with an end_behavior or cancel , with phases that are shorter than the normal billing cycle length. Unfortunately, using Schedules in this way to cancel a Subscription in the middle of a cycle will always generate prorations. The only way to not generate prorations would be only cancel the Subscription immediately (https://stripe.com/docs/api/subscriptions/cancel), set cancel_at_period_end on the Subscription, or use iterations with Schedules and have it cancel at the end of a cycle

vague ocean
#

Thank you for the above. The subscription tied to the ID is just an example. Some are longer and extend past the period. In our UI, customers can specify the end date. We set the end date on the subscription schedule phase. In addition, our customers require the ability to cancel a subscription (even in the middle of the period).

#

I see, in the link that you posted, that there is a "prorate" parameter. I'm going to give that a try.

#

Thanks!

late tangle
#

๐Ÿ‘