在当前期间结束时降级 Stripe 订阅? [英] Downgrade Stripe subscription at the end of current period?
问题描述
如何在当前订阅期结束的当天将正在进行的订阅降级为价格较低的计划?
我正在寻找一种使用 API 文档的独立于语言的解决方案.
How to downgrade an ongoing subscription to a lower-priced plan,
on the day current subscription period ends, without using webhooks?
I am looking for a language-independent solution using API documentation.
场景:
当前计划:100 美元/月下一个发票日期:下个月的 1 日
所需计划:$50/月.应在下个月 1 号激活,无需按比例分配.
Scenario:
Current plan: $100/month Next invoice date: 1st of next month
Desired plan: $50/month. Should be activated on the 1st of next month without proration.
推荐答案
我可以使用 Stripe Subscription Schedules 升级/降级和取消订阅.
您可以使用此 API 创建计划作业这会立即反映仪表板中的更改,即已为订阅安排了更改,其中包含升级、降级或取消订阅等某些事件.
Stripe 的订阅时间表官方文档
I was able to Upgrade/Downgrade and cancel the subscription in a future time by using Stripe Subscription Schedules.
You can create a scheduled job using this API which immediately reflects the change in the dashboard that a change has been scheduled for a subscription with certain events like upgrade, downgrade, or cancel a subscription.
Stripe's official documentation of subscription schedules
这篇关于在当前期间结束时降级 Stripe 订阅?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!