【问题标题】:Subscription - How to update the next billing date with Braintree订阅 - 如何使用 Braintree 更新下一个计费日期
【发布时间】:2018-02-26 03:06:38
【问题描述】:

创建新订阅时,next_billing_date 已成功保存到数据库中。但是,每次发生新的经常性费用时,如何更新数据库中的next_billing_date

【问题讨论】:

    标签: ruby-on-rails braintree recurring-billing


    【解决方案1】:

    我建议使用Subscription webhooks。当 Braintree 触发 webhook 时,它将包含一个带有 next_billing_date 属性的订阅响应对象。您可以使用此属性来保持数据库更新。

    【讨论】:

      猜你喜欢
      • 2016-04-18
      • 2014-05-30
      • 2019-01-03
      • 1970-01-01
      • 2016-12-16
      • 1970-01-01
      • 2015-04-10
      • 2015-10-25
      • 2018-06-04
      相关资源
      最近更新 更多