#sir4ndr3w | Marco
1 messages · Page 1 of 1 (latest)
Hi there, you don't need to schedule to update a subscription, you can update it directly https://stripe.com/docs/api/subscriptions/update?lang=php#update_subscription
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes, but in case the person downgrades I would like it to happen at the end of the current period
if the person then changes their mind and suddenly wants an upgrade, I would like to cancel the subscription schedule and update instantly instead
OK, then you can use schedule to downgrade. But still I don't see why you need 10 phases.
User need to buy licenses and I cant predict how often they increase or decrease the amount. Otherwise I would put upgrades and downgrades into subscription schedules but is there a way to remove an existing subscription schedule and create a new one?
https://stripe.com/docs/api/subscription_schedules/release?lang=php#release_subscription_schedule you can use this API to release a schedule
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.