PayPal隐式付款错误580001 [英] PayPal Implicit Payment error 580001
本文介绍了PayPal隐式付款错误580001的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在执行Paypal隐式付款时遇到了一些困难,不幸的是,来自Paypal的错误消息响应中的细节非常有限.
I'm having some difficulty implementing paypal implicit payments and unfortunately there is very limited details in the error message response from paypal.
这是请求:
{
"actionType": "PAY",
"currencyCode": "USD",
"cancelUrl": "http://my_domain.com/cancel_url",
"returnUrl": "http://my_domain.com/return_url",
"requestEnvelope.errorLanguage": "en_US",
"requestEnvelope.detailLevel": "ReturnAll",
"senderEmail": "sender@email.com",
"receiverList.receiver(0).amount": 50,
"receiverList.receiver(0).email": "receiver@email.com"
}
这是我要设置的标题:
"Content-Type", "application/json"
"Accept-Language", "en_US"
"X-PAYPAL-SECURITY-USERID", "username"
"X-PAYPAL-SECURITY-PASSWORD", "pwd"
"X-PAYPAL-SECURITY-SIGNATURE", "sig"
"X-PAYPAL-APPLICATION-ID", "My App id"
"X-PAYPAL-REQUEST-DATA-FORMAT", "JSON"
"X-PAYPAL-RESPONSE-DATA-FORMAT", "JSON"
以下是回复:
{
"responseEnvelope":{
"timestamp":"2013-04-06T12:02:41.011-07:00",
"ack":"Failure",
"correlationId":"3842d361b077d",
"build":"5563463"},"error":[{
"errorId":"580001",
"domain":"PLATFORM",
"subdomain":"Application",
"severity":"Error",
"category":"Application",
"message":"Invalid request: {0}"
}]
}
推荐答案
我只是遇到了完全相同的问题,在任何地方都找不到答案.原来我使用的是GET请求而不是POST.奇怪的是,在他们的文档中找不到errorId 580001.
I just had the exact same problem and couldn't find the answer anywhere. Turns out I was using a GET request instead of POST. It's odd though that the errorId 580001 is nowhere to be found in their docs.
这篇关于PayPal隐式付款错误580001的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文