Skip to main content

Customer order

A customer order is sent to DHL for processing as soon as its status is changed to the status that is configured in the plugin settings. For WooCommerce that is usually the wc-processing status.

The plugin then periodically checks for a tracking number for that order, assuming the cronjob is set up.

In WooCommerce, if a tracking number is found, it is stored in a WordPress custom field with the name _dhlefn_order_tracking_number for further uses.

If for any reason an order is not present anymore in the DHL API during one of the update checks, the order status is set to Failed.

If the order is cancelled by the warehouse, the order status is set to Cancelled by DHL.

If the order is released from the warehouse, the order status is set to Completed. If a Tracking-Id is present it is added to the order metadata.

Inventory Management

WooCommerce automatically reduces the stock of a product if a customer places an order. This is why pending orders are considered whenever the plugin synchronizes the inventory with the available quantity in the warehouse (see Inventory Management).