Skip to content Skip to sidebar Skip to footer

Adaptive Payments Pay Api Error 580001

I'm making a PAY request to the paypal adaptive payments API in python and getting a generic error id 580001 with no additional information. headers = { # API credenti

Solution 1:

Figured it out like ten minutes after posting. Typical.

I specified the request data format as JSON, but then was url encoding the request data. Changing

payload = urllib.urlencode(payload)

to

import cjson
payload = cjson.encode(payload)

works! Too bad paypal doesn't return any informative error message.


Post a Comment for "Adaptive Payments Pay Api Error 580001"