PayPal未来付款INTERNAL_SERVICE_ERROR执行付款时

时间:2016-05-03 11:02:57

标签: ruby-on-rails ruby-on-rails-4 paypal-sandbox paypal-rest-sdk

我正在使用Rails 4.2,Ruby 2.2,PayPal-Ruby-SDK ,PayPal沙箱

我可以创建付款,但状态为pending。 当我尝试ti execute时(根据文档),我收到错误

INTERNAL_SERVICE_ERROR

REQUEST: Request[post]: https://api.sandbox.paypal.com/v1/payments/payment/PAY-8KG44388FJ2409934K4Q4TYY/execute Request.body={"payer_id":"2"} request.header={"Authorization"=>"Bearer A101.pMlaF6XYq42QPcr-N6cIlwQfyeJNiNwLG6XPMsthrRT3lQ-ENCCIv1X-kFdp2C3_.7s4U_X9jF2hfHtJ-bKPzv-bbmDe", "Content-Type"=>"application/json", "User-Agent"=>"PayPalSDK/PayPal-Ruby-SDK 1.4.4 (paypal-sdk-core 1.4.4; ruby 2.2.4p230-x86_64-linux;OpenSSL 1.0.1f 6 Jan 2014)", "PayPal-Request-Id"=>"9187f64f-bb31-43c3-878c-3b10f5bd9616"}

RESPONSE: Response[400]: Bad Request, Duration: 0.917s Response.body={"name":"INTERNAL_SERVICE_ERROR","message":"An internal service error has occurred","information_link":"https://developer.paypal.com/docs/api/#INTERNAL_SERVICE_ERROR","debug_id":"92f7c262ba80a"} Response.header={"date"=>["Tue, 03 May 2016 10:36:46 GMT"], "server"=>["Apache"], "proxy_server_info"=>["host=slcsbplatformapiserv3002.slc.paypal.com;threadId=410"], "paypal-debug-id"=>["92f7c262ba80a", "92f7c262ba80a"], "correlation-id"=>["92f7c262ba80a"], "content-language"=>["*"], "connection"=>["close", "close"], "set-cookie"=>["X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dplatformapiserv%26TIME%3D1048520791%26HTTP_X_PP_AZ_LOCATOR%3D; Expires=Tue, 03 May 2016 11:06:46 GMT; domain=.paypal.com; path=/; Secure; HttpOnly", "X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT"], "vary"=>["Authorization"], "content-length"=>["194"], "content-type"=>["application/json"]}

我试图执行它几天但结果相同。

我写过2回复PayPal技术支持,但我没有得到任何答案。

也许有人知道发生了什么? 谢谢!

0 个答案:

没有答案