Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    E-mail/Database/Paypal Combination

    Hi everyone. I'm building a website for a friends (he's starting his own business). What he wants is, someone to visit his website, purchase something they like. When they pay through paypal, he wants the website to send them an e-mail with a password that is taken from a database (SQL) on the website. They will then be able to go to the website, enter the password and retrieve whatever they bought.

    I'm nowhere near proficient in this stuff, so I was wondering if there is anyway to do this, and if so, would anyone be able to help me in providing or atleast pointing me in the right direction of retrieving the code.

    I greatly appreciate any and all help. Thank you

  • #2
    Senior Coder
    Join Date
    Dec 2002
    Location
    Arlington, Texas USA
    Posts
    1,072
    Thanks
    4
    Thanked 8 Times in 8 Posts
    Join the Paypal developers network. There is code samples there that will handle the talking between paypal and your webserver. When you get the response from paypal, and if it shows that the transaction went through, then you can have the same script query the db and send the password.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •