Correct IPN URL and Plugin Options

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Gateways Paypal Standard Correct IPN URL and Plugin Options

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #71211
    Thomas Ulbricht
    Participant

      Hello Olly,

      on your help page here : https://www.wp-pizza.com/paypal-gateway-extension/ under “How to enable IPN in your paypal account” it says : Note: the above screenhots still show the IPN as being “http://www.yourdomain.com/wp-content/plugins/wppizza-gateway-paypal/ipn/ipn.php”. Please ignore this if your version is 5.2+. From 5.2 onwards it should be http://www.yourdomain.com/?wppizza-listener=paypalipn as outlined above

      My Website:
      WP Pizza PLugin: 3.19.7.2
      WPPizza Gateway Paypal: 5.4

      Now in the Backend of 5.4. it says : (your actual ipn url referred to as http://yourdomain.com/wp-contents/… in the guide is: https://xxxxxxxxx.de/kassel-nord/wp-content/plugins/wppizza-gateway-paypal//ipn/ipn.php )

      1. What is now the correct URL? The one in the Backend or http://xxxxxxxxx.de/kassel-nord/?wppizza-listener=paypal
      2. IF the first one is correct the is a // – is this a typo? So should it be:
      2a: https://xxxxxxxxx.de/kassel-nord/wp-content/plugins/wppizza-gateway-paypal//ipn/ipn.php
      or
      2b: https://xxxxxxxxx.de/kassel-nord/wp-content/plugins/wppizza-gateway-paypal/ipn/ipn.php

      3. In an older version of the PayPal Plugin there were more options like “Send non verified transactions to admin email”, “Text to display when order has been cancelled” or “Text while processing Order” …. what happened to these? Are these not needed any more?

      Thanks for your help and the clarification on this! 🙂

      Greetings,
      Thomas

      #71214
      Olly
      Admin & Mod

        Any references to ‘…../plugins/wppizza-gateway-paypal//ipn/ipn.php …’ in the plugin – if using v5.4 – are old and wrong and I’ll need to take them out to avoid confusion (the double backslash would not have caused any issues either way and is just a typo). Sorry about that.

        For v5.4 + The correct webhook url is

        http[s]://[your-domain]/?wppizza-listener=paypalipn (note the ‘ipn’ at the end)

        (NOT http://xxxxxxxxx.de/kassel-nord/?wppizza-listener=paypal)

        Depending on your exact settings, you may not even have to set that in your paypal account , but it’ll be safer to do this anyway

        Hope that helps

        #71215
        Olly
        Admin & Mod

          >…. what happened to these
          They are not needed as now globally implemented for all gateways and basically automatic

          #71216
          Thomas Ulbricht
          Participant

            Hello Olly,

            thank you for the fast reply!

            #71220
            Thomas Ulbricht
            Participant
              This reply has been marked as private.
              #71222
              Olly
              Admin & Mod

                the 405 is fine here – it’s just old documentation that has been amended over the years as paypal changed their integrations.
                Note to self: I need to update this sooner rather than later to avoid further confusions

                (the 405 relates to the fact nothing is being posted to this url when you go there directly in your browser, whereas an ipn response will – and must have – post data)

                I’ll see if I can make this more elegant too if one simply wants to see if this script is working without actually sending any data.

                At the end of the day what really counts is this:
                Set the mode in the paypal plugin to test and make a test. if it works it’s all good , if not check the debug.log
                If it works in test , it will work in live (as it’s the same) provided you are using the right credentials – i.e email address and/or REST credentials

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.