【发布时间】:2020-03-27 15:09:03
【问题描述】:
我们正在尝试为现有的 customerProfile 添加新的 customerPaymentProfile。我们在提供的 github 示例上设计我们的代码 https://github.com/AuthorizeNet/sample-code-node/blob/master/CustomerProfiles/create-customer-payment-profile.js
唯一的区别是,我们不会将 CC 详细信息传递给我们的服务器。相反,我们从前端传递 opaqueData。在初始 customerProfile 创建(使用单一付款资料)时,它的 w/c 效果很好。但是如果我们尝试添加一个新的 paymentProfile(使用新的 opaqueData),我们会得到错误代码:E00114, Invalid OTS Token.
官方documentation关于错误码不多说
似乎有几种不同的情况会引发此错误代码
使用 Accept.js
- https://community.developer.authorize.net/t5/Integration-and-Testing/E00114-Invalid-OTS-Token/td-p/58879
- https://community.developer.authorize.net/t5/Integration-and-Testing/E00114-Invalid-OTS-Token/td-p/59314
我们的案例(node.js SDK)
其他
- https://community.developer.authorize.net/t5/Integration-and-Testing/Intermittent-Invalid-OTS-Token-Errors-E00114/td-p/57509
- https://community.developer.authorize.net/t5/Integration-and-Testing/E00114-Invalid-OTS-Token-error-generates-while-creating-ARB/td-p/68685
我们还尝试将事务延迟至少 7 秒,然后使用 opaqueData 可能允许他们的系统按照建议的here 同步以接收相同的错误消息。
有人遇到过这样的事情吗? 任何形式的帮助都将受到高度赞赏。
【问题讨论】:
标签: node.js authorize.net