#defekt7x-subscription-trial

1 messages · Page 1 of 1 (latest)

pearl ferry
#

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

balmy quiver
#

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?

pearl ferry
balmy quiver
pearl ferry
#

start_date lives in the Schedule object, whereas end_date lives in the Phase object

balmy quiver
#

when I do that, it charges an invoice immediately

#

I even set proration_behavior: 'none

pearl ferry
#

I believe you would want to create a zero-dollar Invoice for that first charge

balmy quiver
#

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?

pearl ferry
#

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

balmy quiver
#

🤔 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?

pearl ferry
#

Exactly. The first Phase would be for the unpaid time and the second Phase would be for the paid time

balmy quiver
#

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?