DHL offers integrated international services and tailored, customer-focused solutions for managing and transporting letters, goods, and information.

Step 1: Enable DHL

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Sales and choose Delivery Methods.

  3. Expand Expansion selector the DHL section.

    note note
    If necessary, first clear the Use system value checkbox to change the following settings as described.
  4. Set Enabled for Checkout to Yes.

  5. Usually, you can accept the default Gateway URL.

    If DHL has given you an alternate URL, enter that value in this field.

  6. Use the credentials provided by DHL to complete the following fields:

    • Access ID
    • Password
    • Account Number

DHL Account Settings

Step 2; Enter package description and handling fee

  1. In the Content Type list, select the option that best describes the type of package you ship:

    • Documents
    • Non documents
  2. Configure the handling fee options according to your requirements.

    The handling fee is optional, and appears as an extra charge that is added to the DHL shipping cost. If you want to include a handling fee, do the following:

    • For Calculate Handling Fee, select the method you want to use to calculate handling fees:

      • Fixed
      • Percentage
    • For Handling Applied, select how you want the handling fees applied:

      • Per Order
      • Per Package
    • For Handling Fee, enter the amount to be charged, based on the method you have chosen to calculate the amount.

      For example, if the charge is based on a fixed fee, enter the amount as a decimal, such as 4.90. However, if the handling fee is based on a percentage of the order, enter the amount as a percentage. For example, if you are charging six percent of the order, enter the value as .06.

    • To allow the total order weight to be broken up to ensure an accurate calculation of shipping charges, set Divide Order Weight to Yes.

    • Set the Weight Unit of the package to one of the following:

      • Pounds
      • Kilograms
    • Set the Size of a typical package to one of the following:

      • Regular
      • Specific

      If you choose Specific, enter the Height, Depth, and Width of the package in centimeters.

    DHL Package Settings {width="600" modal="regular"}

Step 3: Specify allowed delivery methods

  1. For Allowed Methods, choose each method that you want to be available to customers.

    To select multiple methods, hold down the Ctrl key (PC) or the Command key (Mac) and click each option.

    To display the correct list of delivery methods, you must first specify the Country of Origin.

  2. For Ready Time, enter the number of hours after an order is submitted that a package is ready to ship.

  3. Edit the Displayed Error Message as needed.

    This message appears when a selected method is unavailable.

  4. If you want to provide a Free Shipping option through DHL, set the free shipping options.

    • For Free Method, choose the method you prefer to use for free shipping.

    • Set Free Shipping Amount Threshold:

      Enable - If offering Free Shipping with Minimum Order, enter the Minimum Order Amount for Free Shipping.

      Disable - Does not apply free DHL shipping to any orders.

      This setting is similar to the one for the standard Free Shipping method, but appears in the DHL section so customers know which method is used for their order.

    • For Free Shipping Amount Threshold, enter the minimum amount for an order to qualify for free shipping.

      DHL Allowed Methods {width="600" modal="regular"}

Step 4: Specify the applicable countries

  1. Set Ship to Applicable Countries to one of the following:

    • All Allowed Countries
    • Specific Countries

    If shipping to specific countries, select each country from the Ship to Specific Countries list.

  2. Set Show Method if Not Applicable:

    Yes - Shows DHL as a shipping method during checkout, even if not applicable to the order.

    No - Shows DHL as a shipping method during checkout only if applicable.

  3. To create a log file with the details of DHL shipments made from your store, set Debug to Yes.

  4. For Sort Order, enter a number to determine the sequence in which DHL appears when listed with other delivery methods during checkout.

    0 = first, 1 = second, 2 = third, and so on.

  5. Click Save Config.

    DHL Applicable Countries {width="600" modal="regular"}