PayPal IPN Question

Discussion in 'PayPal' started by sebastya, Jul 1, 2006.

  1. #1
    Hey guys,

    I own a dating site and was about to open a pixel site, but in the settings it requirse me to have an IPN set up to receive payment, but I have already setup my IPN for my dating site.

    Has anyone ever come accross this problem before? Does PayPal allow you to have two or more IPNs?

    I'd appreciate anyone's input :) Thanks
     
    sebastya, Jul 1, 2006 IP
  2. PedstersPlanet

    PedstersPlanet Peon

    Messages:
    195
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I found THIS.....
     
    PedstersPlanet, Jul 1, 2006 IP
  3. PedstersPlanet

    PedstersPlanet Peon

    Messages:
    195
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    silly me:

    Delete the default ipn url, and use the above field in your forms.

    HTH
     
    PedstersPlanet, Jul 1, 2006 IP
  4. sebastya

    sebastya Well-Known Member

    Messages:
    2,449
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    138
    #4
    ? i didnt understand ur second post
     
    sebastya, Jul 1, 2006 IP
  5. PedstersPlanet

    PedstersPlanet Peon

    Messages:
    195
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    if you add the notify_url as a hidden form field (or even an url '&' variable), that acts as your IPN url, so you can have different IPN's for one paypal account...
    However, I'm not sure if IPN can use an email address other than your associated default address.
     
    PedstersPlanet, Jul 1, 2006 IP
  6. sebastya

    sebastya Well-Known Member

    Messages:
    2,449
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    138
    #6
    where do i add the notify_url field?
     
    sebastya, Jul 1, 2006 IP
  7. PedstersPlanet

    PedstersPlanet Peon

    Messages:
    195
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    either as a hidden form field:
    <input type="hidden" name="notify_url" value="[b]your ipn script url[/b]">
    Code (markup):
    or as an url variable, for eg.:
    depending on the type of coding you use.
     
    PedstersPlanet, Jul 2, 2006 IP
  8. sebastya

    sebastya Well-Known Member

    Messages:
    2,449
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    138
    #8
    ok thanks, but where does

    <input type="hidden" name="notify_url" value="your ipn script url">

    go?
     
    sebastya, Jul 2, 2006 IP
  9. PedstersPlanet

    PedstersPlanet Peon

    Messages:
    195
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #9
    in your form, where your clients pay....or dont you have access to the script(s) code?
     
    PedstersPlanet, Jul 2, 2006 IP
  10. sebastya

    sebastya Well-Known Member

    Messages:
    2,449
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    138
    #10
    from what i understand, if the script tells me to set "pay.php" as my IPN, all i have to do is edit "pay.php" and add that hidden field??
     
    sebastya, Jul 2, 2006 IP
  11. PedstersPlanet

    PedstersPlanet Peon

    Messages:
    195
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #11
    From what I understand, the script doesnt allow the notify_url as default. I dont know if youre knowledgable on PHP, but if the code is't encoded, you have to go through it and see where the payment class/function is, then add that:
    <input type="hidden" name="notify_url" value="http://your.com/pay.php">
    Code (markup):
    to the form...

    What script is it may I ask? By all means continue this in PM.
     
    PedstersPlanet, Jul 3, 2006 IP