How can I get parameters back from the cancel return url?
bhuether
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-24-2019
11:47 PM
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
1 REPLY 1

Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov-14-2019
06:51 AM
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!
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!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Add parameters to custom auto return url? in PayPal Payments Standard
- Redirecting customers to PayPal for payment in PayPal Payments Standard
- PayPal Redirection Issue After Successful Payment in Photobooth Integration in Sandbox Environment
- Android WebViews issue when doing seller onboarding in REST APIs
- cancel_url in /checkoutweb/signup page not working in PayPal Payments Standard