Tracking updates
How Chronodiali sends delivery updates to your store and how each update changes the status of the order. Available on OpenCart 2.x and 3.x.
How it works
Chronodiali can notify your store each time a shipment moves, for example when it is picked up, reaches a hub or is delivered. These notifications are called webhooks. Your store receives them at a fixed address, finds the order by its consignment number, saves the new shipment status and changes the order status.
Without webhooks, the shipment status only changes when you press Verify Status in the order. See Shipments and labels.
Setting up the webhook
- Give Chronodiali the webhook address of your store (the same on OpenCart 2.x and 3.x). Replace
www.your-store.comwith your own domain:
https://www.your-store.com/index.php?route=extension/shipping/chronodiali_shipping/webhook- If Chronodiali gives you a webhook key, enter it in Webhook API Key (x-api-key) in the settings and press Apply Changes. From then on, your store rejects any update that does not carry this key in its
x-api-keyheader. - Create a test shipment and ask Chronodiali to confirm that the updates reach your store. Each accepted update adds a comment to the order history.
What each update does
Every accepted update saves the new status in the Chronodiali panel of the order and adds a line to the order history. The comment starts with Chronodiali: followed by the message Chronodiali sends for the customer, or by the name of the event. The customer is not notified by email.
The order status changes as follows:
| Chronodiali event | Shown in the panel as | New order status |
|---|---|---|
pickup_awaited | Pickup Awaited | Processing |
pickup_scheduled | Pickup Scheduled | Processing |
pickup_completed | Pickup Completed | Processing |
reachedathub | Reached At Hub | Shipped |
intransit | In Transit | Shipped |
outfordelivery | Out For Delivery | Shipped |
delivered | Delivered | Complete |
cancelled or canceled | Cancelled | Canceled |
failed | Failed | Failed |
returned | Returned | Reversed |
How the order statuses are found
The extension looks for the order status by its name, in the language of your store: Processing, Shipped, Complete, Canceled, Failed and Reversed, the default names of OpenCart. It also recognises these translations:
| Status | Also recognised as |
|---|---|
| Processing | Procesando, En proceso, En traitement |
| Shipped | Enviado, Envié, Spedito |
| Complete | Completado, Complété, Completato, Finalizado |
| Canceled | Cancelado, Annulé, Cancellato |
| Failed | Fallido, Échoué, Fallito |
| Reversed | Revertido, Inversé, Invertito |
If you renamed one of these statuses and none of the names matches, the same happens as with an unknown event: the order keeps its status and the update is only added to the history.
Still need help?
Open a support ticket from your account and our team will look at your store with you.