Hi,
We have recently been having problems with Square plugin for WooCommerce.
First, some products stopped syncing with Square and returned an error when people tried to purchase them from our online store.
I disconnected and reconnected Square, which fixed it, but by the next day the problem occured again.
Now in Square settings I cannot select Business Location and none of our products are able to be purchased from our online store.
I have tried disconnecting and reconnecting Square, deleting and reinstalling the Square plugin, but nothing helps.
Here's a debug message from the log:
2020-04-06T09:58:29+00:00 CRITICAL Uncaught Error: Object of class SquareConnect\Util\CaseInsensitiveArray could not be converted to string in /home/***/public_html/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php:596
Stack trace:
#0 /home/***/public_html/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php(596): sprintf('%s: %s', 'headers', Object(SquareConnect\Util\CaseInsensitiveArray))
#1 /home/***/public_html/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php(3426): SkyVerge\WooCommerce\PluginFramework\v5_4_0\SV_WC_Plugin->get_api_log_message(Array)
#2 /home/***/public_html/wp-includes/class-wp-hook.php(289): SkyVerge\WooCommerce\PluginFramework\v5_4_0\SV_WC_Payment_Gateway->log_api_request(Array, Array)
#3 /home/***/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#4 /home/***/pub in /home/***/public_html/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php on line 596
Can anyone please help?
Thanks!
Hi @TVBS,
Thanks for getting in touch and sorry to hear you're having trouble with your WooCommerce integration.
The WooCommmerce to Square integration is actually built and managed by WooCommerce, so they would have a little more insight into what's going on with this one! I recommend filing a support ticket with them, however if you're not able to reach an outcome via their support, if you have a support ticket number for WooCommerce we can try and escalate it via partner channels.
If you'd like you can also call our support team to make sure everything is working OK on Square's end. Our Australian number is 1800 760 137, lines are open Mon-Fri, 9am-5pm Melbourne time.
Square Community
Square Products