OpenCart Integration OpenCart Integration

OpenCart Integration

Overview

  • OpenCart is an easy-to-use, powerful, open-source online store management program that can manage multiple online stores from a single back-end.
  • The following guide will show you how to integrate your OpenCart store with eShip.
  • Once completed, your orders will automatically import into eShip and the tracking numbers will be written back to OpenCart when you print a label.

1. Download and install the Starshipit extension for OpenCart

There are three OpenCart extensions available for eShip. Be sure to check your OpenCart store version and download the correct version. You can download the Starshipit extension from this link.

mceclip0.png

2. Create API access for eShip in OpenCart

  1. Log in to your OpenCart Administration site.
  2. Go to Settings > Users > API.
  3. Complete API Name.
  4. Generate the API Key.
  5. Set Status as Enabled.
  6. Go to the IP Addresses Tab.
  7. Add the following IP addresses:
    • 104.40.200.176
    • 104.40.201.109
    • 104.40.204.252
    • 104.40.205.110
    • 104.40.205.29
    • 125.236.208.143
    • 13.69.68.2
    • 13.70.65.114
    • 13.70.65.145
    • 13.70.67.84
    • 13.70.71.54
    • 13.70.71.83
    • 13.73.195.135
    • 13.75.138.224
    • 13.75.144.52
    • 13.75.144.82
    • 13.75.145.35
    • 13.75.149.31
    • 137.117.153.170
    • 222.154.228.31
    • 23.101.208.53
    • 23.101.208.54
    • 23.101.208.55
    • 23.101.208.56
    • 23.97.146.237
    • 13.70.71.54
  8. Click Save.

Add_API_access.png

Add_IP_addresses.png

3. Add OpenCart integration with API details in eShip

  1. In eShip, navigate to Settings > Integrations > Add a new integration > OpenCart.
  2. Tick Enable OpenCart.
  3. Tick Use API.
  4. Enter in your store URL.
  5. Select your OpenCart version range - 3.0.2.0 or earlier, or 3.0.30 or later.
  6. Enter the API Name and API Key created in the previous step.
  7. Click Save.

mceclip0.png

Troubleshooting

- I have successfully integrated my OpenCart shop but the orders are not coming through.

--> Per default eShip import the order with Status = Pending, make sure you have Pending order in OpenCart, or change the "Status to Import" in the settings.

Supported versions

eShip's extension supports the following versions of OpenCart:

Version 2
2.0.1.1 - 2.3.0.2

Version 3
3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0
3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 3.0.3.8

OpenCart Legacy Integration (deprecated)

1. Implement the PHP files on your website

  1. Please download the files from here.
  2. Once downloaded, extract the .zip file. It includes an import.php file and update.php file.
  3. Login into your eShip account and get your API Key which is available under Settings > API Key
  4. Once you have created your key, enter it into the second line of each file above.
  5. Look for $apiKey= "Get key from Settings > API Key"; and replace the part of the = with your key
  6. Copy Files to Server
  7. Navigate to your OpenCart server root directory and copy the two files from above into the admin folder.

 2. Enter the path of the PHP files in eShip

  1. In eShip, navigate to Settings > Integrations.
  2. Click Add a new integration and select OpenCart from the list. 
  3. Tick the Enabled checkbox at the top of the page and enter the full URL to the admin folder on your site (i.e. http://www.yourwebsite.com/admin/).
  4. Click Save to apply your changes.

Legacy_Settings.png

3. Troubleshooting

Q. My orders have not been imported

A. The first step is to verify is that the import.php file is well located and accessible by eShip.  

Try to access the following URL through your browser: http://www.yourwebsite.com/admin/import.php -  if the browser is returning a 404 error please go back and redo the previous steps.  

If it returns an execution error, please contact the support team at support@eShip.com.