Pro Sites: Paypal IPN URL need to be entered where?

Hi WPMUDEV

In pro sites it is written the following:

To use PayPal Express Checkout or Pro you must manually turn on IPN notifications and enter your IPN url (https://my.domain/wp-admin/admin-ajax.php?action=psts_pypl_ipn) in your PayPal profile (you must also do this in your sandbox account when testing).

Where does this URL need to be entered exactly?

---
At PM-Memebership Pro Plugin it is written just the opposite:

This URL is passed to PayPal for all new charges and subscriptions. You SHOULD NOT set this in your PayPal account settings.
https://my.domain/wp-admin/admin-ajax.php?action=ipnhandler

So if you are using in your multisite both plugins they would conflict with each other. Right?

Kind regards

Andi

  • Rupok
    • Support Ninja

    Hi Andi, hope you had a wonderful day.

    Where does this URL need to be entered exactly?

    You can get idea regarding this from here: https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNIntro/

    As you need exact info, I've pinged our plugin developer as he can give you best idea regarding this. Please keep in mind, our developers work round the clock and they have to deal with lots of critical issues and other things. So it may take a little while for them to check this and provide a feedback.

    if you are using in your multisite both plugins they would conflict with each other. Right?

    Nop. As both plugins have their own payment processing system, technically they shouldn't conflict at all.

    Have a nice day. Cheers!
    Rupok

  • Andi
    • The Exporter

    This is what I read already Rupok but can't get it working

    On Paypal we have ONE field for update the IPN Settigs but we have lots of sites and lots of URL!

    Also when I enter the URL in the IPN field on Paypal which is here:
    https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-ipn-notify

    than we receive an error message!
    The payment wth paidmembershipPro is working just perfectly and we don't need to enter the url as it gets dynamically updated - which would be useful to especially on a multisite :wink: with many domains. - which means different URLs.

    Thanks

    Andi

  • Kasia Swiderska
    • Support nomad

    Hello Scott,

    PayPal only allows one IPN URL per one account. In theory you cannot use one paypal account for getting recurring payments from different sites (domains).

    You could try to use this solution https://codeseekah.com/2012/02/11/how-to-setup-multiple-ipn-receivers-in-paypal

    Also when I enter the URL in the IPN field on Paypal which is here:
    https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-ipn-notify

    than we receive an error message!

    What error are you getting?

    kind regards,
    Kasia

  • Andi
    • The Exporter

    Hi Kasia

    I not really understand the purpose of those IPNs

    Edit Instant Payment Notification (IPN) settings
    PayPal sends IPN messages to the URL that you specify below.

    To start receiving IPN messages, enter the notification URL and select Receive IPN messages below. To temporarily stop receiving IPN messages, select Do not receive IPN messages below. PayPal continues to generate and store IPN messages until you select Receive IPN messages again (or turn off IPN).

    The problem is we have multiple sites but only one paypal account - I think thi is also with envato etc the case where they manage all their themeforest etc stuff from several domains.

    If this iPN url is only a notification with no further purpose so that WE as receiver know that something was getting in than it could ba any url which would be capable to store the messages.

    In that case we could use only one URL from one of all those multisites we have running.

    It does not make sense to setup multiple Paypal account as all sites belong to the same owner / company and there is also only one kind of accounting. In Paid Membership Pro it is working without that headache on all sites and actually it is advised NOT to enter the ipn URL. (which is just the opposite of the advise from pro sites - which makes things very confusing!)

    Would it work if we use only one IPN and all IPN Notifications get send from all domains ( about 10 - 15) to Domain number 1, which has actually its own system and therefore no connection to all other systems.

    example:
    Domain 14 customer pays -> Paypal sends IPN to Domain 1
    Domain 6 customer pays -> Paypal sends IPN to Domain 1
    ...

    Is this working?

    Andi

  • Andi
    • The Exporter

    Hi WPMUDEV Developer Team

    I’m pretty sure eBay uses dynamic IPN using the notify_url field when a purchase is made, which overrides the value in PayPal IPN URL. Hope this makes sense, let me know if you figure it out.

    I think this is the key which would need to be changed to make payments in prosites much easier to setup.

    Similar to Paid Membership Pro it would be much better to have dynamic IPN which override the values in PayPal IPN URL.

    This would need to be done by the developer of Modules like prosite, affiliate, membership2, marketplace etc. which is WPMUDEV.

    This would solve a lot of headaches and questions instantly as in all extensions mentioned there would be no need anymore to setup an IPN in Paypal and it could be used on multiple sites instantly.

    What do you think?

    Andi

  • Nithin
    • Support Wizard

    Hi Andi,

    Hope you are doing good today. :slight_smile:

    Thank you for your suggestions, the solution to such workaround would be IPN forwarder script, as mentioned in this thread, could you please check this thread, and see whether it helps in your case:
    https://premium.wpmudev.org/forums/topic/multiples-ipn-dynamically-setting-the-notification-url

    This thread should help in giving you an idea regarding this, and how multiple IPN's handled.

    I hope this helps. Have a nice day. :slight_smile:

    Kind Regards,
    Nithin

  • Andi
    • The Exporter

    Hi Nithin

    It is still a headache to setup paypal multiple ipn,s and things could be solved more easily to provide a normal way to add paypal as payment gateway.

    Any way solutions have been provided above - very hard to do and cumbersome but they are solutions which might work.

    I set the topic to solved!

    SOLUTION:
    Have a look in the solution provided by Kasia and Nithin
    Thanks
    Andi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.