Return page buy now variables
KBdev
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
May-28-2018
05:52 AM
I have a simple buy now button with a few options underneath. All I need in my php or asp return page is the value of the drop down, then I can display the message that I want to. In the buy now form I have set the "rm" value to "2" (to switch from GET to POST) with the return url that I want. Can I request.form the os0, os1 etc values in my return page? Do I need to also turn on IPN or PDT? Or can I leave these off? Thank you.
1 REPLY 1
solace2000
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun-22-2018
06:48 PM
Yes, you need to turn on IPN or if you prefer you can use PDT to get the variables in the return URL and display your message accordingly
IPN code samples are here: https://github.com/paypal/ipn-code-samples

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
- Auto Return feature for digital products without using woocommerce? in PayPal Payments Standard
- Add parameters to custom auto return url? in PayPal Payments Standard
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs
- Redirecting customers to PayPal for payment in PayPal Payments Standard
- My form has recently stopped sending the quantity info direct to the paypal checkout page. in PayPal Payments Standard