Installation and setup
Requirements
Section titled “Requirements”- CS-Cart and Multi-Vendor 4.17.2 or later.
- Administrator access to the store’s admin panel.
- A DHL business customer contract for DHL Paket (Post & Parcel Germany) with its billing numbers: 14 characters without spaces, made of your EKP (10), the product (2 digits, for example 01 for DHL Paket) and the participation (2 characters). Ask your DHL sales contact; DHL assigns them. Without a contract you can still test everything in the DHL sandbox.
- A business customer user of the Post & DHL Business Customer Portal (GKP). DHL recommends a system user, which cannot sign in to the portal.
- An app in the DHL developer portal (developer.dhl.com, “Get Access”) that includes the APIs Parcel DE Shipping (Post & Parcel Germany), Authentication API (Post & Parcel Germany), Shipment Tracking - Unified and Location Finder - Unified. The app gives you the API key and the API secret. Production access is approved by DHL after a successful sandbox run.
- A cron job on your server (see step 7).
Install the add-on
Section titled “Install the add-on”- Download the
kv_dhl_parcel_de-<version>.zippackage from your Kavio Labs or CS-Cart Marketplace account. - In the admin panel, open Add-ons > Manage add-ons.
- Click the gear button and choose Manual installation, then upload the archive.
- Find DHL Parcel Germany Shipping & Labels in the list and make sure its status is Active.
- Enter your license key under Settings > License (Kavio Labs downloads) and click Check now.
Connect DHL
Section titled “Connect DHL”- Open the add-on settings and click Connection (or Orders > DHL shipments > Connection).
- Test mode first. DHL provides a sandbox (api-sandbox.dhl.com) with a test business customer user and test billing numbers; they are listed on the developer portal page of the Parcel DE Shipping API. Enter the API key and secret of your app, the business customer user and password, and the billing numbers of the products you ship (DHL Paket V01PAK, DHL Paket International V53WPAK, DHL Europaket V54EPAK, DHL Kleinpaket V62KP, and the DHL Retoure billing number if you want return labels).
- Enter the shipper address that is printed on the label, or a shipper reference saved in the business customer portal. Empty = the company address of the store (or of the vendor).
- For cash on delivery enter the bank account (IBAN and holder) or the account reference saved in the portal.
- Click Save and test. A green message means: DHL accepted the credentials, and the billing number passed a validation request (
validate=true, nothing is created). - When DHL has approved your app for production, enter the live credentials and billing numbers and switch the Mode to Live.
- Add the cron job from the settings page (Cron section), every minute is fine. Overlapping runs are prevented.
Shipping methods
Section titled “Shipping methods”Open Administration > Shipping & taxes > Shipping methods, add a method, choose the carrier DHL Parcel Germany and one of the services. In the Configure tab enter the price or a price by weight table (for example 2=4.99, 5=5.99, 10=7.49), the optional free shipping from amount, the countries (ISO codes, default DE) and an optional weight limit. Save. (Ultimate: assign the method to the storefront.)
Packstation and Postfiliale methods open the location search under the method at the checkout.
First shipment
Section titled “First shipment”Place a test order, open it, choose the DHL label and tracking tab and click Create label. Look at the label. In the sandbox nothing is shipped; in production cancel a test shipment before the close-out of the day.
Multi-Vendor
Section titled “Multi-Vendor”By default the marketplace owner connects one DHL account for all vendors (Marketplace owner mode on). Switch it off to let each vendor connect their own API key, secret, user, billing numbers and shipper address in the vendor panel (Connection tab); shipments of a vendor’s orders are then created with the vendor’s account.
Update
Section titled “Update”- Upload the new package the same way. Your settings, credentials and data are kept.
- The add-on adds missing tables and settings by itself on the first request after the update.
See CHANGELOG for what changed in each version.
Uninstall
Section titled “Uninstall”Open Add-ons > Manage add-ons, click the add-on’s gear button and choose Uninstall. This removes the add-on’s settings, language variables, shipping services and their shipping methods, and database tables, including the stored credentials and labels.