看来最新的REST API只处理美元货币(尝试使用欧元货币,但出现错误“价值目前不受支持”。PAYPAL REST API和EURO货币
是否有人知道它是否即将推出或应该与以前的SDK? 当我很快说,这是2/3个月......
PS:我知道这是不是一个真正的开发问题,但贝宝认为计算器为community forum ...
更新时间: 我已经试过这test sample。
如果我设置:
amount.setCurrency("EUR"); // instead of amount.setCurrency("USD");
我有这样的答案:
com.paypal.exception.HttpErrorException: Error code : 400 with response :
{
"name":"VALIDATION_ERROR",
"details": [ {"field":"transactions[0].amount.currency",
"issue":"Value is not supported at this time"}
],
"message":"Invalid request - see details",
"information_link":"https://developer.paypal.com/docs/api/#VALIDATION_ERROR",
"debug_id":"2aeb5d81964ce"
}
您打算通过什么API调用或请求专门制作货币? – 2013-03-26 17:04:43