PayPal POST Variables Returned in Sandbox But Not Live Account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've recently been able to successfully complete a purchase with the PayPal Sandbox and had POST variables available after the purchase, which redirects to a submission form page (which should only be viewable after payment) on payment:
<removed>
I inserted the following code within the "Advanced Variables" section of the button to do this:
return=https://example.com/submit-details-test/
rm=2
custom=alreadyPaid
However, when I attempt to make a live purchase with a real PayPal account with a real payment button, inserting the same code (changing the return URL to reflect my actual site) within the "Advanced Variables", the POST array is empty on return.
It's odd because I didn't need to setup PDT or IPN in the sandbox for the sandbox to work.
(I, at the very least, need that custom variable alreadyPaid to be returned so we can verify that a person has paid before letting them view the form submission page.)
Are there specific settings that must be set in the live PayPal account to use this (or can I not receive POST data back on the return URL, but only through setting up IPN?)?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- payment button error with return variable in PayPal Payments Standard
- Enable billing address return for a sandbox account in Sandbox Environment
- INVALID_RESOURCE_ID in Sandbox Environment
- Enable billing address return for a sandbox account in Sandbox Environment
- Order capture started to return 403 after account type was changed from personal to business in Sandbox Environment