Olly

Forum Replies Created

Viewing 20 posts - 21 through 40 (of 4,469 total)
  • Author
    Posts
  • in reply to: PayPal error #71301
    Olly
    Admin & Mod

      so what does your debug.log say on that site ?

      in reply to: Post Code and WinOrder – missing options / values #71298
      Olly
      Admin & Mod

        I cannot answer that as I know nothing about winorder
        All I do know is that options needs to be indexed

        in reply to: Post Code and WinOrder – missing options / values #71296
        Olly
        Admin & Mod

          >Could this caused it?
          that’s the wrong way to look at it as it happens.

          Your change of postcodes actually fixed the error of the way the json is generated
          (without actual access to your setup it’s admittedly just an educated guess though but I’m 99% sure)

          >Hmmm the Jason file could be Created by the Winorder WPpizza Plugin.
          That’s very much likely and the problem is that it’s wrong the way it is generated and not accounting for / ignoring indexes

          >So the WInOrder Ssupport says it must be something server side
          If my suspicions are correct than “Yes” in so far that it’s server side, but it’s still their issue

          In other words. Your update /change of the postcodes fixed the symptoms but not the cause and it will happen again unless the json generated accounts for indexes correctly

          in reply to: Correct IPN URL and Plugin Options #71294
          Olly
          Admin & Mod

            FYI: I’ve tidied up the docs somewhat now (and added/amended some things in the plugin)
            PayPal Docs
            Hopefully this will make things clearer now.

            The troubleshooting doc is still a big mess with all these things added over the years and I need to get to that at some point. However, I would hope the main docs will require less troubleshooting afterwards in the first place (unless paypal messes things up their end – wouldn’t be the first time) . We live in hope ….

            in reply to: Post Code and WinOrder – missing options / values #71293
            Olly
            Admin & Mod

              and – out of curiosity – did the available options change ? (i.e the list of postcodes selectable )

              in reply to: Post Code and WinOrder – missing options / values #71292
              Olly
              Admin & Mod

                ok, that clears that up.
                than the question is, what generates that json (I am quite sure it’s not wppizza though I could perhaps be wrong) ?

                in reply to: Post Code and WinOrder – missing options / values #71290
                Olly
                Admin & Mod

                  furthermore , your first json has “value”: “5”,
                  not only is there generally no corresponding index in options , there is also no corresponding option with an index of 5 in your second json data (but that could be because it’s from a different system /site . I cannot know)

                  in other words, the ‘value’ must be present in the ‘options'(index)

                  in reply to: Post Code and WinOrder – missing options / values #71289
                  Olly
                  Admin & Mod

                    First of all, I know nothing about winorder other than that it exists .
                    That aside (for the moment anyway)
                    – what is generating that json ? Where does it come from ?
                    – are both examples you are giving above from the same url with the same software rnning (wppizza plugin versions , wordpress, php etc) and were generated around the same time (as in : within a week of each other or so) ?

                    >I think it is a sort of “caching problem”
                    I very much doubt that

                    The problem is (most likely) that your first example does not have the options indexed properly but again that depends on what is producing it / where that json data comes from

                    in reply to: Correct IPN URL and Plugin Options #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

                      in reply to: PayPal error #71218
                      Olly
                      Admin & Mod

                        the debug.log you attached above is referring to a website where it’s all still as it was and you WILL have problems there

                        your ‘carrello’ , ‘/il-mio-account/carrello/’ urls may well be working but I cannot know as there’s no domain mentioned related to those in this thread.

                        in reply to: Correct IPN URL and Plugin Options #71215
                        Olly
                        Admin & Mod

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

                          in reply to: Correct IPN URL and Plugin Options #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

                            in reply to: PayPal error #71210
                            Olly
                            Admin & Mod

                              A few observations.
                              a) the debug log you sent me has none of these warnings you are referring to above in it
                              b) it does however have several hundred entries per day of PHP Warning: session_start(): Cannot start session when headers already sent in . PLease refer to https://docs.wp-pizza.com/troubleshooting/?section=headers-already-sent.
                              That said, I also believe this is more of the symptom than the cause
                              c) when trying to to verify the order at paypal, paypal respondes with a 403 error – i.e access forbidden (again, I think this is also only a symptom , not the cause)

                              What is definitely a problem – which may or may not be the root cause for everything but certainly one of it – is that you are caching you order page. Or more accurately, you are putting the checkout (widget) onto your article pages which are cached.
                              You must not cache any pages that have the checkout ‘widget’ on them or take steps to work around this (see also https://docs.wp-pizza.com/getting-started/?section=setup)
                              This is definitely something that needs fixing first. Once you have done that, see if you still have issues and report back

                              in reply to: PayPal error #71209
                              Olly
                              Admin & Mod

                                Sorry, didnt see the link to the debug amongst all of this
                                will have a look

                                in reply to: PayPal error #71208
                                Olly
                                Admin & Mod

                                  most (if not all) of these are symptoms not the cause.
                                  if “ordervars” does not exist there is something severely wrong elsewhere
                                  so , yet again, I need the (full) debug log
                                  Your “suggested fix” would cause more harm than good

                                  in reply to: PayPal error #71204
                                  Olly
                                  Admin & Mod

                                    > I’ll share the log file with you.
                                    I haven’t received anything ?!

                                    >I haven’t made any changes
                                    But your host may have .For example update php versions – though that should be a good thing – or some firewall updates or what not. I cannot guess of course. But let’s start with the debug.log

                                    in reply to: PayPal error #71190
                                    Olly
                                    Admin & Mod

                                      > for the past 5 days with several customers
                                      As nothing has changed for month in the wppizza plugin and indeed the paypal one, the first question really would be what it is that changed your end about 5 days ago ?

                                      that aside, have you enabled debug (https://docs.wp-pizza.com/troubleshooting/) and checked your debug.log ?

                                      Are all of your other plugins/themes up to date ?

                                      in reply to: Thx and some request #71014
                                      Olly
                                      Admin & Mod

                                        Hi

                                        a couple of things

                                        First of all, your request isn’t anything that anyone has ever requested so it’s not something I would typically do unless the request comes multiple times (see also https://docs.wp-pizza.com/faqs/?section=customisation )

                                        That said, I was kind of intrigued as to whether this would be easily achievable – purely out of curiosity.
                                        As it turns out, it’s not actually that simple, but as I was already going down that road I ended up adding it anyway as mentioned in the changelogs .
                                        See:
                                        https://www.wp-pizza.com/downloads/wppizza-preorder/ in this case
                                        – or generally any plugin updates notifications in your WP dashoboad for a given plugin.

                                        As I cannot really provide individual notifications as to what things have changed where,
                                        changelogs will always be the best place to look for what has happened if updates are available for a given plugin .

                                        Thank you

                                        in reply to: WPPizza Version 3.19.7.2 #70747
                                        Olly
                                        Admin & Mod

                                          First of all, although possible, I would suggest you do not make any changes to those files directly anyway. If you do that , you will have to apply your changes every time there is an update.
                                          See here: https://docs.wp-pizza.com/advanced/?section=modify-css-styles-layout

                                          Secondly, it sounds more like you have a permission issue of some sort. WPPizza does not handle anything that would allow you – or disallow you – to edit its files. This would be server side or some “security” plugin or some other wordpress constant perhaps that is blocking yo from saving
                                          In other words, this has nothing to do with wppizza and I cannot help you there I’m afraid .

                                          Olly
                                          Admin & Mod
                                            This reply has been marked as private.
                                          Viewing 20 posts - 21 through 40 (of 4,469 total)