0
自从3月份进行更新以来,我遇到了一个paypal购物车的问题(有点晚了,但该网站还没有使用,我们现在才发现它)。Paypal购物车AMOUNT_ERROR
我已经选中了这个问题,但它并没有解决这个问题的一个购物车(Paypal : hosted button payments fail with code=AMOUNT_ERROR)
我们发送包含通过一个插件叫做neo.js请求数据的对象,只要工作正常我们知道。 这是我们发送给paypal作为js对象的数据。
{
amount_1: 10.01,
business: "[email protected]",
cancel_return: "https://dev.domain.com",
charset: "utf-8",
cmd: "_cart",
currency_code: "US",
custom: "username",
item_name_1: "$10 item",
item_number_1: "1",
no_shipping: 1,
notify_url: "https://dev.domain.com/callback/paypal.php",
quantity_1: 1,
return: "https://dev.domain.com",
upload: 1
}
它必须做的事情的金额,但使用一个,而不是。但这只会在屏幕上给出正常的错误信息,表明格式不正确。 我们已经尝试了多种东西,包括美元符号并将其设为字符串,但似乎没有任何工作。