Require login to my website before proceeding through PayPal payment

jasonku
Contributor
Contributor

On my website I'd like to list items for sale, but you must first be a registered user of my website (which would be free) and logged in before you can "buy now".

 

So the page with the items would be public, but the buttons would say "login/register" if they are not logged in. Once they are logged in they will see "buy now". When I pass them on to PayPal and then get PayPal's response, how do I make sure the visitor was logged in and in turn associate the response from PayPal to that user in my DB? Can I pass a variable (token/hash tag) to PayPal that I can store until the payment is completed and I can match up against the PayPal response?

 

Is there any specific manner of going about this I need to be aware of if I wasn't requiring my visitors to be logged in to purchase?

 

 

Thanks in advance!

Jason

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.