• Resolved oppala

    (@oppala)


    Hello mates, I’m using the Basic version of the plugin, and I’m in trouble.

    I have set the Shipping Zone of Brasil to work with the Correios plugin, and well, its working like a charm.

    But the problem is, our site have two deposits, one located here in Brasil, where the shippings will be made with correios.

    And another deposit is in China. All products for other countries except Brasil, will be shipped from there.

    The problem is, when i select any country, like US from the Cart form, it doesnt bring any results. In Debug mode, the results come like:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?><res:DCTResponse xmlns:res='http://www.dhl.com' xmlns:xsi='/2001/XMLSchema-instance' xsi:schemaLocation= 'http://www.dhl.com DCT-Response.xsd'><GetQuoteResponse><Response><ServiceHeader><MessageTime>2017-01-16T16:40:41.221+01:00</MessageTime><MessageReference>1234567890123456789012345678901</MessageReference><SiteID>CIMGBTest</SiteID></ServiceHeader></Response><Note><Condition><ConditionCode>3021</ConditionCode><ConditionData>The destination country US location postal code or City is invalid. Please check the destination country location details.</ConditionData></Condition></Note></GetQuoteResponse></res:DCTResponse>

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

    The basic version of our plugin does not offer any option for switching the account based on the destination.

    The debug response clearly states that the postal code or city provided is invalid.

    Please make sure you have given some valid destination details.

    Thread Starter oppala

    (@oppala)

    I cant understand…

    The Postal Code from our deposit on China is: 518106

    But the code that plugin send to DHL is:

    ?xml version="1.0" encoding="UTF-8"?>
    <p:DCTRequest xmlns:p="http://www.dhl.com" xmlns:p1="http://www.dhl.com/datatypes" xmlns:p2="http://www.dhl.com/DCTRequestdatatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com DCT-req.xsd ">
      <GetQuote>
        <Request>
    		<ServiceHeader>
    			<MessageTime>2017-01-16T17:02:15</MessageTime>
    			<MessageReference>1234567890123456789012345678901</MessageReference>
    			<SiteID>CIMGBTest</SiteID>
    			<Password>DLUntOcJma</Password>
    		</ServiceHeader>
        </Request>
        <From>
    	  <CountryCode>BR</CountryCode>
    	  <Postalcode>518106</Postalcode>
        </From>
        <BkgDetails>
          <PaymentCountryCode>BR</PaymentCountryCode>
          <Date>2017-01-16</Date>
          <ReadyTime>PT10H21M</ReadyTime>
          <DimensionUnit>CM</DimensionUnit>
          <WeightUnit>KG</WeightUnit>
          <Pieces>
    		<Piece><PieceID>1</PieceID><PackageTypeCode>BOX</PackageTypeCode><Height>4</Height><Depth>7</Depth><Width>7</Width><Weight>0.15</Weight></Piece>
    	  </Pieces>
    	  
    	  <IsDutiable>Y</IsDutiable>
    	  <NetworkTypeCode>AL</NetworkTypeCode>
              
    	  <InsuredValue>20</InsuredValue><InsuredCurrency>BRL</InsuredCurrency>
    	  </BkgDetails>
        <To>
          <CountryCode>US</CountryCode>
    	  <Postalcode>87107</Postalcode>
        </To>
    	<Dutiable><DeclaredCurrency>BRL</DeclaredCurrency><DeclaredValue>20</DeclaredValue></Dutiable>
      </GetQuote>
    </p:DCTRequest>

    As I can see, the problem is that the PostCode from shipper is being sent as Brasil, but its China…

    Maybe it can be the error???

    I’m really in trouble to set it up!!!

    http://www.hondarskateboard.com/carrinho/

    Thread Starter oppala

    (@oppala)

    I’ve changed Store Base location, in Woocommerce Setings…

    now, the response returns something different, but nothing changes on the shipping prices and methods at the shipping calculator..

    <?xml version="1.0" encoding="UTF-8" standalone="no"?><res:DCTResponse xmlns:res='http://www.dhl.com' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation= 'http://www.dhl.com DCT-Response.xsd'><GetQuoteResponse><Response><ServiceHeader><MessageTime>2017-01-16T18:15:23.526+01:00</MessageTime><MessageReference>1234567890123456789012345678901</MessageReference><SiteID>CIMGBTest</SiteID></ServiceHeader></Response><BkgDetails><OriginServiceArea><FacilityCode>SZS</FacilityCode><ServiceAreaCode>SZX</ServiceAreaCode></OriginServiceArea><DestinationServiceArea><FacilityCode>NOC</FacilityCode><ServiceAreaCode>PEK</ServiceAreaCode></DestinationServiceArea><QtdShp><GlobalProductCode>G</GlobalProductCode><LocalProductCode>G</LocalProductCode><ProductShortName>ECONOMY SELECT DOMESTIC</ProductShortName><LocalProductName>ECONOMY SELECT DOMESTIC</LocalProductName><NetworkTypeCode>DD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd><PickupDate>2017-01-16</PickupDate><PickupCutoffTime>PT14H30M</PickupCutoffTime><BookingTime>PT12H30M</BookingTime><ExchangeRate>1.000000</ExchangeRate><WeightCharge>0</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>3</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-01-19</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>1</PickupDayOfWeekNum><DestinationDayOfWeekNum>4</DestinationDayOfWeekNum><PricingDate>2017-01-16</PricingDate><ShippingCharge>0.000</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp><QtdShp><GlobalProductCode>7</GlobalProductCode><LocalProductCode>7</LocalProductCode><ProductShortName>EXPRESS EASY</ProductShortName><LocalProductName>EXPRESS EASY</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd><PickupDate>2017-01-16</PickupDate><PickupCutoffTime>PT14H30M</PickupCutoffTime><BookingTime>PT12H30M</BookingTime><ExchangeRate>1.000000</ExchangeRate><WeightCharge>0</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>2</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-01-18</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>1</PickupDayOfWeekNum><DestinationDayOfWeekNum>3</DestinationDayOfWeekNum><PricingDate>2017-01-16</PricingDate><ShippingCharge>0.000</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp><QtdShp><GlobalProductCode>N</GlobalProductCode><LocalProductCode>N</LocalProductCode><ProductShortName>EXPRESS DOMESTIC</ProductShortName><LocalProductName>EXPRESS DOMESTIC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>N</POfferedCustAgreement><TransInd>Y</TransInd><PickupDate>2017-01-16</PickupDate><PickupCutoffTime>PT14H30M</PickupCutoffTime><BookingTime>PT12H30M</BookingTime><ExchangeRate>1.000000</ExchangeRate><WeightCharge>0</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>2</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-01-18</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>1</PickupDayOfWeekNum><DestinationDayOfWeekNum>3</DestinationDayOfWeekNum><PricingDate>2017-01-16</PricingDate><ShippingCharge>0.000</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp></BkgDetails><Srvs><Srv><GlobalProductCode>G</GlobalProductCode><MrkSrv><LocalProductCode>G</LocalProductCode><ProductShortName>ECONOMY SELECT DOMESTIC</ProductShortName><LocalProductName>ECONOMY SELECT DOMESTIC</LocalProductName><NetworkTypeCode>DD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd></MrkSrv></Srv><Srv><GlobalProductCode>7</GlobalProductCode><MrkSrv><LocalProductCode>7</LocalProductCode><ProductShortName>EXPRESS EASY</ProductShortName><LocalProductName>EXPRESS EASY</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd></MrkSrv></Srv><Srv><GlobalProductCode>N</GlobalProductCode><MrkSrv><LocalProductCode>N</LocalProductCode><ProductShortName>EXPRESS DOMESTIC</ProductShortName><LocalProductName>EXPRESS DOMESTIC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>N</POfferedCustAgreement><TransInd>Y</TransInd></MrkSrv></Srv></Srvs></GetQuoteResponse></res:DCTResponse>

    I just analyzed the debug data shared by you.

    The API is returning service, however, no rate is returned for the services.

    Kindly contact DHL as this seems to be an account related issue.

    Thread Starter oppala

    (@oppala)

    What do you think? Its because I’m using CIMGBTest?

    Or its a matter with the Account number?

    What should I ask for DHL?

    Hi Oppala,
    This seems to be an issue with the account you are using. Please contact DHL along with the request and response.

    Thread Starter oppala

    (@oppala)

    Hey Elvin.

    Were trying to create this Site Id and Password, but the China DHL representants dont know nothing about it.

    Anyway, using the Test Site ID and Pass provided by Wooforce, this is what is returning on shipping calculator.

    No prices, rates or shipping methods are displaying.

    <?xml version="1.0" encoding="UTF-8" standalone="no"?><res:DCTResponse xmlns:res='http://www.dhl.com' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation= 'http://www.dhl.com DCT-Response.xsd'><GetQuoteResponse><Response><ServiceHeader><MessageTime>2017-01-20T13:41:14.339+01:00</MessageTime><MessageReference>1234567890123456789012345678901</MessageReference><SiteID>CIMGBTest</SiteID></ServiceHeader></Response><BkgDetails><OriginServiceArea><FacilityCode>SZS</FacilityCode><ServiceAreaCode>SZX</ServiceAreaCode></OriginServiceArea><DestinationServiceArea><FacilityCode>MKE</FacilityCode><ServiceAreaCode>MKE</ServiceAreaCode></DestinationServiceArea><QtdShp><GlobalProductCode>8</GlobalProductCode><LocalProductCode>8</LocalProductCode><ProductShortName>EXPRESS EASY</ProductShortName><LocalProductName>EXPRESS EASY NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd><PickupDate>2017-01-20</PickupDate><PickupCutoffTime>PT20H</PickupCutoffTime><BookingTime>PT18H</BookingTime><ExchangeRate>1.000000</ExchangeRate><WeightCharge>0</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>3</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>2</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-01-25</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>5</PickupDayOfWeekNum><DestinationDayOfWeekNum>3</DestinationDayOfWeekNum><PricingDate>2017-01-20</PricingDate><ShippingCharge>0.000</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp><QtdShp><GlobalProductCode>P</GlobalProductCode><LocalProductCode>P</LocalProductCode><ProductShortName>EXPRESS WORLDWIDE</ProductShortName><LocalProductName>EXPRESS WORLDWIDE NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>N</POfferedCustAgreement><TransInd>Y</TransInd><PickupDate>2017-01-20</PickupDate><PickupCutoffTime>PT20H</PickupCutoffTime><BookingTime>PT18H</BookingTime><ExchangeRate>1.000000</ExchangeRate><WeightCharge>0</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>3</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>2</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-01-25</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>5</PickupDayOfWeekNum><DestinationDayOfWeekNum>3</DestinationDayOfWeekNum><PricingDate>2017-01-20</PricingDate><ShippingCharge>0.000</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp><QtdShp><GlobalProductCode>Q</GlobalProductCode><LocalProductCode>Q</LocalProductCode><ProductShortName>MEDICAL EXPRESS</ProductShortName><LocalProductName>MEDICAL EXPRESS</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd><PickupDate>2017-01-20</PickupDate><PickupCutoffTime>PT20H</PickupCutoffTime><BookingTime>PT18H</BookingTime><ExchangeRate>1.000000</ExchangeRate><WeightCharge>0</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>3</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>2</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-01-25</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>5</PickupDayOfWeekNum><DestinationDayOfWeekNum>3</DestinationDayOfWeekNum><PricingDate>2017-01-20</PricingDate><ShippingCharge>0.000</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>0</WeightCharge><TotalAmount>0.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp></BkgDetails><Srvs><Srv><GlobalProductCode>8</GlobalProductCode><MrkSrv><LocalProductCode>8</LocalProductCode><ProductShortName>EXPRESS EASY</ProductShortName><LocalProductName>EXPRESS EASY NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd></MrkSrv></Srv><Srv><GlobalProductCode>P</GlobalProductCode><MrkSrv><LocalProductCode>P</LocalProductCode><ProductShortName>EXPRESS WORLDWIDE</ProductShortName><LocalProductName>EXPRESS WORLDWIDE NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>N</POfferedCustAgreement><TransInd>Y</TransInd></MrkSrv></Srv><Srv><GlobalProductCode>Q</GlobalProductCode><MrkSrv><LocalProductCode>Q</LocalProductCode><ProductShortName>MEDICAL EXPRESS</ProductShortName><LocalProductName>MEDICAL EXPRESS</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd></MrkSrv></Srv></Srvs></GetQuoteResponse></res:DCTResponse>

    I have tested this on my test server,

    I confirm that the rates are not coming because of the erratic test servers of DHL.

    Usually, the test servers of DHL are erratic and do not return rates.

    You may need to switch to live server to get the rates.

    Thread Starter oppala

    (@oppala)

    Ni, I didn’t get what you said about live server.

    Where I “switch” to live?

    In contact with the DHL China, they send-me a linke to https://xmlpi-ea.dhl.com/, wheres there a developer manual to xml and stuff. But ain’t site name and password, or even talked about that.

    So today I’ll be testing it as it was again. If it dont work, what you mean by “switch to live”, please?

    It has been tree weeks since I’m trying to setup this plugin.

    Hi Oppala,

    Our Plugin will take care of XML once you enter the live credential.

    The plugin automatically switch the link, once you enable the production mode

    Kindly you may need contact DHL account manager to get live credentials.

    Once you got the live account details you can fill them in corresponding columns on plugin settings page.

    Thread Starter oppala

    (@oppala)

    Ni WooForce!

    Finally i’ve got support from DHL, and they’ve created our live credentials.

    Anyway, the shipping prices are returning incorrect.

    Sending a product with 0.150kg and 10x10x5cm from China Guangdong 518106 to Taiwan Taipei 111, will cost in fact around 3 dollars, but the DHL Calculator return with U$33,984 with the EXPRESS WORLDWIDE method only.

    What is going wrong?

    <?xml version="1.0" encoding="UTF-8" standalone="no"?><res:DCTResponse xmlns:res='http://www.dhl.com' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation= 'http://www.dhl.com DCT-Response.xsd'><GetQuoteResponse><Response><ServiceHeader><MessageTime>2017-02-12T15:27:22.461+01:00</MessageTime><MessageReference>1234567890123456789012345678901</MessageReference><SiteID>xmlHondarSka</SiteID></ServiceHeader></Response><BkgDetails><OriginServiceArea><FacilityCode>SZS</FacilityCode><ServiceAreaCode>SZX</ServiceAreaCode></OriginServiceArea><DestinationServiceArea><FacilityCode>ESY</FacilityCode><ServiceAreaCode>TPE</ServiceAreaCode></DestinationServiceArea><QtdShp><GlobalProductCode>Q</GlobalProductCode><LocalProductCode>Q</LocalProductCode><ProductShortName>MEDICAL EXPRESS</ProductShortName><LocalProductName>MEDICAL EXPRESS</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd><PickupDate>2017-02-13</PickupDate><PickupCutoffTime>PT18H</PickupCutoffTime><BookingTime>PT16H</BookingTime><CurrencyCode>CNY</CurrencyCode><ExchangeRate>0.146167</ExchangeRate><WeightCharge>352.800</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>1</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-02-14</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>1</PickupDayOfWeekNum><DestinationDayOfWeekNum>2</DestinationDayOfWeekNum><QtdShpExChrg><SpecialServiceType>FF</SpecialServiceType><LocalServiceType>FF</LocalServiceType><GlobalServiceName>FUEL SURCHARGE</GlobalServiceName><LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName><ChargeCodeType>SCH</ChargeCodeType><CurrencyCode>CNY</CurrencyCode><ChargeValue>44.100</ChargeValue><QtdSExtrChrgInAdCur><ChargeValue>44.100</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>44.100</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>6.450</ChargeValue><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur></QtdShpExChrg><PricingDate>2017-02-12</PricingDate><ShippingCharge>396.900</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>352.800</WeightCharge><TotalAmount>396.900</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>352.800</WeightCharge><TotalAmount>396.900</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>51.570</WeightCharge><TotalAmount>58.010</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp><QtdShp><GlobalProductCode>P</GlobalProductCode><LocalProductCode>P</LocalProductCode><ProductShortName>EXPRESS WORLDWIDE</ProductShortName><LocalProductName>EXPRESS WORLDWIDE NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>N</POfferedCustAgreement><TransInd>Y</TransInd><PickupDate>2017-02-13</PickupDate><PickupCutoffTime>PT18H</PickupCutoffTime><BookingTime>PT16H</BookingTime><CurrencyCode>CNY</CurrencyCode><ExchangeRate>0.146167</ExchangeRate><WeightCharge>205.800</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>1</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-02-14</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>1</PickupDayOfWeekNum><DestinationDayOfWeekNum>2</DestinationDayOfWeekNum><QtdShpExChrg><SpecialServiceType>FF</SpecialServiceType><LocalServiceType>FF</LocalServiceType><GlobalServiceName>FUEL SURCHARGE</GlobalServiceName><LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName><ChargeCodeType>SCH</ChargeCodeType><CurrencyCode>CNY</CurrencyCode><ChargeValue>25.730</ChargeValue><QtdSExtrChrgInAdCur><ChargeValue>25.730</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>25.730</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>3.760</ChargeValue><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur></QtdShpExChrg><PricingDate>2017-02-12</PricingDate><ShippingCharge>231.530</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>205.800</WeightCharge><TotalAmount>231.530</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>205.800</WeightCharge><TotalAmount>231.530</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>30.080</WeightCharge><TotalAmount>33.840</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp><QtdShp><GlobalProductCode>8</GlobalProductCode><LocalProductCode>8</LocalProductCode><ProductShortName>EXPRESS EASY</ProductShortName><LocalProductName>EXPRESS EASY NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd><PickupDate>2017-02-13</PickupDate><PickupCutoffTime>PT18H</PickupCutoffTime><BookingTime>PT16H</BookingTime><CurrencyCode>CNY</CurrencyCode><ExchangeRate>0.146167</ExchangeRate><WeightCharge>379.000</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>1</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-02-14</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>1</PickupDayOfWeekNum><DestinationDayOfWeekNum>2</DestinationDayOfWeekNum><QtdShpExChrg><SpecialServiceType>FF</SpecialServiceType><LocalServiceType>FF</LocalServiceType><GlobalServiceName>FUEL SURCHARGE</GlobalServiceName><LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName><ChargeCodeType>SCH</ChargeCodeType><CurrencyCode>CNY</CurrencyCode><ChargeValue>0.000</ChargeValue><QtdSExtrChrgInAdCur><ChargeValue>0.000</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>0.000</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>0.000</ChargeValue><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur></QtdShpExChrg><PricingDate>2017-02-12</PricingDate><ShippingCharge>379.000</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>379.000</WeightCharge><TotalAmount>379.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>379.000</WeightCharge><TotalAmount>379.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>55.400</WeightCharge><TotalAmount>55.400</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp><QtdShp><GlobalProductCode>P</GlobalProductCode><LocalProductCode>P</LocalProductCode><ProductShortName>EXPRESS WORLDWIDE</ProductShortName><LocalProductName>EXPRESS WORLDWIDE NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>N</POfferedCustAgreement><TransInd>Y</TransInd><PickupDate>2017-02-13</PickupDate><PickupCutoffTime>PT20H</PickupCutoffTime><BookingTime>PT18H</BookingTime><CurrencyCode>CNY</CurrencyCode><ExchangeRate>0.146167</ExchangeRate><WeightCharge>205.800</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>2</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-02-15</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>1</PickupDayOfWeekNum><DestinationDayOfWeekNum>3</DestinationDayOfWeekNum><QtdShpExChrg><SpecialServiceType>FF</SpecialServiceType><LocalServiceType>FF</LocalServiceType><GlobalServiceName>FUEL SURCHARGE</GlobalServiceName><LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName><ChargeCodeType>SCH</ChargeCodeType><CurrencyCode>CNY</CurrencyCode><ChargeValue>25.730</ChargeValue><QtdSExtrChrgInAdCur><ChargeValue>25.730</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>25.730</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>3.760</ChargeValue><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur></QtdShpExChrg><PricingDate>2017-02-12</PricingDate><ShippingCharge>231.530</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>205.800</WeightCharge><TotalAmount>231.530</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>205.800</WeightCharge><TotalAmount>231.530</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>30.080</WeightCharge><TotalAmount>33.840</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp><QtdShp><GlobalProductCode>8</GlobalProductCode><LocalProductCode>8</LocalProductCode><ProductShortName>EXPRESS EASY</ProductShortName><LocalProductName>EXPRESS EASY NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd><PickupDate>2017-02-13</PickupDate><PickupCutoffTime>PT20H</PickupCutoffTime><BookingTime>PT18H</BookingTime><CurrencyCode>CNY</CurrencyCode><ExchangeRate>0.146167</ExchangeRate><WeightCharge>379.000</WeightCharge><WeightChargeTax>0.000</WeightChargeTax><TotalTransitDays>2</TotalTransitDays><PickupPostalLocAddDays>0</PickupPostalLocAddDays><DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays><PickupNonDHLCourierCode> </PickupNonDHLCourierCode><DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode><DeliveryDate>2017-02-15</DeliveryDate><DeliveryTime>PT23H59M</DeliveryTime><DimensionalWeight>0.150</DimensionalWeight><WeightUnit>KG</WeightUnit><PickupDayOfWeekNum>1</PickupDayOfWeekNum><DestinationDayOfWeekNum>3</DestinationDayOfWeekNum><QtdShpExChrg><SpecialServiceType>FF</SpecialServiceType><LocalServiceType>FF</LocalServiceType><GlobalServiceName>FUEL SURCHARGE</GlobalServiceName><LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName><ChargeCodeType>SCH</ChargeCodeType><CurrencyCode>CNY</CurrencyCode><ChargeValue>0.000</ChargeValue><QtdSExtrChrgInAdCur><ChargeValue>0.000</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>0.000</ChargeValue><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur><QtdSExtrChrgInAdCur><ChargeValue>0.000</ChargeValue><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode></QtdSExtrChrgInAdCur></QtdShpExChrg><PricingDate>2017-02-12</PricingDate><ShippingCharge>379.000</ShippingCharge><TotalTaxAmount>0.000</TotalTaxAmount><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode><WeightCharge>379.000</WeightCharge><TotalAmount>379.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>CNY</CurrencyCode><CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode><WeightCharge>379.000</WeightCharge><TotalAmount>379.000</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur><QtdSInAdCur><CurrencyCode>USD</CurrencyCode><CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode><WeightCharge>55.400</WeightCharge><TotalAmount>55.400</TotalAmount><TotalTaxAmount>0.000</TotalTaxAmount><WeightChargeTax>0.000</WeightChargeTax></QtdSInAdCur></QtdShp></BkgDetails><Srvs><Srv><GlobalProductCode>Q</GlobalProductCode><MrkSrv><LocalProductCode>Q</LocalProductCode><ProductShortName>MEDICAL EXPRESS</ProductShortName><LocalProductName>MEDICAL EXPRESS</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd></MrkSrv><MrkSrv><LocalServiceType>FF</LocalServiceType><GlobalServiceName>FUEL SURCHARGE</GlobalServiceName><LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName><ChargeCodeType>SCH</ChargeCodeType><MrkSrvInd>N</MrkSrvInd></MrkSrv></Srv><Srv><GlobalProductCode>P</GlobalProductCode><MrkSrv><LocalProductCode>P</LocalProductCode><ProductShortName>EXPRESS WORLDWIDE</ProductShortName><LocalProductName>EXPRESS WORLDWIDE NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>N</POfferedCustAgreement><TransInd>Y</TransInd></MrkSrv><MrkSrv><LocalServiceType>FF</LocalServiceType><GlobalServiceName>FUEL SURCHARGE</GlobalServiceName><LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName><ChargeCodeType>SCH</ChargeCodeType><MrkSrvInd>N</MrkSrvInd></MrkSrv></Srv><Srv><GlobalProductCode>8</GlobalProductCode><MrkSrv><LocalProductCode>8</LocalProductCode><ProductShortName>EXPRESS EASY</ProductShortName><LocalProductName>EXPRESS EASY NONDOC</LocalProductName><NetworkTypeCode>TD</NetworkTypeCode><POfferedCustAgreement>Y</POfferedCustAgreement><TransInd>N</TransInd></MrkSrv><MrkSrv><LocalServiceType>FF</LocalServiceType><GlobalServiceName>FUEL SURCHARGE</GlobalServiceName><LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName><ChargeCodeType>SCH</ChargeCodeType><MrkSrvInd>N</MrkSrvInd></MrkSrv></Srv></Srvs></GetQuoteResponse></res:DCTResponse>

    • This reply was modified 7 years, 2 months ago by oppala.
    • This reply was modified 7 years, 2 months ago by oppala.

    @oppala,

    Can you please provide the debug request as well. So that I can analyse the issue properly.

    Note: Please don’t forget to remove sensitive data from the debug request.

    Thread Starter oppala

    (@oppala)

    Yes Ill copy the request xml right below.

    I think may be some trouble to converting from Chinese Yenes do US Dollars…

    The code:

    <?xml version="1.0" encoding="UTF-8"?>
    <p:DCTRequest xmlns:p="http://www.dhl.com" xmlns:p1="http://www.dhl.com/datatypes" xmlns:p2="http://www.dhl.com/DCTRequestdatatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com DCT-req.xsd ">
      <GetQuote>
        <Request>
    		<ServiceHeader>
    			<MessageTime>2017-02-13T12:13:27</MessageTime>
    			<MessageReference>1234567890123456789012345678901</MessageReference>
    			<SiteID>SITE ID</SiteID>
    			<Password>THATS THE PASSWORD</Password>
    		</ServiceHeader>
        </Request>
        <From>
    	  <CountryCode>CN</CountryCode>
    	  <Postalcode>518106</Postalcode>
        </From>
        <BkgDetails>
          <PaymentCountryCode>CN</PaymentCountryCode>
          <Date>2017-02-13</Date>
          <ReadyTime>PT10H21M</ReadyTime>
          <DimensionUnit>CM</DimensionUnit>
          <WeightUnit>KG</WeightUnit>
          <Pieces>
    		<Piece><PieceID>1</PieceID><PackageTypeCode>BOX</PackageTypeCode><Height>4</Height><Depth>7</Depth><Width>7</Width><Weight>0.15</Weight></Piece>
    	  </Pieces>
    	  <PaymentAccountNumber>603159945</PaymentAccountNumber>
    	  <IsDutiable>Y</IsDutiable>
    	  <NetworkTypeCode>AL</NetworkTypeCode>
              
    	  
    	  </BkgDetails>
        <To>
          <CountryCode>TW</CountryCode>
    	  <Postalcode>111</Postalcode>
        </To>
    	<Dutiable><DeclaredCurrency>USD</DeclaredCurrency><DeclaredValue>6</DeclaredValue></Dutiable>
      </GetQuote>
    </p:DCTRequest>

    I just analysed the debug data you provided.

    The API is returning the rate 231.53 CNY and 33.840 USD for the service EXPRESS WORLDWIDE.

    Can you please have some words from DHL side if the rates are wrong?
    As our plugin designed to display the rate returned from DHL API

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘DHL as Shipping Method’ is closed to new replies.