#kylekeesling

1 messages · Page 1 of 1 (latest)

odd lanternBOT
sweet vault
#

Just want to confirm - you're looking for a way to guarantee that your Subscriptions ALWAYS charge at midnight on the 1st of the month for your specific timezone?

odd lanternBOT
sweet vault
#

If that's what you're trying to do then it's actually deceptively hard (because of timezones) - right now our Subscriptions are based on UTC time (which doesn't care about timezones at all)

glossy walrus
#

Yes that’s the goal. I have some that do work that way but most of them are 1 hour early

#

I guess even if it’s are few hours into the morning it’s ok. I just don’t want them to happen before the 1st

sweet vault
#

That helps then - personally, I'd recommend that you pick a time like 5 AM (in your timezone) to anchor on.

#

and I'd also recommend you make sure that the time you pick lands on the 1st in UTC time as well (since you can get into weird situations where if you pick a time that's on the 1st in your timezone, but the 31st/30th/28th in UTC then sometimes the Subscriptions can get in a weird state)

glossy walrus
#

ok that makes sense

#

can you give me an idea of the API call I need to make to ensure this? Im worried that I'll accidentally trigger a proration or something

#

or can it be done in the UI? (I assume it cant)

spice pagoda
glossy walrus
#

I want to update a number of my subscriptions billing cycle to ensure they end on the first of the month

#

and I'd like to do it without triggering a proration, essentially because right now the close an hour or two before I need them too - pesky time zones

spice pagoda
glossy walrus
#

How can I reset the billing_cycle_anchor of an existing subscription to a new date/time?

#

It seems like the only option is to set it to "now" but I'd like to update them today so that the next round of invoices on April 1st close properly

spice pagoda
glossy walrus
#

Im not sure, that seems more complicated than what I need to do, I just need to slightly tweak the next time a subscription closes out

spice pagoda
#

If you want to reset the billing cycle anchor of the subscription to a time other than "now" that's what you need to do

glossy walrus
spice pagoda
#

Yeah introducing a trial to do it would work too. Up to you

#

There's just not a way to change billing_cycle_anchor to anything except for "now" or "unchanged"

glossy walrus
#

Im just having trouble getting my head around schedules, I dont need to add any items, and it seems like SubSchedules require that

spice pagoda
#

That's fine. It's true it is a bit intimidating at first since there's so many different options available

glossy walrus
#

do you know how trials effect usage-based billing?

spice pagoda
glossy walrus
#

ok cool

#

thanks for the help, I think Ill jump into test mode and see if I can't figure something out

spice pagoda
#

No problem. Good luck!