#mochihealth
1 messages · Page 1 of 1 (latest)
What do you mean by "take back those free trial days"? Do you mean you want to end the trial early?
yea
like lets say there are still 3 weeks left but i want to end it today
and have the same billing cycle
so the scenario is we provide a service but for whatever reason we are at capacity right now and would not be able to provide that service this month if they subscribed so we end up putting on them a trial for the month so that they dont get charged twice for a month that they didnt get provided such service. however if capacity opened up and we were able to provide them with the service would we be able to cancel the trial period and retain the same billing cycle that was created with the initial subscription
We allow you to end the trial period, but that immediately reset the billing cycle period (you'd do this by setting trial_end: now https://stripe.com/docs/api/subscriptions/update#update_subscription-trial_end)
so can we not reset the billing cycle or does that have to be done
That has to be done - it's a hard rule whenever a trial ends that we reset the billing cycle
and if we reset the billing cycle lets say a week in to the free trial it would charge them another full month?
how does that work
and what would you suggest doing for a scenario like this
Yes, if you reset the billing cycle then it'll charge them for a full month at that point.
There's a couple of options you can look into - you can make an additional call to update the Subscription and reset the bililng cycle anchor at the time you want (by setting billing_cycle_anchor: now https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_cycle_anchor) or you could look into Subscription Schedules (https://stripe.com/docs/billing/subscriptions/subscription-schedules) to schedule ending the trial and resetting the billing cycle anchor at a later point
At a high level you'd have to do the following:
- End the trial immediately (this will still charge the Subscription for the full month)
- Create a Schedule for the Subscription
- Update the schedule to add a phase to reset the billing cycle anchor at the specific timestamp you want (when that time is reached, we'll automatically reset the billing cycle anchor and credit back the unused funds)