#Gabelbart

1 messages · Page 1 of 1 (latest)

idle baneBOT
tiny zealot
#

Hi there!

#

We want to be able to add new items to an active subscription without changing the billing anchor
Yes that's possible
and have the user only pay the prorated costs for the new items on the current period.
Can you clarify what that means with a concrete example?

near pebble
#

Lets say I have a primary license (100€; interval 1y) im 6 months into the current period and want to add an extension license (50€; interval 1y). => In this case i would expect to pay only 25€ for the extension license.

idle baneBOT
near pebble
#

More complicated but also possible: I change my primary licesnse A (100€/y) to primary license B (200€/y) and drop my extension license (50€/y) while doing so (again 6 months into the current period). I would expect to pay 25€ (50€ for the upgrade - 25€ for the dropped license). 😅 i hope i did the maths right....

mint bramble
#

👋 stepping in

near pebble
#

hi @mint bramble

mint bramble
#

Do you want to charge the customer immediately at time of update or when the normal billing cycle ends?

near pebble
mint bramble
#

Gotcha

#

So with immediate payment you basically will reset the billing cycle anchor

#

So if it is yearly then the following invoice will be one year from the update as opposed to in 6 months (with your example)

#

All of this is controlled by what proration_behavior you use when you call the update Subscription endpoint

near pebble
near pebble
#

So always_invoice would reset the billing anchor but create_prorations would not and instead postpone payments until the next interval/period? What about none would it prevent any prorations giving the customer a 'free' upgrade for 1/2y?

mint bramble
#

Yep exactly

#

And all of these are dependent on the update being with a Price on the same billing interval of the previous Price

#

Otherwise the billing cycle is reset immediately

#

ie if you go yearly --> monthly

near pebble
#

Ok, we will not allow to change the interval, just change the product or add/remove products

#

Thank you for your help. Its always a pleasure to work with you guys. I once was scared about processing payments but stripe took away my pain!

mint bramble
#

Happy to help!

near pebble
#

Have a good day!