我尝试以沙盒模式向paypal发出请求:
{
"body": {
"amount": {
"currency": "USD",
"total": 3.15
}
},
"header": {
// this my header
},
"additional_properties": {},
"method": "POST"
}
获得回复:
{
"status": 401,
"duration_time": 592,
"body": {
"message": "Permission denied.",
"information_link": "https://developer.paypal.com/webapps/developer/docs/api/#PERMISSION_DENIED",
"name": "PERMISSION_DENIED",
"debug_id": "206feb0f3855f"
},
"additional_properties": {},
"header": {
"Date": "Wed, 19 Apr 2017 20:50:14 GMT",
"paypal-debug-id": "206feb0f3855f",
"APPLICATION_ID": "APP-80W284485P519543T",
"Content-Language": "*",
"CALLER_ACCT_NUM": "PBL6EFNEJZVTE"
}
}
4月11日这项要求奏效了。但今天我得到了这个错误。源代码未被更改。如何解决?
答案 0 :(得分:0)
这是paypal bug。今天一切正常。