Articles in this section

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 DHL Express Commerce. Once completed, your orders will automatically import into DHL Express Commerce and the tracking numbers will be written back to OpenCart when you print a label.

Supported Versions

1. Download & install the DHL Express Commerce app in your OpenCart account

  1. Download the extension at the bottom of the article. There are two files to choose from, depending on whether you are running OpenCart v2 or v3. 
  2. Unzip the downloaded file. Please refer to the readme (included in the zip file) for instructions on how to install the extension.

2. Create an API access for DHL Express Commerce in OpenCart

  • Log into your OpenCart administration site
  • Go to Settings > Users > API
  • Complete API Name (this can be whatever you want it to be, eg. OpenCart DHL API)
  • Click Generate to generate the API Key
    • NB: you will need to copy and paste the API Name and API Key into your DHL Express Commerce admin account in the following step 
  • Set Status as Enabled
  • Go to the IP Addresses Tab
  • Add the following IP addresses (click the + button to add more):
     
    • 125.236.193.73
      125.236.193.73
      13.70.65.114
      13.70.65.145
      13.70.67.84
      13.70.71.54
      13.70.71.83
      13.70.72.35
      13.73.195.135
      13.75.138.224
      193.56.253.248
      20.188.208.134
      20.53.214.57
      20.92.152.254
      20.92.156.8
      20.92.157.172
      20.92.157.230
      20.92.157.243
      20.92.158.151
      20.92.158.179
      20.92.158.19
      20.92.158.221
      20.92.158.37
      20.92.158.6
      20.92.208.162
      20.92.208.164
      20.92.208.191
      20.92.209.127
      20.92.209.191
      20.92.209.249
      20.92.209.91
      20.92.210.145
      20.92.211.128
      20.92.211.187
      20.92.211.217
      20.92.211.225
      52.147.2.39
      52.147.2.6
      52.147.24.109
      52.147.29.26
      52.147.3.4
      52.147.4.3
      52.187.229.183
      52.187.231.76
      89.44.10.247

 

  • Click Save

 Add_API_access.png

Add_IP_addresses.png

3. Add the OpenCart integration & API details into DHL Express Commerce

  • Log into your DHL Express Commerce account
  • Go to Settings > Integrations > Add a new integration > OpenCart
  • Tick Enable OpenCart
  • Tick Use API
  • Fill in the API Name and API Key created in the previous step
    • NB: this name and API must be the same as the ones used in the previous step
  • Click Save

Use_API_settings.png

 

Troubleshooting

Q : I am receiving the following error with my OpenCart integration - Unsuccessful - Unexpected character encountered while parsing value: <. Path '', line 0, position 0

A : Make sure your store URL in the integration does not have /admin on the end. e.g https://mystore.com and not, https://mystore.com/admin

 

Q : I am receiving the following error with my OpenCart integration - Unsuccessful - Check version matches store version The remote server returned an error: (404) Not Found.

A : Check you have the correct version selected in the 'OpenCart Version' drop down box

 

 

Was this article helpful?
0 out of 0 found this helpful