• Resolved pionicnz

    (@pionicnz)


    Hello, the rates are not showing at checkout

    API Request

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <req:DCTRequest xmlns:req=”https://www.dhl.com&#8221; xmlns:xsi=”https://www.w3.org/2001/XMLSchema-instance&#8221; xsi:schemaLocation=”https://www.dhl.com DCT-req.xsd”>
    <GetQuote>
    <Request>
    <ServiceHeader>
    <MessageTime>2020-09-13T22:13:38+00:00</MessageTime>
    <MessageReference>hZbMivej8aZTHhADVT0Waq2k9DcrJcfF</MessageReference>
    <SiteID>v62_AF5O3BoGpf</SiteID>
    <Password>KDeYdRWRaT</Password>
    </ServiceHeader>
    </Request>
    <From>
    <CountryCode>NZ</CountryCode>
    <Postalcode>1051</Postalcode>
    <City>Auckland</City>
    </From>
    <BkgDetails>
    <PaymentCountryCode>NZ</PaymentCountryCode>
    <Date>2020-09-13</Date>
    <ReadyTime>PT22H13M</ReadyTime>
    <ReadyTimeGMTOffset>+00:00</ReadyTimeGMTOffset>
    <DimensionUnit>CM</DimensionUnit>
    <WeightUnit>KG</WeightUnit>
    <Pieces>
    <Piece>
    <PieceID>1</PieceID>
    <Weight>1.2</Weight>
    </Piece>
    </Pieces>
    <PaymentAccountNumber>952412836</PaymentAccountNumber>
    <NetworkTypeCode>AL</NetworkTypeCode>
    </BkgDetails>
    <To>
    <CountryCode>US</CountryCode>
    <Postalcode>93550</Postalcode>
    <City>Palmdale</City>
    </To>
    </GetQuote>
    </req:DCTRequest>

    DHL API Response

    <?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?><res:DCTResponse xmlns:res=’https://www.dhl.com&#8217; xmlns:xsi=’https://www.w3.org/2001/XMLSchema-instance&#8217; xsi:schemaLocation= ‘https://www.dhl.com DCT-Response.xsd’>
    <GetQuoteResponse>
    <Response>
    <ServiceHeader>
    <MessageTime>2020-09-14T00:13:39.735+02:00</MessageTime>
    <MessageReference>hZbMivej8aZTHhADVT0Waq2k9DcrJcfF</MessageReference>
    <SiteID>v62_AF5O3BoGpf</SiteID>
    </ServiceHeader>
    </Response>
    <BkgDetails>
    <OriginServiceArea>
    <FacilityCode>CCA</FacilityCode>
    <ServiceAreaCode>AKL</ServiceAreaCode>
    </OriginServiceArea>
    <DestinationServiceArea>
    <FacilityCode>VNY</FacilityCode>
    <ServiceAreaCode>VNY</ServiceAreaCode>
    </DestinationServiceArea>
    <QtdShp>
    <GlobalProductCode>D</GlobalProductCode>
    <LocalProductCode>D</LocalProductCode>
    <ProductShortName>EXPRESS WORLDWIDE</ProductShortName>
    <LocalProductName>EXPRESS WORLDWIDE DOC</LocalProductName>
    <NetworkTypeCode>TD</NetworkTypeCode>
    <POfferedCustAgreement>N</POfferedCustAgreement>
    <TransInd>Y</TransInd>
    <PickupDate>2020-09-14</PickupDate>
    <PickupCutoffTime>PT14H</PickupCutoffTime>
    <BookingTime>PT13H</BookingTime>
    <CurrencyCode>NZD</CurrencyCode>
    <ExchangeRate>0.564140</ExchangeRate>
    <WeightCharge>34.730</WeightCharge>
    <WeightChargeTax>0.000</WeightChargeTax>
    <TotalTransitDays>2</TotalTransitDays>
    <PickupPostalLocAddDays>0</PickupPostalLocAddDays>
    <DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays>
    <PickupNonDHLCourierCode> </PickupNonDHLCourierCode>
    <DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode>
    <DeliveryDate>2020-09-16</DeliveryDate>
    <DeliveryTime>PT23H59M</DeliveryTime>
    <DimensionalWeight>1.500</DimensionalWeight>
    <WeightUnit>KG</WeightUnit>
    <PickupDayOfWeekNum>1</PickupDayOfWeekNum>
    <DestinationDayOfWeekNum>3</DestinationDayOfWeekNum>
    <QtdShpExChrg>
    <SpecialServiceType>CR</SpecialServiceType>
    <LocalServiceType>CR</LocalServiceType>
    <GlobalServiceName>EMERGENCY SITUATION</GlobalServiceName>
    <LocalServiceTypeName>EMERGENCY SITUATION</LocalServiceTypeName>
    <SOfferedCustAgreement>N</SOfferedCustAgreement>
    <ChargeCodeType>SCH</ChargeCodeType>
    <CurrencyCode>NZD</CurrencyCode>
    <ChargeValue>0.530</ChargeValue>
    <ChargeTaxAmount>0.000</ChargeTaxAmount>
    <ChargeTaxAmountDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <TaxAmount>0.000</TaxAmount>
    <BaseAmount>0.530</BaseAmount>
    </ChargeTaxAmountDet>
    <QtdSExtrChrgInAdCur>
    <ChargeValue>0.530</ChargeValue>
    <ChargeTaxAmount>0.000</ChargeTaxAmount>
    <CurrencyCode>NZD</CurrencyCode>
    <CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode>
    <ChargeTaxAmountDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <TaxAmount>0.000</TaxAmount>
    <BaseAmount>0.530</BaseAmount>
    </ChargeTaxAmountDet>
    </QtdSExtrChrgInAdCur>
    <QtdSExtrChrgInAdCur>
    <ChargeValue>0.530</ChargeValue>
    <ChargeTaxAmount>0.000</ChargeTaxAmount>
    <CurrencyCode>NZD</CurrencyCode>
    <CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode>
    <ChargeTaxAmountDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <TaxAmount>0.000</TaxAmount>
    <BaseAmount>0.530</BaseAmount>
    </ChargeTaxAmountDet>
    </QtdSExtrChrgInAdCur>
    <QtdSExtrChrgInAdCur>
    <ChargeValue>0.300</ChargeValue>
    <ChargeTaxRate>0.000</ChargeTaxRate>
    <ChargeTaxAmount>0.000</ChargeTaxAmount>
    <CurrencyCode>EUR</CurrencyCode>
    <CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode>
    <ChargeTaxAmountDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <TaxAmount>0.000</TaxAmount>
    <BaseAmount>0.300</BaseAmount>
    </ChargeTaxAmountDet>
    </QtdSExtrChrgInAdCur>
    </QtdShpExChrg>
    <QtdShpExChrg>
    <SpecialServiceType>FF</SpecialServiceType>
    <LocalServiceType>FF</LocalServiceType>
    <GlobalServiceName>FUEL SURCHARGE</GlobalServiceName>
    <LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName>
    <SOfferedCustAgreement>N</SOfferedCustAgreement>
    <ChargeCodeType>SCH</ChargeCodeType>
    <CurrencyCode>NZD</CurrencyCode>
    <ChargeValue>7.050</ChargeValue>
    <ChargeTaxAmount>0.000</ChargeTaxAmount>
    <ChargeTaxAmountDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <TaxAmount>0.000</TaxAmount>
    <BaseAmount>7.050</BaseAmount>
    </ChargeTaxAmountDet>
    <QtdSExtrChrgInAdCur>
    <ChargeValue>7.050</ChargeValue>
    <ChargeTaxAmount>0.000</ChargeTaxAmount>
    <CurrencyCode>NZD</CurrencyCode>
    <CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode>
    <ChargeTaxAmountDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <TaxAmount>0.000</TaxAmount>
    <BaseAmount>7.050</BaseAmount>
    </ChargeTaxAmountDet>
    </QtdSExtrChrgInAdCur>
    <QtdSExtrChrgInAdCur>
    <ChargeValue>7.050</ChargeValue>
    <ChargeTaxAmount>0.000</ChargeTaxAmount>
    <CurrencyCode>NZD</CurrencyCode>
    <CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode>
    <ChargeTaxAmountDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <TaxAmount>0.000</TaxAmount>
    <BaseAmount>7.050</BaseAmount>
    </ChargeTaxAmountDet>
    </QtdSExtrChrgInAdCur>
    <QtdSExtrChrgInAdCur>
    <ChargeValue>3.980</ChargeValue>
    <ChargeTaxRate>0.000</ChargeTaxRate>
    <ChargeTaxAmount>0.000</ChargeTaxAmount>
    <CurrencyCode>EUR</CurrencyCode>
    <CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode>
    <ChargeTaxAmountDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <TaxAmount>0.000</TaxAmount>
    <BaseAmount>3.980</BaseAmount>
    </ChargeTaxAmountDet>
    </QtdSExtrChrgInAdCur>
    </QtdShpExChrg>
    <PricingDate>2020-09-14</PricingDate>
    <ShippingCharge>42.310</ShippingCharge>
    <TotalTaxAmount>0.000</TotalTaxAmount>
    <QtdSInAdCur>
    <CurrencyCode>NZD</CurrencyCode>
    <CurrencyRoleTypeCode>BILLC</CurrencyRoleTypeCode>
    <WeightCharge>34.730</WeightCharge>
    <TotalAmount>42.310</TotalAmount>
    <TotalTaxAmount>0.000</TotalTaxAmount>
    <WeightChargeTax>0.000</WeightChargeTax>
    <WeightChargeTaxDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <WeightChargeTax>0.000</WeightChargeTax>
    <BaseAmt>34.730</BaseAmt>
    </WeightChargeTaxDet>
    </QtdSInAdCur>
    <QtdSInAdCur>
    <CurrencyCode>NZD</CurrencyCode>
    <CurrencyRoleTypeCode>PULCL</CurrencyRoleTypeCode>
    <WeightCharge>34.730</WeightCharge>
    <TotalAmount>42.310</TotalAmount>
    <TotalTaxAmount>0.000</TotalTaxAmount>
    <WeightChargeTax>0.000</WeightChargeTax>
    <WeightChargeTaxDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <WeightChargeTax>0.000</WeightChargeTax>
    <BaseAmt>34.730</BaseAmt>
    </WeightChargeTaxDet>
    </QtdSInAdCur>
    <QtdSInAdCur>
    <ExchangeRate>0.564140</ExchangeRate>
    <CurrencyCode>EUR</CurrencyCode>
    <CurrencyRoleTypeCode>BASEC</CurrencyRoleTypeCode>
    <WeightCharge>19.590</WeightCharge>
    <TotalAmount>23.870</TotalAmount>
    <TotalTaxAmount>0.000</TotalTaxAmount>
    <WeightChargeTax>0.000</WeightChargeTax>
    <WeightChargeTaxDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <WeightChargeTax>0.000</WeightChargeTax>
    <BaseAmt>19.590</BaseAmt>
    </WeightChargeTaxDet>
    </QtdSInAdCur>
    <WeightChargeTaxDet>
    <TaxTypeRate>0.000</TaxTypeRate>
    <TaxTypeCode>All Bu</TaxTypeCode>
    <WeightChargeTax>0.000</WeightChargeTax>
    <BaseAmt>34.730</BaseAmt>
    </WeightChargeTaxDet>
    </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>2020-09-14</PickupDate>
    <PickupCutoffTime>PT14H</PickupCutoffTime>
    <BookingTime>PT13H</BookingTime>
    <ExchangeRate>0.564140</ExchangeRate>
    <WeightCharge>0</WeightCharge>
    <WeightChargeTax>0.000</WeightChargeTax>
    <TotalTransitDays>2</TotalTransitDays>
    <PickupPostalLocAddDays>0</PickupPostalLocAddDays>
    <DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays>
    <PickupNonDHLCourierCode> </PickupNonDHLCourierCode>
    <DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode>
    <DeliveryDate>2020-09-16</DeliveryDate>
    <DeliveryTime>PT23H59M</DeliveryTime>
    <DimensionalWeight>1.500</DimensionalWeight>
    <WeightUnit>KG</WeightUnit>
    <PickupDayOfWeekNum>1</PickupDayOfWeekNum>
    <DestinationDayOfWeekNum>3</DestinationDayOfWeekNum>
    <PricingDate>2020-09-14</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>D</GlobalProductCode>
    <MrkSrv>
    <LocalProductCode>D</LocalProductCode>
    <ProductShortName>EXPRESS WORLDWIDE</ProductShortName>
    <LocalProductName>EXPRESS WORLDWIDE DOC</LocalProductName>
    <ProductDesc>EXPRESS WORLDWIDE DOC</ProductDesc>
    <NetworkTypeCode>TD</NetworkTypeCode>
    <POfferedCustAgreement>N</POfferedCustAgreement>
    <TransInd>Y</TransInd>
    </MrkSrv>
    <MrkSrv>
    <LocalServiceType>FF</LocalServiceType>
    <GlobalServiceName>FUEL SURCHARGE</GlobalServiceName>
    <LocalServiceTypeName>FUEL SURCHARGE</LocalServiceTypeName>
    <SOfferedCustAgreement>N</SOfferedCustAgreement>
    <ChargeCodeType>SCH</ChargeCodeType>
    <MrkSrvInd>N</MrkSrvInd>
    </MrkSrv>
    <MrkSrv>
    <LocalServiceType>CR</LocalServiceType>
    <GlobalServiceName>EMERGENCY SITUATION</GlobalServiceName>
    <LocalServiceTypeName>EMERGENCY SITUATION</LocalServiceTypeName>
    <SOfferedCustAgreement>N</SOfferedCustAgreement>
    <ChargeCodeType>SCH</ChargeCodeType>
    <MrkSrvInd>Y</MrkSrvInd>
    </MrkSrv>
    </Srv>
    <Srv>
    <GlobalProductCode>7</GlobalProductCode>
    <MrkSrv>
    <LocalProductCode>7</LocalProductCode>
    <ProductShortName>EXPRESS EASY</ProductShortName>
    <LocalProductName>EXPRESS EASY</LocalProductName>
    <ProductDesc>EXPRESS EASY</ProductDesc>
    <NetworkTypeCode>TD</NetworkTypeCode>
    <POfferedCustAgreement>Y</POfferedCustAgreement>
    <TransInd>N</TransInd>
    </MrkSrv>
    </Srv>
    </Srvs>
    </GetQuoteResponse></res:DCTResponse><!– ServiceInvocationId:20200914001339_96ab_91fdf218-4e30-4eeb-b28e-33d2da198ab8 –>

    For reference shipping to California postcode 93550

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Marta Borówka

    (@martapaw)

    Hello @pionicnz,

    I checked this on my own and the service DHL Express Worldwide (Documents) is showing properly: https://wpdesk.me/mp/ynz7k.png

    A couple of questions:
    – Do you have up to date our plugin?
    – Do you have enabled all services? If not, please check that the code D is enabled: https://wpdesk.me/mp/pif95.png

    Best regards,
    Marta

    Thread Starter pionicnz

    (@pionicnz)

    Hi there, I have decided to use another plugin that worked right out of the box.

    • This reply was modified 4 years, 6 months ago by pionicnz.
    Plugin Support Marta Borówka

    (@martapaw)

    @pionicnz,

    Thank you for the information. If something changes, please let me know.

    Best regards,
    Marta

    plugin not working debug error is DHL Express: Postcode not found. Expected formats: <country specific post code format>

    i entered it correct way. but not working

    Plugin Support Marta Borówka

    (@martapaw)

    Hello @bandara98,

    Please provide us the sender’s and recipient’s address that you use.

    Best regards,
    Marta

    Receiver : united states, california, 99524

    Sender : philipines, Abra, 2800–2826

    Plugin Support Marta Borówka

    (@martapaw)

    @bandara98,

    Thank you. I think the provided postal code for the Philippines is not properly. Please see: https://en.wikipedia.org/wiki/List_of_ZIP_codes_in_the_Philippines

    I also checked this in the DHL Express panel and it should be 4 digits: https://wpdesk.me/mp/e0tyu.png

    After typing 2800 the service shows: https://wpdesk.me/mp/mui3v.png

    If you think it should also work with your postal code, please contact support DHL Express and explain this issue, because we cannot do more.

    Best regards,
    Marta

    Hi

    Location is Philipines. I am sending from Philipines. to worldwide

    I think it’s not working when i am sending parcels from philipines

    Plugin Support lusp

    (@lusp)

    Hi @bandara98,

    I believe the problem is, as Marta mentioned above, you entered the postcodes range (2800–2826) instead of proper single postcode value (2800) at WooCommerce > Settings > General > Store Address.

    When I filled in the fields above with some sample but real Abra address (Police Office) – Camp Juan Villamor, Calaba, Bangued, 2800, Phillipines:

    https://wpdesk.me/ls/lqyll.png

    and entered Los Angeles, CA, 90210 shipping address in the cart, the DHL Express rates were displayed properly:

    https://wpdesk.me/ls/31f0l.png

    So, to sum up, please change your shop’s address in the WooCommerce settings and everything should work fine.

    Kind regards,

    phillipemiguel

    (@phillipemiguel)

    Hi, good morning
    I’m having problems with DHL checkout on my website, it only shows this shipping option DHL EXPRESS WORLDWIDE (DOCUMENT) and it doesn’t show DHL EXPRESS WORLDWIDE,
    DHL ECONOMY SELECT,
    DHL EXPRESS 9:00,
    DHL EXPRESS 10:30,
    DHL EXPRESS 12:00. I would like you to solve this problem, so that all methods are available to my clients.

    obs: I have already entered the correct address of my store and I have checked all shipping options on WooCommerce

    I’m waiting.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Rates not showing’ is closed to new replies.