1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Fixed PayPal.php - works now!!!

Discussion in 'Optigold ISP' started by Mia, Aug 2, 2007.

  1. siteflip

    siteflip Member

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #21
    Excellent work! I am not using optigold at the moment but it's a good script to have.
    Very much appreciated !
    SEMrush
     
    siteflip, Nov 20, 2007 IP
    SEMrush
  2. Tim420

    Tim420 Peon

    Messages:
    142
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Good work Mia
     
    Tim420, Nov 21, 2007 IP
  3. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #23
    Thank you.. One thing to keep in mind is that you MUST have the paypal email address of the account holder in the override email section for this to work.. If you do not, or you have a different email address other than the one used making the payment, the IPN injection will fail.. You'll still get the payment, it just will not be entered in OG...
     
    Mia, Nov 21, 2007 IP
  4. amosalf

    amosalf Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #24
    thanks, I have been looking for this everywhere.
     
    amosalf, Feb 29, 2008 IP
  5. jonimontana

    jonimontana Well-Known Member

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #25
    tnx , good script.
     
    jonimontana, Mar 1, 2008 IP
  6. nastynappy

    nastynappy Banned

    Messages:
    499
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #26
    what script is this?
    paypal IPN ??
    can you please make it to add a query to mysql if payment is verified???
    the query should be according to this example:
    if (isset($_POST['submit'])) {
    mysql_query("insert into links (`linkname`, `linkurl`,`paid`) values ('test', 'http://test.com', 'n')");
    // do the IPN script
    if(VERIFIED) {
    mysql_query("update table links set paid = 'y'");
    }
    }
    now, i know my code works, but ... how will it know which row to update?? i mean how will it know which site's payment has been verified just now??

    if you can help me, then ill be really glad

    Thanks
     
    nastynappy, Mar 2, 2008 IP
  7. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #27
    The script was provided by Shawn originally I believe, for OG.. It never worked. If you want that code added, why not ad it yourself?
     
    Mia, Mar 3, 2008 IP
  8. nastynappy

    nastynappy Banned

    Messages:
    499
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #28
    i cant add it.. cant u help me ?
     
    nastynappy, Mar 7, 2008 IP