Jump to content

paypal IPN quick question


ohdang888

Recommended Posts

SOOOOO i understand that paypal sends you the email of the buyer to your script that processes and handles it

 

But i'm really confused as to how I connect that purchase with a user in my database. Because what if they don't use the same email they registered with?

 

I'm thinking create unique user purchase tokens that pass to paypal, and they send it back, and then i get the id from there...

 

Any thoughts? Just wanting to get others opinions before i mess with this

 

Thanks

Link to comment
Share on other sites

With PayPal IPN you can send an extra value with say the User's ID number.

When PayPal, does a post back you can grab the User ID sent, then do whatever with it to credit that user account.

 

I've done something like this before, and it's relatively easy, once you get the extra field correct :)

 

You'll have to do some testing with PayPal Sandbox before making anything live.

 

Regards, PaulRyan.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.