Showing results for 
Search instead for 
Did you mean: 

PayPal POST Variables Returned in Sandbox But Not Live Account

Posted on

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:




I inserted the following code within the "Advanced Variables" section of the button to do this:






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.