直到最近,我对PayPal REST API Sandbox没有任何问题。我正在发送授权书。它失败。但仍然创建了授权!
这是我发送的JSON:
{"intent":"authorize","payer":{"payment_method":"credit_card","funding_instruments":[{"credit_card":{"number":"4111111111111111","type":"visa","expire_month":1,"expire_year":2016,"cvv2":"123","billing_address":{"line1":"1234 Bobby Lane","city":"Lawton","country_code":"US","postal_code":"73170","state":"OK"}}}]},"transactions":[{"amount":{"currency":"USD","total":"286.35","details":{"shipping":"0","subtotal":"286.35","tax":"0"}},"description":"This is the payment transaction description."}]}
以下是回复:
{"name":"INTERNAL_SERVICE_ERROR","message":"An internal service error has occurred","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#INTERNAL_SERVICE_ERROR","debug_id":"21a877318e6e6"}