stripe-payments - 如果自动重试之一成功,条带是否会自动将订阅设置回“活动”?
问题描述
如果Stripe在第一次尝试时未能为订阅收取付款,但在第二次自动重试时成功(即通过成功的自动恢复过程),它是否会自动将订阅从 转换status = 'past_due'
为status = 'active'
?
我正在阅读Stripe Docs: Lifecycle#reactivate:
要将订阅状态从未付款或逾期状态设置回活动状态,请打开最近的发票并尝试付款。请注意,支付任何其他发票(不是最新发票)不会更改订阅状态。
上述说明是否仅适用于恢复过程失败的订阅,或者我是否总是需要手动打开最近的发票并付款才能转换回status = 'active'
?
解决方案
As long as the most recent invoice on a Subscription is paid, the Subscription would have status
set to active
. So whether you pay it manually, or automatic retries pay the invoice, it will automatically move the Subscription back to active.
推荐阅读
- python - Tkinter 停止程序执行按钮
- google-data-studio - 如何在谷歌数据工作室计算字段中使用日期 = 值?
- c# - 布尔 NullReferenceException
- python - subprocess.check_call:命令'['git','clone']'返回非零退出状态127
- .net - 如何在 EF Core 中有效地为可翻译属性建模?
- json - 将 JSON 转换为节点和链接?
- c# - StackTrace 中未显示行号。我似乎找不到发生错误的行号
- visual-studio-code - VSCode 市场未加载
- javascript - Lazysizes 的问题(仅限动态 img)
- testing - 如何从 JMeter 中的多个样本集中随机运行单个样本