PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to receive two IPNs from PayPal

  1. Hi,

    I need to receive from Paypal two ipn
    1. http://wisteriawine.com/?page=gf_paypal_ipn
    2. http://wisteriawine.com/wp-content/plugins/affiliates-paypal/lib/ipn.php.

    No.1 is for recurring payment, and
    No.2 is for another affiliates plugin.

    In my paypal account I can only add 1 IPN url, and the .No1 IPN is set already.

    So now No.2 is not working.

    If I set No2 IPN to my paypal account, the .No1 IPN is not working.

    Isn't there a way to set two IPN to my paypal account?

    I set this to the paypal account, but it was not working.

    ex1(comma separate)
    http://wisteriawine.com/?page=gf_paypal_ipn, http://wisteriawine.com/wp-content/plugins/affiliates-paypal/lib/ipn.php.

    ex1(semicolon separate)
    http://wisteriawine.com/?page=gf_paypal_ipn; http://wisteriawine.com/wp-content/plugins/affiliates-paypal/lib/ipn.php.

    [Reference]
    http://www.gravityhelp.com/forums/topic/ipn-problem

    It looks like the site above is the similar problem I have.
    But I couldn't understand the part:
    "The plugin will send an IPN url with each request. You only need to have *any* IPN URL in the PayPal settings, "

    I would appreciate if you advise me what I should set in MY PayPal settings.

    Thank you in advance.

    Posted 11 years ago on Tuesday January 29, 2013 | Permalink
  2. The Gravity Forms transaction being sent to PayPal will include the IPN URL. You just have to enable IPN in your PayPal settings, and there can be any URL at all there. It will be ignored by any Gravity Forms transaction since the Gravity Forms transaction will include its own IPN URL. We tell you to make the IPN URL at PayPal the one we need, but that's just easier to explain than "put whatever you want in your PayPal settings."

    You can't set two IPN URL in the transaction or at PayPal.

    I would look at using the gform_paypal_post_ipn hook http://www.gravityhelp.com/documentation/page/Gform_paypal_post_ipn to update your affiliate IPN. After receiving a proper IPN response at Gravity Forms, you can hook your code to gform_paypal_post_ipn and send your own IPN to the affiliate URL.

    Posted 11 years ago on Wednesday January 30, 2013 | Permalink