• 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 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 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Woocommerce Square Error’ is closed to new replies.