#defekt7x-subscription-trial
1 messages · Page 1 of 1 (latest)
That's a good question. Let me dig on this for a few minutes and I'll circle back
So you would have to create Phases for this to work. Otherwise you're constrained to a maximum trial period of 2 years.
Ideally you wouldn't use a trial at all and simply create the first Phase (which charges nothing) for whatever length of time you need the customer to not be charged
Got it. Am I allowed to use start_date in the Phase object? In the docs https://stripe.com/docs/billing/subscriptions/subscription-schedules I see it being used, but when I add it in, I get Typescript errors because it looks like start_date is not supported
I'm using api version 2020-08-27
Oh the difference is the docs are doing .update() while I'm trying to do .create()
I should still be able to create the schedule with a start and end date, no?
You can specify a start date, and end date cvan be set via: https://stripe.com/docs/api/subscription_schedules/create#create_subscription_schedule-phases-end_date
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
hmm
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
start_date lives in the Schedule object, whereas end_date lives in the Phase object
when I do that, it charges an invoice immediately
I even set proration_behavior: 'none
I believe you would want to create a zero-dollar Invoice for that first charge
Would I do that right from this create() call? I'm passing a Price ID in the items array, how do I override it to charge $0?
You would configure the Phase items to have a $0 Price, I believe. So you would create the Price with a zero-dollar amount and then create the Subscription Schedule that has phases.items.price equal to the Price you just created
🤔 interesting. that seem's odd to me. because it should charge the regular price on that next billing date. so would that be a 2nd phase I would have to add?
Exactly. The first Phase would be for the unpaid time and the second Phase would be for the paid time
The problem is we support a lot of currencies. We have to go in and add $0 for all? No way to just charge nothing without adding a new price?