Paypal IPN for specific email address

Discussion in 'PHP' started by ajandersen, Feb 24, 2007.

  1. #1
    I have a business that sells computer software. When they order, I have IPN set up to create a registration code and send them an email. The only problem is when ANYONE sends me a payment, even if it is unrelated to my product, they will also get an email with a registration code!

    Is there anyway to let people send you payment w/o kicking off the IPN? Maybe by setting up a different email address on that paypal account that doesn't use the IPN?

    What do you guys do to get around this?
     
    ajandersen, Feb 24, 2007 IP
  2. papa_face

    papa_face Notable Member

    Messages:
    2,237
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    285
    #2
    I have this problem aswell, I dont think there is a way at the moment to avoid it.
     
    papa_face, Feb 24, 2007 IP
  3. keiths

    keiths Peon

    Messages:
    109
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Create a product ID for the product that you are selling.

    Then in the ipn PHP file, check for the product id before sending the email. It'll still run the IPN script but if you check for the product id, it won't send the email unless it's the correct one.
     
    keiths, Feb 25, 2007 IP
  4. ajandersen

    ajandersen Active Member

    Messages:
    532
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Thanks! That works perfectly!
     
    ajandersen, Mar 2, 2007 IP
  5. SilkySmooth

    SilkySmooth Well-Known Member

    Messages:
    1,583
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    180
    #5
    Just in case others don't understand, I have written a guide on how to run multiple item sales through a single PayPal IPN system.

    Take a look at my blog: PayPal Integration Guide

    HTH
     
    SilkySmooth, Mar 2, 2007 IP