Requested global product code and local product code is not available
-
Hello,
I got our credentials from DHL and am trying to use the plugin, but am having an issue getting any shipping rates returned. Here’s the request and response (credentials have been anonymized):
<?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-09-22T17:50:40</MessageTime> <MessageReference>1234567890123456789012345678901</MessageReference> <SiteID>XXXXX</SiteID> <Password>XXXXX</Password> </ServiceHeader> </Request> <From> <CountryCode>CA</CountryCode> <Postalcode>V5A2H5</Postalcode> </From> <BkgDetails> <PaymentCountryCode>CA</PaymentCountryCode> <Date>2016-09-22</Date> <ReadyTime>PT10H21M</ReadyTime> <DimensionUnit>IN</DimensionUnit> <WeightUnit>LB</WeightUnit> <Pieces> <Piece><PieceID>1</PieceID><PackageTypeCode>BOX</PackageTypeCode><Height>1</Height><Depth>6</Depth><Width>6</Width><Weight>0.141</Weight></Piece> </Pieces> <PaymentAccountNumber>XXXXXX</PaymentAccountNumber> <IsDutiable>N</IsDutiable> <NetworkTypeCode>AL</NetworkTypeCode> </BkgDetails> <To> <CountryCode>CA</CountryCode> <Postalcode>V5N1J8</Postalcode> </To> </GetQuote> </p:DCTRequest>
<?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-09-22T19:50:41.822+01:00</MessageTime><MessageReference>1234567890123456789012345678901</MessageReference><SiteID>XXXXXXX</SiteID></ServiceHeader></Response><BkgDetails><OriginServiceArea/><DestinationServiceArea/></BkgDetails><Note><Condition><ConditionCode>1004</ConditionCode><ConditionData>The requested Global Product Code ${GlobalProductCode} and Local Product Code ${LocalProductCode} is not available based on origin country CA and destination country CA for payment country CA.</ConditionData></Condition></Note></GetQuoteResponse></res:DCTResponse>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Requested global product code and local product code is not available’ is closed to new replies.