• Resolved ndukhan

    (@ndukhan)


    I am getting the below error as I am trying to proceed with an order checkout by using WooCommerce Square gateway:

    “Status code INVALID_VALUE: The charge amount does not match the order total.
    An error occurred, please try again or try an alternate form of payment.”

    I did the following:
    1- Disconnected and reconnected the Square connection
    2- Deleted and reinstalled the plugin (Square/2.0.3)
    3- Disabled the gateway and enabled it

    Despite of all above, the problem still exists!

    I am wondering, if any can help to fix it.

    Thank you..

    This is the complete debugging log:

    Request
    method:
    uri: createOrderWithHttpInfo/BBVWHMM3Z16Y7
    user-agent: WooCommerce-Square/2.0.3 (WooCommerce/3.7.0; WordPress/5.2.2)
    headers: Array
    (
    )

    Response
    code: 400
    message:
    headers: Array
    (
    [0] => HTTP/1.1 400 Bad Request
    [Content-Type] => application/json
    [Square-Version] => 2019-05-08
    [Vary] => Origin, Accept-Encoding
    [X-Content-Type-Options] => nosniff
    [X-Download-Options] => noopen
    [X-Frame-Options] => SAMEORIGIN
    [X-Permitted-Cross-Domain-Policies] => none
    [X-Xss-Protection] => 1; mode=block
    [Date] => Sat, 31 Aug 2019 19:22:56 GMT
    [keep-alive] => timeout=60
    [Strict-Transport-Security] => max-age=631152000
    [content-length] => 163
    )
    body: Array
    (
    [errors] => Array
    (
    [0] => stdClass Object
    (
    [category] => INVALID_REQUEST_ERROR
    [code] => INVALID_VALUE
    [detail] => The charge amount does not match the order total.
    [field] => amount_money.amount
    )

    )

    )

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ndukhan

    (@ndukhan)

    I downgraded to version 1.0.38 and everything went smoothly perfect!.

    I’m having the same issue after upgrading even though the 2.0.4 update looks like it was specifically updated to correct this issue. I’m downgrading to 1.0.38 (again).

    How do you downgrade and stop being auto upgraded? I know how to do the down grade do it everyday to come home and find it upgraded again. I have easy update manager loaded and under up woocommerce square I show it red blocked. but no it still upgrades.

    Hi @ndukhan,

    Status code INVALID_VALUE: The charge amount does not match the order total. An error occurred, please try again or try an alternate form of payment.

    Can you send along a screenshot of your Tax Settings(WooCommerce->Settings->Tax)? I’d like to see what you have there in terms of inclusive/exclusive pricing and what you have for rounding.

    Are your prices set to use more than 2 decimals?

    @matheny00,

    How do you downgrade and stop being auto upgraded? I know how to do the down grade do it everyday to come home and find it upgraded again.

    This depends on your Host, as auto upgrades usually do not happen without a setting at the Host level. You can reach out to your Host to have auto updating turned off as they might be able to do it at a specific plugin level.

    Hi All,

    Were you able to check the settings to see if it is more than 2 decimals, and how did the conversation with your Host go?

    I will mark this as Resolved however if you reply it will re-open the thread. I do look forward to hearing back from you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce Square Error’ is closed to new replies.