Connect TrackShip to WooCommerce
To connect TrackShip to your WooCommerce store you’ll need to install the Advanced Shipment Tracking plugin (Free).
WooCommerce REST API enabled
The WooCommerce REST API should be enabled in your store, navigate to WooCommerce > Settings > Advanced > Legacy API and make sure the option is enabled.
Your store should be protected with SSL certificate, (HTTPS), Make sure that WordPress Address & Site Address are with HTTPS in
Settings > General
Pretty permalinks in your WordPress admin, navigate to Settings > Permalinks and change the permalink structure to be based on Post Name (TrackShip can’t work with the Plain option)
Connect TrackShip to your WooCommerce store
1. Login to your TrackShip account, from the dashboard, click on Connect a Store and a dialog box will open where you need to type your WooCommerce store URL and proceed to the next step.
2. You will be directed to your WooCommerce store to provide trackShip permissions to connect to your store using the WooCommerce REST API. TrackShip requires this permission to be able to update your orders when there are shipping & delivery updates.
3. After approving the permissions, on your account dashboard, you will see your store in the connected store list. Click on the store name to be directed to TrackShip Settings on your store (WooCommerce > Shipment Tracking > TrackShip).
This means Advanced shipment tracking plugin is deactivated on your store. You need to activate Advanced shipment tracking(AST) plugin.
This might be if TrackShip’s read/write Rest API key has been changed on your side to just read or permissions have been revoked.
To fix this, you can delete your store connection from the TrackShip dashboard and reconnect it and it should generate new API keys and fix this issue.
You may have a security plugin on your site that won’t let TrackShip, to make write requests. Check the settings for it and see if you can disable this or if not, contact us and we can confirm this is the issue and provide further instructions for whitelisting TrackShip.
If it’s not a plugin causing it, it’s likely a server/hosting configuration is blocking http requests from external websites. It could be a rule that is blocking write requests, or perhaps a trailing slash redirect sending POST API requests to a 404.
You’ll need to contact your hosting company and ask to remove the block. Also, edit your .htaccess file by adding the following code above # BEGIN WordPress :
- This means SSL certificate might be not configured properly.
- TrackShip cannot connect to the server.
- TrackShip cannot receive the response within the timeout period
- The Request was “stopped(aborted)” by the your server.