New to the community? Welcome! Please read our Community Rules and Guidelines
I am experiencing an issue with retrieving order information from payment after receiving the PDT post on my success page. The same code works in a sandbox environment, but not in a live environment.
1. I receive a post to my success page from PayPal
2. I create a POST request to http://www.paypal.com/cgi-bin/webscr/
3. I specify cmd=_notify-sync&tx=...&at=... data as part of the POST request body (works perfectly in a sandbox environment)
4. I make the request and get back a FAILED response with error code 4002.
I validated the authentication token in my PayPal account, but can't figure out why I am getting 4002 back. When I tried making the same request using Postman, I saw an error the following error:
You have requested an outdated version of PayPal. This error often results from the use of bookmarks.
Can someone help me figure this out? Thanks in advance.
©1999-2020 PayPal, Inc. All rights reserved.