How can I get parameters back from the cancel return url?

bhuether
Contributor
Contributor

Hi,

 

I noticed that upon a cancel return to merchant action, that $_POST is empty. Is there any way to have paypal return data? I am trying to use urls like somesite.com/paypal-return and then just look at returned data to see if I have a purchase, cancel, or cancel return. That is, with a purchase, there will be $_POST data to check. I was hoping with cancels and cancel returns that there would likewise be $_POST data or something.

 

thanks,

 

Brian

Login to Me Too
1 REPLY 1

MTS_Justin
Moderator
Moderator
Hello,

There is no data postback for the "cancel_url", this only works for the "return_url".

Thanks !

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Haven't Found your Answer?

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