#davidcharles9114

1 messages · Page 1 of 1 (latest)

hasty ridgeBOT
fluid moon
#

Hi
You can't increase that.

#

One option is create a first subscirption with 720 days trial

#

and before expiration in your integration, you extend the trial/create another phase if you are using Subscription Schedule

rigid chasm
#

Can you clear more?

#

You mean,

#

await stripe.subscriptionSchedules.create({
from_subscription: 'existingSubscriptionId',
start_date: 1680716828, // The date to execute
trial_end: 1680716828,
})

fluid moon
#

You create a first Subscription with 720 days trial.

rigid chasm
#

But how I know when the subscription ends,

#

I don't want to create cron job for checking,.

hasty ridgeBOT
rigid chasm
#

The Stripe auto support feature to update trial end?

#

as you suggest Subscription Schedule

#

My purpose: First I have subscription with trial day 1 year.

fluid moon
rigid chasm
#

After that I want to extend subscription plus 2 year?

fluid moon
#

You can listen to this event customer.subscription.trial_will_end

#

In your case, if you create a Subscription with 720 days trials, you'll be notified after 717 days (before 3 days)

#

and then you extend the Subscription trial

rigid chasm
#

oh that's good idea,

fluid moon
#

Happy to help!