Clicking send order just refreshes' the page

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Gateways Paypal Standard Clicking send order just refreshes' the page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #24080

      Hi Olly,

      We have a problem with the paypal gateway.

      When you click on Send Order the loading animation appears and then the page refreshes.

      Nothing in the paypal plugin logs or the debug log.

      Our website is

      Any idea’s?


      Admin & Mod

        tried updateing the plugin …..??????
        furthermore , it’s a REALLY BAD idea to remove version numbers from your scripts/css…


          Can’t update as the license has expired, and we haven’t removed the version numbers (on purpose that is).

          Admin & Mod

            >Can’t update as the license has expired,
            …err, no. it’s the main plugin i’m talking about which – of course – has no restrictions of that kind

            >and we haven’t removed the version numbers (on purpose that is).
            then some plugin has (look at your source code, there are no version no after any files)

            Admin & Mod

              just a bit of an explanation why removing of version numbers for scripts/stylesheets is a bad idea:

              consider the following scenario:

              with version numbers removed you get the following in your page
              instead of

              (assuming for this exercise it’s version 2.0 intitially for the plugin/theme for example)

              so, when someone comes to your site, their browser will download
              so far so good.

              now we assume that plugin/theme gets updated to v2.1 (2.2,3.0, whatever) with changes to that javascript file (like added ajax request for example or whatever else you can think of)

              a day later, after you have updated the plugin, that same person comes to your site again and what’s going to happen – not always, but there’s a distinct possibility – is this:

              browser reads page and still finds
              browser says “oh, I already have that file in my cache, no need to download it again” so uses that cached version. of course, that version does not have those added ajax request etc and your site will fall over / not work / have issues

              if it had a version number, the browser would have known it’s different and would have downloaded that new file instead of using the old expired one…..
              same would go for css and any other linked files too (how about a css saying originally display:block and then display:none somewhere , etc etc)

              the above is just to get you an idea and not comprehensive or complete (there are ways to overcome this in other ways, but that’s a different conversation and – in any event – overkill, unnecessary and personally speaking silly given that the whole version numbering is there for exactly that purpose)


                Thanks for the explanation i understand.

                Still have no idea what is stripping the version numbers though.

                Paypal is working again now I’ve updated, didn’t know there was an update.

                Thank you.

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The topic ‘Clicking send order just refreshes' the page’ is closed to new replies.