There are many reasons why a WooCommerce store may have some trouble connecting to Pirate Ship. The steps below will go over some easy settings to check, but you may need to reach out to your site developer for further assistance 😉
Is your website live? Pirate Ship won't be able to connect to your store if your website is under maintenance, or in password-protected mode.
Are you trying to connect to the base URL? For example, you should be connecting to yourwebsitenamehere.com, not yourwebsitenamehere.com/shop 👍
Does your setup meet the minimum requirements?
- Your WooCommerce plugin should be at least version 2.6 or newer.
- Your WordPress installation must be at least version 4.4 or newer.
- You must have an SSL certificate installed on your website (https://)
Try logging out of WooCommerce and PirateShip, then try logging in again and enter your credentials manually. Sometimes this helps refresh the connection and get your integration up and running again 💪 If you get to the login window in WooCommerce, it will look like this:
If you go to https://yourwebsitenamehere.com/wp-json/wc/v1, do you get an error, or a ton of code? (For example, https://piratepeglegs.com/wp-json/wc/v1)
- Getting a page full of code is a good sign 🙂
- If you see an actual error, the built-in API for your website was disabled or deleted. You'll need to work with your website developer to add it back!
Do you have a firewall? Sometimes firewalls will block unknown User Agents 🙈
You will want to be sure to whitelist Pirate Ship's User Agent String ("Pirate Ship WooCommerce Integration"). Your web developer can test if everything is working by running the following command: curl --verbose --user-agent "Pirate Ship WooCommerce Integration" https://www.yourwebsite.com/wp-json/wc/v1. You should then receive an HTTP response (200) and JSON result of your store configuration.
Still hitting rough waters? Chat in with our Support Crew so we can get you sailin' in the right direction ⛵