Support » Plugin: DHL WooCommerce Shipping Method » Shipping Method won’t appear

  • Resolved leokan23

    (@leokan23)


    I have added the free version of the plugin in my site to test it, but although it seems to work ok, no dhl shipping option is available. All I get is “There Are No Shipping Methods Available.”

    The request and response look ok to me. Can you help?

    Request:

    <?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>2018-06-08T11:28:55</MessageTime>
    			<MessageReference>1234567890123456789012345678901</MessageReference>
    			<SiteID>ID</SiteID>
    			<Password>PASS</Password>
    		</ServiceHeader>
        </Request>
        <From>
    	  <CountryCode>GR</CountryCode>
    	  <Postalcode>17676</Postalcode><City>Athens</City>
        </From>
        <BkgDetails>
          <PaymentCountryCode>GR</PaymentCountryCode>
          <Date>2018-06-08</Date>
          <ReadyTime>PT10H21M</ReadyTime>
          <DimensionUnit>CM</DimensionUnit>
          <WeightUnit>KG</WeightUnit>
          <Pieces>
    		<Piece><PieceID>1</PieceID><PackageTypeCode>BOX</PackageTypeCode><Height>1</Height><Depth>35</Depth><Width>25</Width><Weight>0.1</Weight></Piece>
    	  </Pieces>
    	  <PaymentAccountNumber>311460768</PaymentAccountNumber>
    	  <IsDutiable>N</IsDutiable>
    	  <NetworkTypeCode>AL</NetworkTypeCode>
              
    	  
    	  </BkgDetails>
        <To>
          <CountryCode>GR</CountryCode>
    	  <Postalcode>16231</Postalcode><City>ATHENS</City>
        </To>
    	
      </GetQuote>
    </p:DCTRequest>

    Response:

    <?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>2018-06-08T13:28:57.228+01:00</MessageTime>
                    <MessageReference>1234567890123456789012345678901</MessageReference>
                    <SiteID>v62_VjQ5L8gaiE</SiteID>
                </ServiceHeader>
            </Response>
            <BkgDetails>
                <OriginServiceArea>
                    <FacilityCode>AEC</FacilityCode>
                    <ServiceAreaCode>ATH</ServiceAreaCode>
                </OriginServiceArea>
                <DestinationServiceArea>
                    <FacilityCode>NOC</FacilityCode>
                    <ServiceAreaCode>ATH</ServiceAreaCode>
                </DestinationServiceArea>
                <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>2018-06-08</PickupDate>
                    <PickupCutoffTime>PT17H</PickupCutoffTime>
                    <BookingTime>PT16H</BookingTime>
                    <ExchangeRate>0.000</ExchangeRate>
                    <WeightCharge>0</WeightCharge>
                    <WeightChargeTax>0.000</WeightChargeTax>
                    <TotalTransitDays>1</TotalTransitDays>
                    <PickupPostalLocAddDays>0</PickupPostalLocAddDays>
                    <DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays>
                    <PickupNonDHLCourierCode> </PickupNonDHLCourierCode>
                    <DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode>
                    <DeliveryDate>2018-06-11</DeliveryDate>
                    <DeliveryTime>PT23H59M</DeliveryTime>
                    <DimensionalWeight>0.500</DimensionalWeight>
                    <WeightUnit>KG</WeightUnit>
                    <PickupDayOfWeekNum>5</PickupDayOfWeekNum>
                    <DestinationDayOfWeekNum>1</DestinationDayOfWeekNum>
                    <PricingDate>2018-06-08</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>EUR</CurrencyCode>
                        <CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode>
                        <WeightCharge>0</WeightCharge>
                        <TotalAmount>0.000</TotalAmount>
                        <TotalTaxAmount>0.000</TotalTaxAmount>
                        <WeightChargeTax>0.000</WeightChargeTax>
                    </QtdSInAdCur>
                    <QtdSInAdCur>
                        <CurrencyCode>EUR</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>N</GlobalProductCode>
                    <MrkSrv>
                        <LocalProductCode>N</LocalProductCode>
                        <ProductShortName>EXPRESS DOMESTIC</ProductShortName>
                        <LocalProductName>EXPRESS DOMESTIC</LocalProductName>
                        <ProductDesc>EXPRESS DOMESTIC</ProductDesc>
                        <NetworkTypeCode>TD</NetworkTypeCode>
                        <POfferedCustAgreement>N</POfferedCustAgreement>
                        <TransInd>Y</TransInd>
                    </MrkSrv>
                </Srv>
            </Srvs>
        </GetQuoteResponse></res:DCTResponse><!-- ServiceInvocationId:20180608132856_8979_46172d19-41f8-4936-9809-fe15e5b480bf -->
    
    • This topic was modified 2 years, 10 months ago by leokan23.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shipping Method won’t appear’ is closed to new replies.