Hi, I'm setting up a donation button using PayPal.
I need the donator to provide a recipient e-mail address to send an e-card to after they donate. I talked to paypal and they said I couldn't do it on the paypal site since I can't alter the pages...etc
Is there a way to see what page someone is linked from? Say I setup the return URL to goto http://www.example.com/return.php, can I verify they came from paypal instead of just typing in the url directly? Or is there a way to pull a variable from paypal when they're re-directed to verify they came from paypal?
Thanks!
Paypal return URL
Moderator: General Moderators
- The_Anomaly
- Forum Contributor
- Posts: 196
- Joined: Fri Aug 08, 2008 4:56 pm
- Location: Tirana, Albania
Re: Paypal return URL
I haven't used it myself, but check out getenv() and CGI Environmental variables--specifically HTTP_REFERER. Seems to be what you're looking for.