• Resolved masud270

    (@masud270)


    i install and configure DHL plugin but it not shown with checkout,
    product weight already added

    here is DHL request:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <p:DCTRequest xmlns:p=”https://www.dhl.com&#8221; xmlns:p1=”https://www.dhl.com/datatypes&#8221; xmlns:p2=”https://www.dhl.com/DCTRequestdatatypes&#8221; xmlns:xsi=”https://www.w3.org/2001/XMLSchema-instance&#8221; xsi:schemaLocation=”https://www.dhl.com DCT-req.xsd “>
    <GetQuote>
    <Request>
    <ServiceHeader>
    <MessageTime>2018-03-20T15:52:27</MessageTime>
    <MessageReference>1234567890123456789012345678901</MessageReference>
    <SiteID>jucobsas</SiteID>
    <Password>maCbcnQzA0</Password>
    </ServiceHeader>
    </Request>
    <From>
    <CountryCode>CO</CountryCode>
    <City>Bogotá</City>
    </From>
    <BkgDetails>
    <PaymentCountryCode>CO</PaymentCountryCode>
    <Date>2018-03-20</Date>
    <ReadyTime>PT10H21M</ReadyTime>
    <DimensionUnit>CM</DimensionUnit>
    <WeightUnit>KG</WeightUnit>
    <Pieces>

    </Pieces>
    <PaymentAccountNumber>683058590</PaymentAccountNumber>
    <IsDutiable>Y</IsDutiable>
    <NetworkTypeCode>AL</NetworkTypeCode>
    <QtdShp><QtdShpExChrg><SpecialServiceType>II</SpecialServiceType><LocalSpecialServiceType>XCH</LocalSpecialServiceType></QtdShpExChrg></QtdShp>
    <InsuredValue>0</InsuredValue><InsuredCurrency>USD</InsuredCurrency>
    </BkgDetails>
    <To>
    <CountryCode>GB</CountryCode>
    <Postalcode></Postalcode>
    </To>
    <Dutiable><DeclaredCurrency>COP</DeclaredCurrency><DeclaredValue>0</DeclaredValue></Dutiable>
    </GetQuote>
    </p:DCTRequest>

    DHL response:
    <?xml version=”1.0″ encoding=”UTF-8”?><res:ErrorResponse xmlns:res=’https://www.dhl.com&#8217; xmlns:xsi=’https://www.w3.org/2001/XMLSchema-instance&#8217; xsi:schemaLocation= ‘https://www.dhl.com err-res.xsd’>
    <Response>
    <ServiceHeader>
    <MessageTime>2018-03-20T16:52:28+01:00</MessageTime>
    <MessageReference>1234567890123456789012345678901</MessageReference>
    <SiteID>jucobsas</SiteID>
    <Password>jucobsas</Password>
    </ServiceHeader>
    <Status>
    <ActionStatus>Error</ActionStatus>
    <Condition>
    <ConditionCode>111</ConditionCode>
    <ConditionData>Error in parsing request XML:Error: The
    content of element type "Pieces" is
    incomplete, it must match
    "(Piece,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?,Piece?)".
    at line 24, column 14</ConditionData>
    </Condition>
    </Status>
    </Response></res:ErrorResponse><!– ServiceInvocationId:20180320165228_7837_5e28f36f-9d41-4c22-9483-fd5d435fdbe5 –>

    please help me to setup this plugin

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • xadapter

    (@xadapter)

    Hi,

    The error message states that the product is missing dimensions, not sure if you have added weight only, but the plugin requires the product to have both weight and dimension.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘DHL not working with checkout’ is closed to new replies.