I'm trying to get Paypal to redirect to my website after a transaction and retrieve information about the transaction. So far, Paypal does redirect to the correct location, but the php curl operation that I make back to Paypal afterwards retrieves an error page instead of the SUCCESS/FAIL message I'm expecting:
Sorry — your last action could not be completed
[...]
We are unable to complete your request at this time. Please click Retry or try again later. We apologize for the inconvenience.
Message 3004
I've tried simply having my code print the 'tx' parameter on screen, building my request manually and putting it directly in the browser, ie:
But the same error page described above gets returned.
I'm logged in to my sandbox paypal account, and the 'at' parameter holds the correct payment data transfer identity token associated with my sandbox merchant test account.
Is my request missing anything? I haven't tested it with my actual Paypal account since I don't want any real money exchanges until I know it works.