Adaptive Payments Pay Request always return 520002

ygor
New Community Member

Hi,

 

My application was working fine for almost 4 years using the AdaptivePayment API, now all transactions are always returning the Internal Error with code 520002. No keys, code or any configuration was changed on the code relative to those calls. Any hints?

Login to Me Too
1 REPLY 1

MTS_Andre
Moderator
Moderator

Hi, there could be few reasons for this error, for example I simulated a PAY with Adaptive Payments and I received an error 520002 when I didn't pass in the header request all the 3 or also 1 missing of the following variables (the values below are just examples):

[1] => X-PAYPAL-SECURITY-PASSWORD: AAAAAAAAA88AA88A is the api_password
[2] => X-PAYPAL-APPLICATION-ID: APP-80A0000000000  is the app_id
[3] => X-PAYPAL-SECURITY-SIGNATURE: AA88aA.nA88A888aa8AA888aaaaaaaAA is the api_signature

 

But, if you still receive this error in these days, would be helpful to see your full request and the "correlation ID" returned in the response to check into the logs.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.