#jayy26
1 messages · Page 1 of 1 (latest)
Hi
You should cancel the current schedule/Subscription and create a new one.
so basically cancel the old one, and schedule a new one with 1 phase?
await stripe.subscriptions.cancel('sub_1NNWOEK3sU3vHCO73Uu8MFoO')
await stripe.subscriptionSchedules.create({
start_date: sub.current_period_end,
phases: [
{
items: [
{
price: 'price_1NEYAfK3sU3vHCO7W9DnNZ4r',
quantity: 1,
},
],
},
],
})
Yes.
Thank you