【问题标题】:(Stripe) Does the current_period_end update when payment problems occur?(Stripe) 发生付款问题时 current_period_end 是否更新?
【发布时间】:2021-07-30 22:49:42
【问题描述】:

我正在使用 PHP 创建订阅计划,并且我使用 Stripe 作为订阅“经理”。我有一个小问题要做:在 Stripe 订阅对象中,有一个名为 current_period_end 的参数。有人知道它的行为吗?

我的意思是,如果付款正确,则该参数将更新为 UNIX 时间戳中的下一个日期。但如果付款出错,它会更新吗?我是在问而不是直接尝试,因为订阅付款之间的最短延迟是一天。谢谢。

【问题讨论】:

    标签: php stripe-payments payment-gateway payment


    【解决方案1】:

    是的,即使未结发票付款失败,订阅的current_period_end 时间戳也会更新为“当前”期间结束。在这种情况下,订阅状态将更新为incomplete:https://stripe.com/docs/billing/subscriptions/overview#payment-status

    【讨论】:

      猜你喜欢
      • 2017-07-28
      • 2017-06-03
      • 1970-01-01
      • 2022-01-26
      • 2019-12-11
      • 2019-12-26
      • 2017-01-22
      • 1970-01-01
      • 2020-07-29
      相关资源
      最近更新 更多