Fatal Error when trying to checkout
-
Checkout fails every time an order is placed. When I try to access the Square settings within WooCommerce I am presented with the following error message.
You can replicate by adding an item to the cart and trying to checkout.
Fatal error: Uncaught TypeError: Return value of Unirest\HttpClient::execute() must be an instance of CoreInterfaces\Core\Response\ResponseInterface, instance of Unirest\Response returned in /home/customer/www/newtrailbrewing.com/public_html/wp-content/plugins/woocommerce-square/vendor/apimatic/unirest-php/src/HttpClient.php:79 Stack trace: #0 /home/customer/www/newtrailbrewing.com/public_html/wp-content/plugins/woocommerce-square/vendor/apimatic/core/src/ApiCall.php(48): Unirest\HttpClient->execute(Object(Core\Request\Request)) #1 /home/customer/www/newtrailbrewing.com/public_html/wp-content/plugins/woocommerce-square/vendor/square/square/src/Apis/BaseApi.php(34): Core\ApiCall->execute() #2 /home/customer/www/newtrailbrewing.com/public_html/wp-content/plugins/woocommerce-square/vendor/square/square/src/Apis/LocationsApi.php(34): Square\Apis\BaseApi->execute(Object(Core\Request\RequestBuilder), Object(Core\Response\ResponseHandler)) #3 [internal function]: Square\Apis\LocationsApi->listLocations() #4 /home/customer/www/ne in?/home/customer/www/newtrailbrewing.com/public_html/wp-content/plugins/woocommerce-square/vendor/apimatic/unirest-php/src/HttpClient.php?on line?79
The page I need help with: [log in to see the link]
- The topic ‘Fatal Error when trying to checkout’ is closed to new replies.