• Resolved nickynetinv

    (@nickynetinv)


    When I visit the checkout page where I’m asked enter my billing information I get the following debug errors. What may be the issue here?

    Here is the full request:

    <?xml version="1.0" encoding="UTF-8"?>
    <p:DCTRequest xmlns:p="https://www.dhl.com" xmlns:p1="https://www.dhl.com/datatypes" xmlns:p2="https://www.dhl.com/DCTRequestdatatypes" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.dhl.com DCT-req.xsd ">
      <GetQuote>
        <Request>
    		<ServiceHeader>
    			<MessageTime>2016-08-24T13:31:53</MessageTime>
    			<MessageReference>1234567890123456789012345678901</MessageReference>
    			<SiteID>CIMGBTest</SiteID>
    			<Password>DLUntOcJma</Password>
    		</ServiceHeader>
        </Request>
        <From>
    	  <CountryCode>US</CountryCode>
    	  <Postalcode>33324</Postalcode>
        </From>
        <BkgDetails>
          <PaymentCountryCode>US</PaymentCountryCode>
          <Date>2016-08-24</Date>
          <ReadyTime>PT10H21M</ReadyTime>
          <DimensionUnit>IN</DimensionUnit>
          <WeightUnit>LB</WeightUnit>
          <Pieces>
    		<Piece><PieceID>1</PieceID><PackageTypeCode>BOX</PackageTypeCode><Height>2</Height><Depth>5</Depth><Width>3</Width><Weight>0.65</Weight></Piece>
    	  </Pieces>
    
    	  <IsDutiable>N</IsDutiable>
    	  <NetworkTypeCode>AL</NetworkTypeCode>
    
    	  </BkgDetails>
        <To>
          <CountryCode>US</CountryCode>
    	  <Postalcode>33324</Postalcode>
        </To>
    
      </GetQuote>
    </p:DCTRequest>

    The Response

    <?xml version="1.0" encoding="UTF-8" standalone="no"?><res:DCTResponse xmlns:res='https://www.dhl.com' xmlns:xsi='https://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation= 'https://www.dhl.com DCT-Response.xsd'><GetQuoteResponse><Response><ServiceHeader><MessageTime>2016-08-24T15:31:54.560+01:00</MessageTime><MessageReference>1234567890123456789012345678901</MessageReference><SiteID>CIMGBTest</SiteID></ServiceHeader></Response><BkgDetails><OriginServiceArea/><DestinationServiceArea/></BkgDetails><Note><Condition><ConditionCode>1005</ConditionCode><ConditionData>The origin and destination offers this product capability but the shipment restrictions does not allow any product availability.Please change the search criteria or contact Customer Service  for more details.</ConditionData></Condition></Note></GetQuoteResponse></res:DCTResponse>

    Here is a screenshot of the shipping requirements as they are entered into the product:

    https://screencast.com/t/wQGcS1pMiD

    https://www.ads-software.com/plugins/dhl-woocommerce-shipping-method/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Nickynetinv,

    For some countries DHL does not operate at domestic level, it operates at international level.

    Also, this issue usually happens if you are using a test account. As DHL test servers are erratic and do not return rates. However, production servers work without fail.

    We would suggest you to contact DHL or ask your DHL ACCOUNT MANAGER to check this.

    Thread Starter nickynetinv

    (@nickynetinv)

    Alright, thanks for your reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error saying "Shipment Restrictions don't allow availability"’ is closed to new replies.