PayPal POST Variables Returned in Sandbox But Not Live Account

plantprogramm3r
Contributor
Contributor

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?)?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.