0

I have been added the all information about dhl in magento system >> configuration >> sales >> shipping method but all information about dhl is correct even i had confirmed with dhl office and all info are correct.

But still getting the error from DHL in front-end.

DHL This shipping method is currently unavailable in this location. If you would like to ship using this shipping method, please contact us.

enter image description here

2015-10-09T12:05:47+00:00 DEBUG (7): Array
(
    [request] => <?xml version="1.0" encoding="UTF-8"?>
<p:DCTRequest xmlns:p="http://www.dhl.com" xmlns:p1="http://www.dhl.com/datatypes" xmlns:p2="http://www.dhl.com/DCTRequestdatatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com DCT-req.xsd "><GetQuote xmlns=""><Request><ServiceHeader><SiteID>EMUESIRI</SiteID><Password>dHQIl6aesu</Password></ServiceHeader></Request><From><CountryCode>NG</CountryCode><Postalcode>904103</Postalcode><City>Abuja</City></From><BkgDetails><PaymentCountryCode>NG</PaymentCountryCode><Date>2015-10-09</Date><ReadyTime>PT0H00M</ReadyTime><DimensionUnit>CM</DimensionUnit><WeightUnit>KG</WeightUnit><Pieces xmlns=""><Piece xmlns=""><PieceID>1</PieceID><Weight>0.1</Weight></Piece></Pieces><PaymentAccountNumber>365081821</PaymentAccountNumber></BkgDetails><To><CountryCode>NG</CountryCode><Postalcode>450211</Postalcode><City>Asa </City></To></GetQuote></p:DCTRequest>

    [__pid] => 6197
)

2015-10-09T12:05:47+00:00 DEBUG (7): Array
(
    [0] => Error parsing body - doesn't seem to be a chunked message
    [1] => The response is in wrong format.
    [__pid] => 6197
)
  • check your log file shipping_dhlint.log located at var/log and paste your request and response here – Minesh Patel Oct 9 '15 at 12:29
  • have you added Origin address in Shipping Settings ? – Minesh Patel Oct 9 '15 at 12:30
  • FYI do not share your account number here any one can create shipment by using that account number – Minesh Patel Oct 9 '15 at 12:41
  • @MineshPatel i have added the shipping_dhlint error, please.. – Bishal Neupane Oct 12 '15 at 11:15
  • It seems your response is empty – Minesh Patel Oct 13 '15 at 4:11
0

Try to change the "Content-type" to "Non-documents" and "Allowed Methods" to "Express Worldwide".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.