DHL plugin no shipping methods using country & city information only
-
Hi,
We have had several emails from customers saying they aren’t able to get a shipping rate for Malta. The message ‘no shipping methods available’ is displayed. I’ve tried testing this with the city ‘Valletta’ and postcode ‘1030’ and I’m also not getting any shipping rates. I enabled the debug mode and it returned this request and response: You can see from this it is not picking up the city ‘Valletta’ even though this information has been entered.
DHL request:
<DimensionUnit>CM</DimensionUnit>
<WeightUnit>KG</WeightUnit>
<Pieces>
<Piece><PieceID>1</PieceID><PackageTypeCode>BOX</PackageTypeCode><Height>10</Height><Depth>34</Depth><Width>33</Width><Weight>1.765</Weight></Piece>
</Pieces></BkgDetails>
<To>
<CountryCode>MT</CountryCode>
<Postalcode></Postalcode>
</To></GetQuote>
</p:DCTRequest>DHL Response: Response><Note><Condition><ConditionCode>3021</ConditionCode><ConditionData>The destination country MT location postal code or City is invalid. Please check the destination country location details.</ConditionData></Condition></Note></GetQuoteResponse></res:DCTResponse>
This is happening for all countries that use the city not the postcode to return the rate. Please can you advise?
- The topic ‘DHL plugin no shipping methods using country & city information only’ is closed to new replies.