You could check the HTTP REFERER server variable and only allow access to the page if they are sent from a paypal.com address.
What I do with Paypal is this: I have Paypal set up to do what's called a SILENT BACKGROUND POST. In essence, when Paypal receives a payment on my behalf, they post the details to a web page I have set up (receive-paypal.asp). This includes the username, amount, and other details I can use to verify this user. Store this in a database when you receive it, and you can match it up with the user's account.
Details on how to do this are in the Paypal developer's guide. It's been a few years since I set it up, so I don't remember the details offhand, but if enough people are interested in this, I could make a lesson out of it. (Sound up here!)
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Active Server Pages Forum.