The FooSales iPad and Android tablet apps connect to your store using REST API (primary) or WordPress XML-RPC (secondary). REST API is the preferred connection method as it is generally more stable and secure than XML-RPC. In certain server environments, you might not be able to use the REST API and your web host or a WordPress security plugin might block or restrict XML-RPC for security reasons which will cause a “Connection Error” in FooSales.
Here are a few things you can try if you find yourself in this situation:
Ask your hosting company to advise if the IP address of your device has been blocked from accessing the site. If this is the case, you can request your ISP to do the following:
- Whitelist the rule triggered by your IP address
- Disable the Mod_security rule for your domain
If this doesn’t solve the problem, you can try the following:
- Rename ‘xmlrpc.php‘ in the root folder of your website to ‘rpc_requests.php‘
- Download, install and activate this plugin which caters for the renamed ‘xmlrpc.php’ file
NB: We recommend that you download ‘xmlrpc.php’ to your local machine, rename it to ‘rpc_requests.php’ and then upload it again so that both files exist on your site and you don’t overwrite the original file.