Passing variables to PayPal 'Thank You' Page

Discussion in 'PHP' started by mmelen, Nov 3, 2010.

  1. #1
    mmelen, Nov 3, 2010 IP
  2. AtomicPages

    AtomicPages Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To do this, you'll need to use paypal ipn (instant payment notification). There's lots of tutorials on it all around the internet but it can be a little tricky get working right. Basically whenever somebody makes a payment, paypal will run a script on your site (and pass you a lot of information about the specific transaction) that you can use the update a database or something with their information. So then your website already has all their info when they come back to the page.
     
    AtomicPages, Nov 3, 2010 IP
  3. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #3
    I recommend using the express checkout method. It is the only way to guarantee the visitor ends up back on your site to complete the process.
     
    jestep, Nov 4, 2010 IP