错误看起来像这样
request.post({
url: 'https://api.venmo.com/v1/payments',
form: {
access_token: 'xxxxxxxxxxxxxxxxxxxxxx',
email: req.body.email,
note: 'Payment of ' + req.user.coins + ' coins',
amount: (req.user.coins * coin_price),
audience: 'public',
confirm: true
}
}, function(err, httpResponse, body) {
console.log(err, body)
} )
json 响应看起来像这样
{"error": {"message": "Please confirm whether you would like to pay a fee on this transaction", "code": 1396}}
我觉得这是因为我的帐户上有一张需要 3% 手续费的信用卡。但我很好。有什么方法可以让我自动接受吗?
文档在这里:Venmo payments
最佳答案
我在 Braintree 工作,和 Venmo 是同一家公司。如果有更多问题,可以随时reach out to the Venmo support team .
如果您没有设置默认的资金来源,并且唯一可用的资金来源是您的信用卡,就会出现该错误。设置任何默认资金来源(卡或其他)将解决问题。其目的是防止您意外产生费用。
感谢您报告未记录的错误,我们将添加它。我们还将更新错误消息以使其更加清晰。
关于paypal - Venmo API 在支付端点返回未记录的错误 1396,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26662786/