Online courier applications usually price deliveries by zone or by point-to-point distance, so the shorter route a courier takes when carrying several parcels did not lower the customer's fare. The split of the fare between courier and platform was also rarely shown. This study built a web-mobile online courier application that applied the Cheapest Insertion Heuristic algorithm to order delivery stops, computed a dynamic fare from the route distance, and merged orders heading in the same direction through time window batching. Orders received within a 15-minute window whose destinations lay within 2 km of the first order in a group were merged into one route with a shared fare. The system was built with Laravel 11, Flutter, and MySQL, and distances were computed with the Haversine formula from coordinates obtained through OpenStreetMap geocoding. A simulation on five delivery scenarios in Surabaya showed that the resulting routes were on average 29.37% shorter than the input order and shorter than the Nearest Neighbor method in all five scenarios. In three batching scenarios, shared fares were on average 36.41% lower than the sum of individual fares, while courier earnings per kilometre rose by 4.9% to 47.8%. All ten black-box test scenarios produced the expected results.
Copyrights © 2026