Advice on instant file delivery after Paypal payment using PHP

Discussion in 'PHP' started by ads2help, Nov 8, 2009.

  1. #1
    I posted this in PHP because this is more to coding.

    ------------

    Hi,

    Right now, when a customer pays for a product on my site, I need to be online so that I can add the product to his account.

    Is there any way to run some sql query directly after payment? I tried searching using google but I can't find any solution. Is there any script / guide that actually teach us how to do this?

    Also, is this insecure? I mean can they paid for product, downloaded it then reverse the payment?

    Thank you.
     
    ads2help, Nov 8, 2009 IP
  2. mukunthan

    mukunthan Active Member

    Messages:
    237
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    mukunthan, Nov 8, 2009 IP
  3. tvshock

    tvshock Peon

    Messages:
    102
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3

    thank you. this info is really help me. how can if i use webmoney or something else.
     
    tvshock, Nov 9, 2009 IP
  4. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What cart does your site have to run this?
     
    JAY6390, Nov 9, 2009 IP
  5. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Can I use paypal's "add to cart" button with this IPN feature too?
     
    ads2help, Nov 12, 2009 IP
  6. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #6
    Yes it should but u have do some php scripting there are some php scripts u can use http://www.opendb.net/paypal_ipn.php check that. there are some paypal download shopping carts too
     
    Bohra, Nov 12, 2009 IP