Dynamic IPN (Paypal) with multiple plugins of WPMUDEV in many Multisites

Hi

I read now many - most quite old posts - about how to setup IPN
https://premium.wpmudev.org/forums/topic/multiples-ipn-dynamically-setting-the-notification-url (2011)

and
https://premium.wpmudev.org/forums/topic/paypal-ipn-on-multiple-domains-and-only-1-paypal-account (2015)

and external
http://codeseekah.com/2012/02/11/how-to-setup-multiple-ipn-receivers-in-paypal/ (2012-2017)

and

https://github.com/qarizma/paypal-octa-ipn/blob/master/broadcaster.php (10/2016)
and

https://www.paypal-community.com/t5/Selling-on-your-website/Setting-up-multiple-IPN-s/m-p/744225#M4534

Which again points to the broadcaster script.

Why hasn't that script not already been integrated into a plugin which could then be installed in a Master Site, which then distributes its messages to all other sites - as far as I could see only 8 sites would be possible, so how to handle if you have a multiple of them with your company?

Paypal allows only one PayPal account and i.e. 20 IPN messages would need to be broadcast. How is that possible if only 8 can be managed by PayPal like in the Octa script.

Another problem might occur as PHP7 is often different from PHP5.

So I would say that something like that here at Zappier:
https://zapier.com/help/how-use-multiple-ipns-paypal/

Integrated into membership2 and all other plugins by wp mu dev i.e. pro sites, market press etc. which use PayPal payments would be a really great help for all of us here in the community.

Perhaps someone would write a nice tutorial way on how to setup 10 different multi-sites, which each have pro sites enabled as well as course press, market press, affiliates, jobs&experts, membership2, events+, classifieds, directory, etc.

Some of those use market press for their payments and selling of i.e. courses, others have their own payment section like pro sites and membership2 and market press. So all of them would need different IPNs, some inside one Multisite and one domain name, some with a different domain name in the same multisite and again some others in other multisite or i.e. other programs like WHMCS. How to handle this with the broadcast script in PHP7?

Or how to extend the Octa script so that also more than only 8 IPNs could be handled.

Thanks a lot

Andi

    Predrag Dubajic

    Hi Andi,

    I'm afraid that this goes bit beyond me and I will forward your thread to our developers so they can consider adding a solution for this in future but for now I'm afraid there's no easy way to take care of this.

    Octa script limit is based on the number of emails that can be added in PayPal so I don't think that there's a solution to expand it in order to increase the number it can handle.

    I've moved this thread in features and feedback section so our devs can check it out and consider what would be best approach to take care of this in future.

    Best regards,
    Predrag