We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35715
    • 59 Posts
    A bit confused!

    Have had a minishop2 site running for a month or so and all is well - several successful orders have passed through it to paypal and successfully out the other side!

    However, just had one customer where 2 orders logged in minishop manager - one for items including shipping as expected but then immediately one somehow just for the shipping and no products!

    Also, neither received payment through paypal and no cancelled notification back in the manager either (which normally happens if paypal isn't completed).

    Any ideas what on earth might have gone down?

    :-) Thanks
      • 35715
      • 59 Posts
      Just spotted this the the modx log...

      [L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
      [L_LONGMESSAGE0] => The totals of the cart item amounts do not match order amounts.


      BUT have just ordered through the store as a customer with no issues whatsoever ....

      :-)
        • 46886
        • 1,154 Posts
        Seems like doubleclicked on submit? Because two orders. But why the first would be broken by the second I don't know.
          • 35715
          • 59 Posts
          Just a quick update on this - as it hadn't happened again until today!

          It is indeed impatience by the shopper - waiting for the paypal gateway to appear - thinking nothing is happening so clicking a few times on the submit...

          Have added text next to the button saying "be patient etc"....

          :-)

          • Or use a bit of Javascript to disable the button on first click. http://stackoverflow.com/questions/2323948/disabling-the-button-after-once-click
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 46886
              • 1,154 Posts
              Sweet. Behavioral programming at it's finest.
                • 3749
                • 24,544 Posts
                It's a good practice. Many Logitech mice will double click when you single click after they've been used a lot. The microswitch wears down and they will "unclick" briefly during the click which the computer will view as a double click.

                You'll find out about it very fast if you play Freecell with them. wink
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting