The Community Forum will no longer be available starting June 30, 2025. Please note that the forum is now closed for new posts and responses, but previous posts will remain accessible for review until June, 30 2025. For comprehensive support options, please visit PayPal.com/HelpCenter
Merchant Technical Support: For technical support and related questions, please visit our Technical Support Help Center or Developer Central
If you want to report illegal content under the EU Digital Services Act, please do so here
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