cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Paypal Adaptive Payments Error 520002 Sandbox

znem
Contributor
Contributor

Hi Community,

 

I try to send a sandbox request to adaptive payments api. I am getting error 520002 (internal error) with no further explanation. 

 

I can not find the problem. Thanks for any help!

 

Request details:

 

Body

{
"actionType": "PAY",
"currencyCode": "EUR",
"receiverList": {
"receiver": [
{
"amount": "10",
"email": "valid sandbox buyer email",
"primary": True
},
{
"amount": "10",
"email": "another valid sandbox buyer email",
"primary": False
}
]
},
"returnUrl": "https://www.mydomain.com",
"cancelUrl": "https://www.mydomain.com",
"feesPayer": "PRIMARYRECEIVER",
"trackingId": "asdfgh",
"requestEnvelope": {
"errorLanguage": "en_US",
"detailLevel": "ReturnAll"
}
}

 

Header

X-PAYPAL-SECURITY-USERID: XXXXX-facilitator_api1.XXXXXXX.de
X-PAYPAL-SECURITY-PASSWORD: 7P8E4HE2XXXXXXX
X-PAYPAL-SECURITY-SIGNATURE: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
X-PAYPAL-REQUEST-DATA-FORMAT: JSON
X-PAYPAL-RESPONSE-DATA-FORMAT: NV
X-PAYPAL-RESPONSE-APPLICATION-ID: APP-80W284485P519543T

 

Response

[responseEnvelope_timestamp] => 2017-08-03T05:19:40.045-07:00
[responseEnvelope_ack] => Failure
[responseEnvelope_correlationId] => 98a4ca93e329b
[responseEnvelope_build] => 37103655
[error(0)_errorId] => 520002
[error(0)_domain] => PLATFORM
[error(0)_subdomain] => Application
[error(0)_severity] => Error
[error(0)_category] => Application
[error(0)_message] => Internal Error

 

 

 

Login to Me Too
Who Me Too'd this topic