• Resolved dkonakh

    (@dkonakh)


    Hi!
    I installed an DHL plugin and use test credentials:

    SiteID: CIMGBTest

    Password: DLUntOcJma

    https://awesomescreenshot.com/0e369gtn77

    and get always response – Postcode not found. Expected formats: <country specific post code format>

    debug data:

    DHL 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>2017-03-10T08:38:26</MessageTime>
    			<MessageReference>1234567890123456789012345678901</MessageReference>
    			<SiteID>CIMGBTest</SiteID>
    			<Password>DLUntOcJma</Password>
    		</ServiceHeader>
        </Request>
        <From>
    	  <CountryCode>GB</CountryCode>
    	  <Postalcode>10027</Postalcode>
        </From>
        <BkgDetails>
          <PaymentCountryCode>GB</PaymentCountryCode>
          <Date>2017-03-10</Date>
          <ReadyTime>PT10H21M</ReadyTime>
          <DimensionUnit>CM</DimensionUnit>
          <WeightUnit>KG</WeightUnit>
          <Pieces>
    		<Piece><PieceID>1</PieceID><PackageTypeCode>BOX</PackageTypeCode><Height>30</Height><Depth>100</Depth><Width>40</Width><Weight>20</Weight></Piece>
    	  </Pieces>
    	  
    	  <IsDutiable>N</IsDutiable>
    	  <NetworkTypeCode>AL</NetworkTypeCode>
              
    	  <InsuredValue>100</InsuredValue><InsuredCurrency>GBP</InsuredCurrency>
    	  </BkgDetails>
        <To>
          <CountryCode>GB</CountryCode>
    	  <Postalcode>WC2N5RJ</Postalcode>
        </To>
    	
      </GetQuote>
    </p:DCTRequest>

    DHL 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>2017-03-10T09:39:17.859+01:00</MessageTime><MessageReference>1234567890123456789012345678901</MessageReference><SiteID>CIMGBTest</SiteID></ServiceHeader></Response><Note><Condition><ConditionCode>3024</ConditionCode><ConditionData>Postcode not found. Expected formats: <country specific post code format></ConditionData></Condition></Note></GetQuoteResponse></res:DCTResponse>

    Can you help me?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘RESPONSE: Postcode not found’ is closed to new replies.