Return URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a return URL set up and working. It will update my database with the sold item so that it is no longer available to sell (via php/mySQL). I need to validate that the visitor came from the paypal site and completed the payment. I have had instances where the page gets hit, but nothing is sold. Not sure if this is a spider crawling or someone hitting the page.
The return url is sold.php?item=3
3 would be the item number that sold and the status of that item gets changed from available to sold.
I was trying to use the referring URL, but that comes up as blank in php.
So, now I have to manually update the status of any sold item.
Any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using PayPal's IPN feature?
https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/ipnguide.pdf
Also, you may want to checkout the Developer Forum for help and/or suggestions:
http://stackoverflow.com/questions/tagged/paypal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How long does it take for available credit to restore when a customer returns or cancel a purchase? in About Payments (Archive)
- Close Account - Stupid negative balance in About Payments (Archive)
- Auto-return problem in About Business (Archive)
- TRYING TO ISSUE REFUND-NOTHING IS WORKING in About Payments (Archive)
- IPN not working? in About Settings (Archive)