Support » Plugin: DHL WooCommerce Shipping Method » Error Setting up the plug in

  • Resolved calvinboroto

    (@calvinboroto)


    Im trying to set up the pluging for one of my clients and im getting this error message

    “Error in parsing request XML:The reference to entity “XRo7Y” must end with the ‘;’ delimiter.”

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

    Please turn on the debug mode and while calculating shipping cost copy and attach the debug data here.

    And let me know when are you getting the error message, is it cart or checkout?

    Regards,

    Thread Starter calvinboroto

    (@calvinboroto)

    Sorry please this is the message I got from the check out page

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <p:DCTRequest xmlns:p=”http://www.dhl.com&#8221;
    xmlns:p1=”http://www.dhl.com/datatypes&#8221;
    xmlns:p2=”http://www.dhl.com/DCTRequestdatatypes&#8221;
    xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221;
    xsi:schemaLocation=”http://www.dhl.com DCT-req.xsd “>
    <GetQuote>
    <Request>
    <ServiceHeader>
    <MessageTime>2018-05-30T14:05:32</MessageTime>
    <MessageReference>1234567890123456789012345678901</MessageReference>
    <SiteID>v62_bFeCOGFG83</SiteID>
    <Password>6;/Password>
    </ServiceHeader>
    </Request>
    <From>
    <CountryCode>CA</CountryCode>
    <Postalcode></Postalcode>
    </From>
    <BkgDetails>
    <PaymentCountryCode>CA</PaymentCountryCode>
    <Date>2018-05-30</Date>
    <ReadyTime>PT10H21M</ReadyTime>
    <DimensionUnit>CM</DimensionUnit>
    <WeightUnit>KG</WeightUnit>
    <Pieces>
    <Piece><PieceID>1</PieceID><PackageTypeCode>BOX</PackageTypeCode><Height>
    5</Height><Depth>40</Depth><Width>30</Width><Weight>1.3</Weight></Piece>
    </Pieces>
    <PaymentAccountNumber>305472216</PaymentAccountNumber>
    <IsDutiable>Y</IsDutiable>
    <NetworkTypeCode>AL</NetworkTypeCode>

    </BkgDetails>
    <To>
    <CountryCode>US</CountryCode>
    <Postalcode>85001</Postalcode>
    </To>
    <Dutiable><DeclaredCurrency>USD</DeclaredCurrency><DeclaredValue>472</Decl
    aredValue></Dutiable>
    </GetQuote>
    </p:DCTRequest>

    DHL RESPONSE:

    <?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?><res:DCTResponse
    xmlns:res=’http://www.dhl.com&#8217;
    xmlns:xsi=’http://www.w3.org/2001/XMLSchema-instance&#8217; xsi:schemaLocation=
    http://www.dhl.com DCT-Response.xsd’>
    <GetQuoteResponse>
    <Response>
    <ServiceHeader>
    <MessageTime>2018-05-30T16:05:31.737+01:00</MessageTime>

    <MessageReference>1234567890123456789012345678901</MessageReference>
    <SiteID>v62_bFeCOGFG83</SiteID>
    </ServiceHeader>
    </Response>
    <Note>
    <Condition>
    <ConditionCode>340004</ConditionCode>
    <ConditionData>The location information is missing. At
    least one attribute post code, city name or suburb name should be
    provided</ConditionData>
    </Condition>
    <Condition>
    <ConditionCode>220001</ConditionCode>
    <ConditionData>Failure – request</ConditionData>
    </Condition>
    </Note>
    </GetQuoteResponse></res:DCTResponse><!–
    ServiceInvocationId:20180530160531_8979_64fea427-8e42-4d0e-a384-9cf4cfaf114
    4 —>

    • This reply was modified 2 years, 10 months ago by calvinboroto.

    Hi,

    Based on the debug data, the ship from address is missing in the plugin settings. please enter the ship from address and try again.

    Regards,

    Also the SiteID password might be incorrect, please check if you have entered the correct password, it shouldn’t contain special characters

    Thread Starter calvinboroto

    (@calvinboroto)

    I did put in the address, still nothing

    Hi,

    If its still not working with the added ship from address in the plugin settings, the issue could be because of a special character in the siteID password “;”

    Please change it and try again.

    Regards,

    Thread Starter calvinboroto

    (@calvinboroto)

    sorry i change it to look that way, it says the id is correct and the password to, now when i i preview the shop, i get a message that says

    “There are no shipping methods available. Please check your address or contact us if you need any help.”

    Hi,

    Please raise an online ticket here: xadapter.com/online-support so that I can check the issue.

    Regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error Setting up the plug in’ is closed to new replies.