当我们尝试完成PayPal付款时,出现错误。
卷曲网址
https://api.sandbox.paypal.com/v1/payments/payment/PAY-6919774712486433JLP6PPIQ/excute/
HTTP Headers
Content-Type: application\/json","Authorization: Bearer A21AAHreFxxtc86Y_27nsOJp9e"
Data
{"payer_id":"LUQRF5YkjhXG6"}
Error
{
"name": "MALFORMED_REQUEST",
"message": "Method type not supported for this operation",
"information_link": "https:\/\/developer.paypal.com\/webapps\/developer\/docs\/api\/#MALFORMED_REQUEST",
"debug_id": "dd9ba4864e05c"
}
答案 0 :(得分:1)
您的网址中有错字
应为execute
而不是excute
。
使用:https://api.sandbox.paypal.com/v1/payments/payment/PAY-6919774712486433JLP6PPIQ/execute/