need help logging paypal purchases in my database

Discussion in 'PHP' started by phoenixrayne, May 31, 2008.

  1. #1
    I am using paypal buttons on my site.. and they work fine. However i have another script to write to the database the purchase info and update the account settings after a purchase. Im wondering how to integrate the two so that upon payment verification the other script runs and posts to the database. I know about the IPN but the script i have to post the info contains all the script for each package. Is there a way to make this work? if so how.. or is there something else i need to do that would be better.? thanks in advance for all replies.
     
    phoenixrayne, May 31, 2008 IP
  2. Rob Whisonant

    Rob Whisonant Well-Known Member

    Messages:
    156
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    110
    #2
    You could combine your post script with PayPal IPN code. I believe they have some examples on the PayPal site.

    Re's
    Rob Whisonant
     
    Rob Whisonant, May 31, 2008 IP