Our plugin uses the Exact PHP SDK which is not yet fully optimized for WordPress application. Because of this, the SDK has difficulties in maintaining a stable connection. To prevent a sudden broken connection, we have created a super-light Cron script which needs to be run once every 2 minutes. You can set this up in your hosting cPanel > Cronjobs:
usr/bin/php /home/customer/www/yourdomain.com/public_html/wp-content/plugins/woocommerce-exactonline/connection_restore.php >/dev/null 2>&1
The bold part is static, the rest of the path is dynamic (WP Directory) and can be found easily.
How to find the WordPress Directory:
in WP-Admin go to > Tools > Site Health > Info tab and open Directories and Sizes