Woocommerce Square Error
-
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 itDespite 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
))
)
- The topic ‘Woocommerce Square Error’ is closed to new replies.