No products in the cart.
When I process the order with one item and try to create a shipment, everything seems fine. I get the tracking number for going to work. But when there is more than one item in the order, I don’t get the tracking number when I try to create the shipment.
Debugging mode shows me the following response.
DHL RESPONSE: stdClass Object ( [Version] => stdClass Object ( [majorRelease] => 1 [minorRelease] => 0 [build] => 14 ) [status] => stdClass Object ( [StatusCode] => 1101 [StatusMessage] => at least one shipment has errors ) [CreationState] => stdClass Object ( [StatusCode] => 1102 [StatusMessage] => Array (  => Your order could not be processed Your order could not be processed  => Only one package permitted for the product code! Please delete any additional packages. ) [SequenceNumber] => 1 ) )
What is the error? Please help.
Are you trying to ship overseas?
As in DHL packets, if you are trying to ship internationally, all the items in the cart needs to be sent in one package.
So make sure that you didn’t select the Pack items individually option.
Also, for parcel packing options just take a note that, if you selected the Pack items according to weight and dimension parcel packing option, make sure that box is configured properly.
To explore more details about the plugins, go check out ELEX WooCommerce DHL Express / eCommerce / Paket Shipping Plugin with Print Label.
You can also check out other WooCommerce and WordPress plugins in ELEX.