#gregsj-checkout-trial
1 messages · Page 1 of 1 (latest)
the proration section is not related to Checkout, it's more about Billing/Subscriptions as a service
Today Checkout doesn't support upfront proration, for example if you wanted to anchor the subscription to the 1st of the month. We want to build this in the future but it's not possible for now
So there is nothing similar that can be achieved with
/**
* Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` on `subscription_data` is preferred. Defaults to `false`.
*/
trial_from_plan?: boolean;
/**
* Integer representing the number of trial period days before the
* customer is charged for the first time. Has to be at least 1.
*/
trial_period_days?: number;
}
that is unrelated to any proration
that just sets a trial period, which is a period that you're not paying for anything
I was hoping trial_from_plan indicated some form of proration
So only option at this time is to not use stripe checkout correct? Assuming you don't have a timeline on when checkout will support billing anchor/proration in checkout?
Correct, no timeline for now, we are not working on that feature at least. And trial_from_plan just means inheriting the default trial on the Plan associated with your line items, so it is unrelated
For now if you need this feature you have to not use Checkout, or you prorate yourself, and add a one-off line items for the default trial
Thanks
Sorry quick question on how the second option would work - how would I be able to create a $0 checkout that had a subscription starting in 30 days and a prorated amount charged after 10 days?
hum sorry that flow doesn't make sense to me at all
you want a trial of 10 days, and then you want to prorate 20 days to then anchor in exactly 30 days? What's the logic for this?
We have a physical subscription product that has 30 days worth of product. We would like to provide a free trial period for less than the 30 days. We will still be shipping 30 days worth of product and thus we need the next billing cycle to occur 30 days after the subscription is created. We would like our customer to not be charge until after the free trial period is over at which point they would be charged a prorated amount for the remainder of the first billing cycle such that the second cycle would start on the 30th day.
I see, I've never seen a billing model this way for a case like yours. But what you want is trial_period_days: 20 and billing_cycle_anchor=<30 days from now> and that is not supported by Checkout today unfortunately
Got it - thanks for confirming