Chronopost shipping message bugs
pierre baudoux
3 requirements are requested in view to achieve API Chronopost production qualification for Golive France:
Bug fixing in shipping message (triggered at order process) from platform Techship to Chronopost carrier is requested.
Requirement 1 - Send expected service value for weekly service :
Rule : if Monday delivery is ticked in Carrier options tab in techship (meaning weekly service I suppose, from monday to friday delivery), so value 0 is expected in tag service as beside <service>0</service>
Requirement 2 - Send expected shipDate value :
Rule : hour in tag shipHour should be also sent in tag shipDate value as described below :
<shipDate>2025-02-11THH:00:00</shipDate>
<shipHour>HH</shipHour>
See sample TO BE
<shipDate>2025-02-11T12:00:00</shipDate>
<shipHour>12</shipHour>
See extract AS IS sample message for order processed to chronopost in production for weekly pickup and shiDate on 11 February with time = 12H.
<skybillValue xmlns="">
......................
<productCode>1S</productCode>
<service>1</service>
<shipDate>2025-02-11T00:00:00</shipDate>
<shipHour>12</shipHour>
......................
</skybillValue>
Requirement 3 - Value Name and Company in different shipping message collection (shipper/customer/recipient) are not correctly filed today :
Rule : In practice, we have 99% order where parties are companies, so BTB case should be handled only with mapping rule below in shipping message from Techship to Carrier Chronopost sent at process :
• Ship from address / Company (Techship display tab) to be sent in ShipperName (Message field)
• Ship from address / Name (Techship display tab) to be sent into ShipperName2 (Message field)
• Ship to address / Company (Techship display tab) to be sent into RecipientName (Message field)
• Ship to address / Name (Techship display tab) to be sent into RecipientName2 (Message field)
• For customer data : BE CAREFUL : Same rule should be applied, nevertheless current mapping is unknown as far as Techship fields value that file collection below are not displayed to techship user. Tag "customerName" should content a company name and tag "customerName2" should content a contact information. See below TO BE sample
<customerName>AIRBUS HELICO - PLATEFORME DE ROISSY</customerName>
<customerName2>Mrs. Aiello Sandrine</customerName2>
See AS IS extract
<customerValue xmlns="">
<customerAdress1>16 RUE CHABROL</customerAdress1>
<customerCity>LA COURNEUVE</customerCity>
<customerCivility>E</customerCivility>
<customerContactName> </customerContactName>
<customerCountry>FR</customerCountry>
<customerMobilePhone>0442782511</customerMobilePhone>
<customerName>Mrs. Aiello Sandrine</customerName>
<customerName2>AIRBUS HELICO - PLATEFORME DE ROISSY</customerName2>
<customerPhone>0442782511</customerPhone>
<customerPreAlert>0</customerPreAlert>
<customerZipCode>93123</customerZipCode>
<printAsSender>N</printAsSender>
</customerValue>