You have no items in your shopping cart.

Saturday, November 23, 2024 10:17:38 AM

Cannot get rates/quotes back

Posted: 4 years ago

#11301 Quote

david

Posted: 4 years ago

#11301 Quote
Cannot get rates/quotes when on the checkout page so all shipping method are 0 EUR.
Here is a request from the log:
<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>2020-11-12T19:43:08 00:00</MessageTime>
<MessageReference>319587265e6d4d66b08dfa406bde7ade</MessageReference>

</ServiceHeader>
</Request>
<From>
<CountryCode>DK</CountryCode>
<Postalcode>6310</Postalcode>
<City>Broager</City>
</From>
<BkgDetails>
<PaymentCountryCode>DK</PaymentCountryCode>
<Date>2020-11-12</Date>
<ReadyTime>PT19H43M</ReadyTime>
<DimensionUnit>IN</DimensionUnit>
<WeightUnit>LB</WeightUnit>
<NumberOfPieces>1</NumberOfPieces><Pieces>
<Piece><PieceID>1</PieceID><Height>2</Height><Depth>9</Depth><Width>7</Width><Weight>0.331</Weight></Piece></Pieces>
<PaymentAccountNumber>969901418</PaymentAccountNumber>
<IsDutiable>N</IsDutiable>
<NetworkTypeCode>AL</NetworkTypeCode>
</BkgDetails>
<To>
<CountryCode>AU</CountryCode>
<Postalcode>3073</Postalcode>
<City>RESERVOIR</City>
</To>
</GetQuote>
</p:DCTRequest> And the 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>2020-11-12T20:38:32.409+01:00</MessageTime>
                <MessageReference>319587265e6d4d66b08dfa406bde7ade</MessageReference>
                <SiteID>v62_y793UmOg1f</SiteID>
            </ServiceHeader>
        </Response>
        <BkgDetails>
            <OriginServiceArea>
                <FacilityCode>GTW</FacilityCode>
                <ServiceAreaCode>AAR</ServiceAreaCode>
            </OriginServiceArea>
            <DestinationServiceArea>
                <FacilityCode>MGB</FacilityCode>
                <ServiceAreaCode>MEL</ServiceAreaCode>
            </DestinationServiceArea>
            <QtdShp>
                <GlobalProductCode>T</GlobalProductCode>
                <LocalProductCode>T</LocalProductCode>
                <ProductShortName>EXPRESS 12:00</ProductShortName>
                <LocalProductName>EXPRESS 12:00 DOC</LocalProductName>
                <NetworkTypeCode>TD</NetworkTypeCode>
                <POfferedCustAgreement>N</POfferedCustAgreement>
                <TransInd>Y</TransInd>
                <PickupDate>2020-11-13</PickupDate>
                <PickupCutoffTime>PT17H</PickupCutoffTime>
                <BookingTime>PT16H</BookingTime>
                <ExchangeRate>0.000</ExchangeRate>
                <WeightCharge>0</WeightCharge>
                <WeightChargeTax>0.000</WeightChargeTax>
                <TotalTransitDays>4</TotalTransitDays>
                <PickupPostalLocAddDays>0</PickupPostalLocAddDays>
                <DeliveryPostalLocAddDays>2</DeliveryPostalLocAddDays>
                <PickupNonDHLCourierCode> </PickupNonDHLCourierCode>
                <DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode>
                <DeliveryDate>2020-11-19</DeliveryDate>
                <DeliveryTime>PT12H</DeliveryTime>
                <DimensionalWeight>0.500</DimensionalWeight>
                <WeightUnit>KG</WeightUnit>
                <PickupDayOfWeekNum>5</PickupDayOfWeekNum>
                <DestinationDayOfWeekNum>4</DestinationDayOfWeekNum>
                <QtdShpExChrg>
                    <SpecialServiceType>YK</SpecialServiceType>
                    <LocalServiceType>YK</LocalServiceType>
                    <GlobalServiceName>12:00 PREMIUM</GlobalServiceName>
                    <LocalServiceTypeName>12:00 PREMIUM</LocalServiceTypeName>
                    <SOffered

Posted: 4 years ago

#11302 Quote

Support

Posted: 4 years ago

#11302 Quote
Check you use the live or sandbox DHL API.
Write to your DHL assistant and send this API request and API response.
Write to me about the result.

Posted: 4 years ago

#11303 Quote

david

Posted: 4 years ago

#11303 Quote
The issue is that in our case the CountryCode and PaymentCountryCode is different but the plugin sets the PaymentCode after either the Warehouse location or the Shipping Origin.
Could you make it so the CountryCode and PaymentCountryCode can be different as in:
<CountryCode>DE</CountryCode>  where the warehouse/Shipping Origin Address is located
<PaymentCountryCode>CY</PaymentCountryCode> where the DHL Contract is.

Posted: 4 years ago

#11304 Quote

Support

Posted: 4 years ago

#11304 Quote
I means that you have the one country for shipping address (you will send the parcel from this country)  and one DHL account for for all shipping addresses.
Am I right?

Posted: 4 years ago

#11305 Quote

Support

Posted: 4 years ago

#11305 Quote
Download the new release of the plugin. I have fixed this issue.

Posted: 4 years ago

#11306 Quote

david

Posted: 4 years ago

#11306 Quote
Hello

The new release works as intended. And thank you for the quick response.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved