Closed pimjansen closed 3 years ago
I notice that on the initial selection page below happens when loading the locations.
When i select the default option here, it tries to delivery to an unknown location it seems and it is not trying to do an home delivery?
[2021-03-03 13:43:19] postnl_logging.CRITICAL: Check CIFException in the detail section
- 5: Value 'Location.DeliveryDate' is not in the correct format 'Date'.
<<<< Request XML >>>>
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://postnl.nl/cif/domain/LocationWebService/" xmlns:ns2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ns3="http://postnl.nl/cif/services/LocationWebService/">
<env:Header/>
<env:Body>
<ns3:GetNearestLocations>
<ns1:Countrycode>NL</ns1:Countrycode>
<ns1:Location>
<ns1:AllowSundaySorting>true</ns1:AllowSundaySorting>
<ns1:DeliveryDate>Ongeldig GetDeliveryDate response: NULL</ns1:DeliveryDate>
<ns1:DeliveryOptions>
<ns2:string>PG</ns2:string>
</ns1:DeliveryOptions>
<ns1:Options>
<ns2:string>Daytime</ns2:string>
<ns2:string>Morning</ns2:string>
</ns1:Options>
<ns1:Postalcode>1704RW</ns1:Postalcode>
</ns1:Location>
<ns1:Message>
<ns1:MessageID>c38e7cd9973c73ea71b1d337eb0ab478</ns1:MessageID>
<ns1:MessageTimeStamp>03-03-2021 14:43:19</ns1:MessageTimeStamp>
</ns1:Message>
</ns3:GetNearestLocations>
</env:Body>
</env:Envelope>
<<<< Response XML >>>>
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode>s:CIF Framework Message Interceptor</faultcode>
<faultstring xml:lang="en-US">Check CIFException in the detail section</faultstring>
<detail>
<CifException xmlns="http://postnl.nl/cif/services/common/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Errors>
<ExceptionData>
<Description i:nil="true"/>
<ErrorMsg>Value 'Location.DeliveryDate' is not in the correct format 'Date'.</ErrorMsg>
<ErrorNumber>5</ErrorNumber>
</ExceptionData>
</Errors>
</CifException>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
[] []
Hi @pimjansen ,
could you contact us at support@tig.nl, so we can assist you further. On a clean magento installation I cannot reproduce this. So we would like to investigate if this is caused by certain settings.
Have a great day, Jeffrey
To Reproduce Place an order and shipment and try to send it. While sending below errors are received. The problem is that there actually is an address set and the order overview (shipment) is also showing this.
Expected result Labels is printed and all is sent properly
Actual result [POSTNL-0252] - Er zijn geen valide labels gegenereerd. Bekijk de logs voor meer informatie.
Workaround None
Screenshots n/a
Please complete the following information