#Chris M - billing cycle on last day of month

1 messages · Page 1 of 1 (latest)

vast epochBOT
novel kiln
#

If I wanted to choose the first of the month I'd technically have to provide the timestamp for the first of next month.
Yes, that's the typical approach here

#

As for the last day, our docs speak to this:

If a month doesn’t have the anchor day, the subscription will be billed on the last day of the month. For example, a subscription starting on January 31 bills on February 28 (or February 29 in a leap year), then March 31, April 30, and so on.
https://stripe.com/docs/billing/subscriptions/billing-cycle

#

So, you can use Dec 31 and it should then always be on the last day of the month 🙂

shut bone
#

Right, and I acknowledge that part, but if I was in febuary, for instance, and wanted to always choose the last day of each month, it would be harder because I can't choose febuary 31st to ensure that it always hits the last of each month. I'd need to each settle on the 28th/29th of each month, or find the next month with 31 days and pro-rate

novel kiln
#

If you wanted to shift that later you can update the subscription once it was cycled or use a subscription schedule -- AFAIK you can't immediately anchor to "last day of month" if you start in a "short" month, eg.

shut bone
#

Hmm, that's what I was worried about. I'd hoped that there was something I'd missed that would make this easier for me, like the ability to specify an ordinal month day or the word "last" or something

novel kiln
#

It's something we've heard feedback on, but that's not currently supported.

#

You trying to do this when creating the subscription, I am assuming?

shut bone
#

Yes. I'd have a UI set up for my boss and our clients to start subscriptions on their own, so I'd be cobbling together, perhaps, a dropdown of days of the month to choose from, which I suppose will represent upcoming calendar days

novel kiln
#

Right, so, yea, you can set this up without too much trouble using a subscription schedule, with the first phase ending on the next upcoming 31st of the month (never further than next month) when the second phase using phase[1][billing_cycle_anchor]=phase_start

#

if you also want the first cycle to be at the end of the current month with a different number of days, you'd need 3 phases

shut bone
#

Noted, thank you!

novel kiln
#

but modified to use the current month end then next month end if needed

shut bone
#

I'll keep that in mind, thank you!

novel kiln
#

Chris M - billing cycle on last day of month