【问题标题】:braintree.Transaction.Status does not exist in braintree-nodeBraintree.Transaction.Status 在braintree-node 中不存在
【发布时间】:2019-03-30 03:59:55
【问题描述】:

根据this article,Braintree 对象应该有 Transaction.Status 然后在 Accepted 和其他之下。但是当我尝试运行包含这个的代码时,我得到了错误:Cannot read property 'Status' of undefined

这是否已从当前 API 中移除?如果是,是什么取代了它?

【问题讨论】:

    标签: node.js braintree


    【解决方案1】:

    好的,这里的问题是我使用的是this package,它为我的网关使用了 Promise。我认为相同的软件包适用于 Braintree,但我需要 npm i braintree 并改用它。

    【讨论】:

      猜你喜欢
      • 2020-12-16
      • 2015-12-21
      • 1970-01-01
      • 2017-08-16
      • 2016-07-31
      • 1970-01-01
      • 1970-01-01
      • 2017-10-17
      • 1970-01-01
      相关资源
      最近更新 更多