Multiple Products - One PayPal IPN

8 replies
Currently, I have several products ready to go using DAP, JVZoo and PayPal.

What I noticed is that PayPal has only one setting (web site) for the IPN. I just cannot imagine that if someone has 10 products that they need 10 separate PayPal accounts.

So...

How does one, using one PayPal account/IPN, allow people to buy from multiple sites? Thanks!
#ipn #multiple #paypal #products
  • Profile picture of the author FredBliss
    Hi Bryan,

    Your paypal payment form should allow you to set additional fields for Paypal, and of those is "ipn_notification_url" which can be used to set that value for each transaction. You should look for a place to set that for each paypal checkout you have, per-site, if you have multiple sites.

    It is explained on page 62 of the IPN pdf: https://cms.paypal.com/cms_content/U...r/IPNGuide.pdf

    Code Samples:
    https://www.x.com/developers/PayPal/...-sample/216623

    And the general landing for IPN: https://www.paypal.com/ipn/

    Questions? Ask away. HTH!

    Fred
    {{ DiscussionBoard.errors[6610738].message }}
    • Profile picture of the author ALicenseToCode
      You can set your IPN Notification URL to a separate URL in your own code using the advice above.

      However I handle my IPN's all through a single notification url so I can keep all of my payment stuff processed in one spot and then I push out all the relevant transaction information to the right database from there. This keeps my development times down as I don't have multiple copies of certain parts of the code across my sites, stuff like verifying and logging my transactions is all just done once and logged in a central database.

      You can set this up with your host as long as all your sites and hosted with the same host or you configure your server for remote database connections (Although this is a really bad idea if you don't know exactly what you're doing).

      Hope this gives you a good perspective on your options for this situation!
      {{ DiscussionBoard.errors[6612852].message }}
      • Profile picture of the author John Ayling
        Originally Posted by ALicenseToCode View Post

        You can set your IPN Notification URL to a separate URL in your own code using the advice above.

        However I handle my IPN's all through a single notification url so I can keep all of my payment stuff processed in one spot and then I push out all the relevant transaction information to the right database from there. This keeps my development times down as I don't have multiple copies of certain parts of the code across my sites, stuff like verifying and logging my transactions is all just done once and logged in a central database.

        You can set this up with your host as long as all your sites and hosted with the same host or you configure your server for remote database connections (Although this is a really bad idea if you don't know exactly what you're doing).

        Hope this gives you a good perspective on your options for this situation!
        That's great advice to keep all processing in the one location - thanks ALicenseToCode
        Signature
        Software Marketing & Licensing System for WordPress Plugins, Themes & .NET Software
        >> 72 Hour Special <<
        {{ DiscussionBoard.errors[6623349].message }}
  • Profile picture of the author CodeShack
    exactly as above - you do only need one ipn handler - for many prodicts and as many email addresses as you have registered with paypal.

    you use the parameters passed in the ipn transaction to determine the product sold, customer info, amount paid etc

    Cheers,
    {{ DiscussionBoard.errors[6612729].message }}
  • Profile picture of the author Bryan Toder
    Yeah, it's a bit complicated when using JVZoo, though. I may have to drop them as the affiliate company for this.
    {{ DiscussionBoard.errors[6630511].message }}
  • Profile picture of the author TopicSpan
    Another way of doing this is to have a rebroadcaster for the IPN call. In other words, every IPN hits a single destination (say, whateverdomain.com/notify.php), and that rebroadcasts it to your cart IPN or affiliate IPN based on certain criteria. This is not dissimilar to what ALicenseToCode suggested.

    Here is a code snippet that should get you kick-started: How To Setup Multiple IPN Receivers in PayPal
    Signature
    Don't lose users!
    Grab our full-page UltraCache system that instantly speeds up any PHP website!
    {{ DiscussionBoard.errors[6630901].message }}
  • Profile picture of the author ravijayagopal
    Hi Bryan,

    We have a plugin called "IPNRedirect" that does exactly what you're asking for: The ability to share one IPN URL among several apps.

    See http://wickedcoolplugins.com/the-plugins/ipn-redirect/

    - Ravi Jayagopal

    Originally Posted by Bryan Toder View Post

    Currently, I have several products ready to go using DAP, JVZoo and PayPal.

    What I noticed is that PayPal has only one setting (web site) for the IPN. I just cannot imagine that if someone has 10 products that they need 10 separate PayPal accounts.

    So...

    How does one, using one PayPal account/IPN, allow people to buy from multiple sites? Thanks!
    {{ DiscussionBoard.errors[6644760].message }}
  • Profile picture of the author Jason Anderson
    There is also a product called SonicIPN on JVZoo. Just Google Sonicipn.
    Signature

    Jason Anderson
    Promotional Video Production - Learn how to get a FREE Custom Video with Professional Voice Over Every Month

    {{ DiscussionBoard.errors[8384021].message }}

Trending Topics