I Can't Add My Store
When you add a store to Metorik, you may run into an error where it says it can't find your site or similar.
Before I explain why it may happen, it may be useful to tell you the requirements of Metorik:
- The WordPress API should be enabled (it is by default)
- WooCommerce 2.6.0 or higher
- WooCommerce API should be enabled (it is by default)
Some plugins that we know cause issues here:
- Remove WordPress Overhead
Try and whitelist the following URLs in your security plugin:
By /*, we mean everything under those URLs, so wp-json/wc/v2 needs to be whitelisted. What you need to enter varies based on the security plugin you're using, but with Sucuri, it would be "Begins with wp-json".
If the security plugin you're using or your host needs an IP address that they can whitelist, please send us a message and we will do our best to accommodate you. But the IPs constantly change, so it's best if you can temporarily allow access to add the store and then whitelist the user agent for Metorik's WooCommerce API requests, which contains Metorik (eg. Metorik API Client).
Also if you're running a security plugin, such as SecuPress, the WordPress API may be disabled by it. Check the security plugin's settings to be sure that the WordPress API is not disabled. Here's an example of what your SecuPress setting should look like: