Vadim
Vadim

Reputation: 3

Stripe schedule subscription NodeJs

I have a problem with schedule subscription. I need update subscription plan after end of period current subscription, but quantity of subscription items(phases) may be updated also. How can I do this?

I used subscription scheduled, but it doesn't work, phases quatity is so big, and i have exception when i've tried to add more then 15 objects

Upvotes: 0

Views: 310

Answers (1)

Lucky2501
Lucky2501

Reputation: 1704

The question isn't very clear here, but I think I understand.

Subscription Schedules have a limit of 10 phases.

If you need more, you'll need to wait for phases to complete before you can update the Schedule and add more.
https://stripe.com/docs/api/subscription_schedules/update?lang=node
When you do so, you can omit any past phases, but you'll need to set due ones again.

Upvotes: 0

Related Questions