How to set the return url with multiple parameters in php.
astropage
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Dec-21-2018
05:37 AM
The return url is the location where buyers return to when a payment has been succesfully authorized by PayPal to be able to continue the purchase.
So it has to be the detail page where there're many parameters in the url like below, and at least it is so in my case.
http://xxxxx.com/demo.html?product_id=212&category_id=23&member_id=167
How can I set the url like above at the return url section in php?
$returnURL = "xxxxxxxxxxxxxxxxx"
Is there any way to deal with this in PayPal?
Is there any way to use coding that will bring you right back to where you used to be in the detail page?
Labels:
- Labels:
-
Express Checkout
1 REPLY 1
angelleye
Advisor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec-23-2018
04:23 PM
Typically the return URL would be more simple, and then you would be calling GetExpressCheckoutDetails at that point to obtain all the data you need.
You could also use session variables or temporary db storage to ensure data you need is available that point. That will work better for you than trying to pass all this data around in URL params.
You could also use session variables or temporary db storage to ensure data you need is available that point. That will work better for you than trying to pass all this data around in URL params.
Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
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
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- Hermes with token and mfid query in PayPal Payments Standard
- store credit card token against customer in database in Sandbox Environment
- payments in javascript with custom button in SDKs
- Split payment to multiple merchants? in PayPal Payments Standard