Missing postal code and city

Forum Forums Add-Ons Extensions Delivery By Post/Zipcode Support Missing postal code and city

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

      Hello Olly,

      I’m following up again regarding the issue with the missing transmission of the postal code and city. As I’ve since found out, it’s not related to WinOrder but occurs under the following circumstances:

      A customer places an order for the first time as a guest and pays via PayPal. Everything works perfectly.
      The customer then returns to the site, adds items to the cart – but changes the postal code and city on the cart page before placing another order via PayPal. In this case, the updated postal code and city are not transmitted.

      You might now say, “Why would someone do that?” – but it could happen, for example, if they initially select an incorrect postal code via a popup and then manually correct it later…

      I just did some further testing, and here’s what I found:
      As soon as anything is changed on the checkout page during the order process – switching from cash payment to PayPal, for example – the data is not transmitted. So it seems that something goes wrong during the page reload that occurs in that situation.

      For reference: I have “Always load the cart dynamically via Ajax” checked.
      JavaScript in the footer is disabled.

      In any case, something is definitely off.

      The details are missing in both the customer email and the shop email.
      Customer emails are sent as HTML, shop emails as plain text.

      And it is missing in der Order History in the Backend too…. So I guess it is safe to say: It does not exist ;-)

      If you need any further information, just let me know.
      Thanks for your help and best regards,
      Thomas

      #71392
      Thomas Ulbricht
      Participant

        Hi Olly,
        it’s driving me crazy. I’ve done more and more testing – another 50 orders – and now the problem has suddenly stopped appearing. I honestly don’t know what’s going on. Let’s just leave it as it is for now. The site is supposed to go live next week – fingers crossed it stays that way.
        If anything comes up again, I’ll get back to you.
        Sorry for the confusion – but believe me, it’s been just as frustrating for me ;-)

        But just to wrap things up for now: I really do appreciate any hints, tips, or theories about what might have caused the issue – or what I should do if it happens again. Somehow I have the feeling that once the site goes live, it’ll suddenly come back. (I hate those bugs that only appear sporadically…)

        #71446
        Olly
        Admin & Mod

          without a url I cannot say anything other than the usual
          Have you enabled debug (https://docs.wp-pizza.com/troubleshooting/) and checked your debug.log ? Are all your plugins / themes up to date ?

          #71449
          Thomas Ulbricht
          Participant

            Hello Olly,

            thanks for the reply. I enabled debug – no errors until now. ANd of course are all my plugins and themes up to date ;-) I will get to you if the error comes up again. Hope not – but if, I will ;-)

            #71456
            Olly
            Admin & Mod

              if things behave erratically like that it’s quite often because things are cached that should not be cached (see also https://docs.wp-pizza.com/getting-started/?section=setup)

              #71500
              Thomas Ulbricht
              Participant

                Hello Olly,

                and here I am again. The website is now live and at the beginning everything worked fine. Now the missinig “postal code & city” come up again. 3 times today :-(
                I try to gather some facts:

                – Everyone ordered as a guest
                – No caching system activated. Not on WordPress or on the Server.
                – Happened on Paypal and Cash Oders
                – All were delivery orders – no pick up orders!
                – Nothing in the debug.log files
                – Happened on Orders with one article and on orders with 12 articles
                – Website runs on an own Hetzner Server
                – PHP 8.3
                – APCu, OPcache are DEACTIVATED
                – In the Post/Zip Code settings: Selection required: No/no
                – Settings 2: “popup on page load”: yes / yes / no

                If there is anything else you want/need to know please let me know! I hope there is a way to find out why this is happening, becasue the client is not happy :-(

                The URL is https://mein-dinos.de/kassel-nord/

                Thanks for your help!

                System Info and PLugin Parameters in the next post.

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

                    >Now the missinig “postal code & city” come up again.
                    where exactly is it missing ?

                    #71519
                    Thomas Ulbricht
                    Participant

                      Hi Olly,

                      everywhere. It is not in the order mails. (Customer and shop) and it is not in the Order History in the Backend. So to say: It is nowhere … like it is filled out – which is immpossible, because you have to make a selection.

                      #71520
                      Olly
                      Admin & Mod

                        I cannot speak for winorder,
                        but I’m quite certain that if you update the Post/zipcode plugin and the main WPPizza plugin it will work just fine

                        #71521
                        Olly
                        Admin & Mod

                          PS: there will be another update to the postcode plugin in the coming days, but that’s mostly cosmetics and some usability issues when using ‘funny’ characters in the postcode names/labels entered and using autocomplete

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

                              Hello oll,

                              this has nothing to do with Winorder. Ths Plugin is installed but not connected right now.

                              Sorry I have to ask, so I don’t understand you wrong: When i posted it every Plugin was up to date. Now there is an update to the main WP Pizza. Does it fix this? Is that what you mean?
                              For the postcode Plugin there is no update right now…

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

                                  >this has nothing to do with Winorder
                                  I did not mean to imply that it did. All I’m saying is that I cannot say if winorder does what it is supposed to do as I know nothing about it.

                                  >Does it fix this?
                                  I would think so (At least when testing this here with what I assume to be your settings it did not correctly work before but it does now)
                                  I will spare you the details what the issue is/was other than to say it’s got to do with zero values and the difference between is_empty and !isset. Bit of a schoolboy error on my part but not that easy to track down initially as it seems random at first.

                                  >For the postcode Plugin there is no update right now…
                                  There have been 2 updates since (https://support.wp-pizza.com/downloads/wppizza-delivery-by-postcode/)
                                  However, your particular issue is not related to those updates but was caused by that issue referred to above in the main plugin

                                  #71529
                                  Olly
                                  Admin & Mod
                                    This reply has been marked as private.
                                    #71530
                                    Olly
                                    Admin & Mod
                                      This reply has been marked as private.
                                      #71531
                                      Olly
                                      Admin & Mod
                                        This reply has been marked as private.
                                        #71563
                                        Thomas Ulbricht
                                        Participant

                                          Hey Olly,

                                          thanks for the “update hint” because of some reasons the “postcode plugin” had no activated liscence …. now it is up to date ;-) Thanks for the updates – i keep an eye on it and let you know if there is anything “worth mentioning” ;-)

                                          Yeah you are absolutly right. The WinOrder was activated and what I meant is that this has nothing to do with the other support request I had … sorry for the missunderstanding and like always: Thanks for the great support!

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