2 IPN in a button, is it working ?

Ezellar
Contributor
Contributor

Hi everybody.

 

I need to ping 2 IPN when someone buys with Paypal :

1- Clickfunnels so that people get their stuff

2- Quaderno so that it creates the invoice

 

As I use only buttons in Clickfunnels, i though I could put both IPN in the "advanced variables" part like this :

notify_url=https://api.clickfunnels.com/....
notify_url=https://uruk-8517.quadernoapp.com/...

 

with a return between. At the first sell, quaderno has been pinged, but no clickfunnels.

 

Should it work or not ?

 

Tx in advance

Jerome

Login to Me Too
3 REPLIES 3

MTS_Andre
Moderator
Moderator

Hi, don't think it will work as the system will not know which of the two IPN to trigger.

 

If you want to use 2 different IPNs you should eventually create a logic that will pass dynamically the notify url varaible for the IPN.

Login to Me Too

Ezellar
Contributor
Contributor

Thank you. I'm not sure to really understand what you mean by "create a logic".

 

 So i have another question :

 

If I set the button IPN to one side (like CF) and the global IPN to the invoice (Quadaro), will both IPN be called or just the one in the button ?

 

Jerome

Login to Me Too

angelleye
Advisor
Advisor

PayPal's system is only going to trigger one IPN URL.  What you could do is choose one of your IPN URLs to act as a primary / catch-all URL.  Then from that URL you could POST the same IPN data out to as many additional URLs as you want.

 

Here is an article where I've outlined how to do this with PHP.  If you happen to be working with WordPress then you might be interested in this PayPal IPN for WordPress plugin, which then has an IPN Forwarder extension available that would handle the IPN code logic for you to get this done quickly and easily.

 

If you're not working with PHP at all then the same procedure could be applied with whatever language you're coding in.

 

 

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.