dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: setting up IPN (paypal)

  1. #1
    Join Date
    Jan 2006
    Posts
    1

    setting up IPN (paypal)

    Hi

    I am a bit of a novice at this, but I am trying to install some IPN script (from http://www.web-bureau.com/modules/fr...ipn-script.php) onto my server to implement IPN.

    My problem is that I am not sure how to create the following line in the database, so that the code can find the password from 'products' and 'pid':

    if (strcmp ($payment_status, "Completed") == 0) {
    $qry = "SELECT password FROM products WHERE pid = \"$item_number\" ";
    $result = mysql_query($qry,$db);
    while ($myrow = mysql_fetch_row($result)) { $passwd = $myrow[0]; }

    I assume I have to create a table named products, which I have done, but where do I proceed from there? I am using phpMyAdmin which was already installed on my server.

    Many thanks in advance!

    Ben.

  2. #2
    Join Date
    May 2004
    Location
    Manhattan NY
    Posts
    6,028
    Well that table has to have at least those 2 fields then, password and pid. And don't change the case, keep it the same as the SQL statement

  3. #3
    Join Date
    Oct 2006
    Posts
    6

    Paypal IPN tools

    Do yourself a favour and get Libepal++
    www.libesoft.com

    Check their fascinating tool called DPN. The price is incredible for such
    a good set of tools.

    J

  4. #4
    Join Date
    Oct 2006
    Posts
    1,297
    Hey, jasonrose, to sign up for the first time with a BB system and immediately cross-post the same advertisement three times is a violation of this site's use agreement.

    http://www.webdeveloper.com/forum/sh...d.php?t=110851
    http://www.webdeveloper.com/forum/sh...ad.php?t=92583
    http://www.webdeveloper.com/forum/sh...d.php?t=128489

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles