Integrate package tracking in Magento 2
What's the location of a package after it left the shop's warehouse?
What is the estimated delivery date? Is the customer aware of that?
Do you know the date that the customer received the parcel, to better handle his/her complaints?
In many cases these questions cannot answered due to the lack of information for the delivery process. In other cases can be answered but the process has high cost.
Facing those questions, we decided to develop a solution that automates the whole process from A to Z.
From the begining we set some prerequisites that will make the life of the shop admin easier, compared to using a shipment tracking service/platform, (like aftership) directly or a connector with that service.
- Does everything from within Magento
All the functionalities are integrated into Magento and the tracking services are only used for the parcel tracking.
All the data are stored in the shop's database and can be accessed at any time. For example the admin or the customer, can check the status of a shipment, witout re-connecting to the tracking API, since all the data are already saved in the shop's database, beforehand. This spares resources and increases the performance.
Also the email notifications are sent from within the shop, using the Magento's email system and templates. This also has several benefits (comparing to the notification functionalities from 3rd parties), since the emails got more chances to be considered legitimate and opened.
After the initial configuration, the shop admin does not need to do anything at all.
The extension uses cron jobs to find new trackings, update the existings and send email notifications, regularly.
We focused a lot on performance. The extension can handle a big amount of data (incoming or outcoming) and also overcomes some of the limitations of the tracking APIs, like the limits in the HTTP requests and responses.
- Independent from the tracking service
Your shop is not dependant on any tracking service. For example if you decide to change AfterShip to TrackingMore, or vice versa, the extension will continue to work and your past data will still be usable.
It is quite agnostic to the tracking Api, enabling it to use quite any API for tracking.