• Resolved kirbmart

    (@kirbmart)


    I upgraded from 1.0.38 to 2.0.4 and randomly about 1 out of 5 orders will fail with this message:
    “Square Payment Failed (Status code INVALID_VALUE: The charge amount does not match the order total.)”

    Any suggestions on why this is happening? Possibly a conflict with a shipping plugin?

Viewing 7 replies - 1 through 7 (of 7 total)
  • madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @kirbmart,

    Thank you for letting us know about this problem. We’ve seen the error The charge amount does not match the order total in previous plugin versions, where it was caused by a rounding bug. However, there’s a fix for this included in Square plugin version 2.0.4, and we haven’t seen any reports of the same error since updating to 2.0.4.

    If the problem only happens for 1 out of 5 orders, can you please send us some screenshots of the Items table on order page so that we can double check the same numbers on a clean site? Here is an example of what we’re looking for:

    Screenshot: https://cld.wthms.co/NNzvtC

    You can follow the instructions on https://snipboard.io/ to capture and upload the screenshot.

    Thanks!

    • This reply was modified 5 years, 1 month ago by madeincosmos.
    Thread Starter kirbmart

    (@kirbmart)

    Hi @madeincosmos thanks for the response. Here is a screenshot of a failed order using 2.0.4 – https://snipboard.io/LXQv57.jpg

    order notes:https://snipboard.io/oE3Ohr.jpg

    Can confirm I am also getting this error with Square plugin version 2.0.4. Please advise if there is a solution, will be switching back to version 1.0.38 in the meantime

    madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @kirbmart,

    Thank you for the order details! I reproduced your setup on my test site and ran into the same problem as you. As it turns out, the rounding fix we applied in previous plugin versions didn’t take all possible scenarios into account. This isn’t how the plugin should work, so I really appreciate you’re letting us know!

    I’ve let our developers know about this error and am waiting for their feedback now.

    If there’s anything else I can help you with in the meantime, please let me know.

    Elvira K.

    (@treibalen)

    Hi there @tommeproductions and @kirbmart,

    Our developers will include a fix to the reported issue to the 2.0.6 version of Square. Thank you for reporting it once again!

    Please keep an eye for the plugin updates, and let us know if you encounter any issues afterwards.

    Meanwhile, I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Cheers!

    Thread Starter kirbmart

    (@kirbmart)

    @treibalen Any word on when 2.0.6 will be released? Thanks for your help on this.

    Elvira K.

    (@treibalen)

    Hi there @kirbmart,

    Any word on when 2.0.6 will be released? Thanks for your help on this.

    According to the changelog, the fix was included to the version 2.0.7 which was released yesterday:

    2.0.7 – 2019.11.18
    Fix – Correct cents rounding that was causing invalid value errors

    Please let us know if you’re still seeing issues after the update.

    Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘charge amount does not match’ is closed to new replies.