#diegospb-metered-billing

1 messages ยท Page 1 of 1 (latest)

neat birch
#

I'm not sure. Let me dig on that for a minute

winged harness
#

๐Ÿ‘‹ @grave karma

#

Are you also on IRC or is it a pure coincidence? Someone asked me the same thing there

#

yeah okay that's you

grave karma
#

yeah, that was me, told them that I would continue over here if that's ok

winged harness
#

yep I'm the same person ๐Ÿ™‚

#

Do you have an example subscriptionI can look at?

grave karma
#

not right now, let me try to get one!

grave karma
#

ok, I think I know what happened

Switching prices does not normally change the billing date or generate an immediate charge unless:
The subscription moves from free to paid, or paid to free.

#

is there a way to not restart the billing cycle when moving from free to paid?

winged harness
#

unfortunately no, it's a core part of our upgrading logic

#

best option is to switch to SubscriptionSchedules instead

grave karma
#

gotcha, thanks!

winged harness
grave karma
#

thx!, one follow up question.

when updating a metered subscription item from free to paid, the billing cycle will restart, is there a way to automatically carry over their usage? (it does automatically when updating from a paid price to another paid price)

winged harness
#

There isn't in that case as far as I know

#

you could keep both Prices though right?

grave karma
#

but I want the usage records to be in the new price. The use case is for an upgrade so in this case, the higher price would have a higher tiered prices but still would like the already accounted free usage to be carried over

#

thx, I think I can also create an usage record as part of the upgrade