From f91a3bab3116243510cfc43b995774883e578ae6 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 14 Jan 2023 20:32:42 -0700 Subject: [PATCH] Add more international USPS event codes --- lib/TrackingStatus.lib.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/TrackingStatus.lib.php b/lib/TrackingStatus.lib.php index a36e10c..bb5179e 100644 --- a/lib/TrackingStatus.lib.php +++ b/lib/TrackingStatus.lib.php @@ -179,6 +179,13 @@ class TrackingStatus { case "AT": // departed a transfer airport (int'l) case "A0": // "Acceptance" from foreign country case "CO": // "Inbound Out of Customs" + case "D0": // "Processed Through Facility" (int'l) + case "E0": // "Customs Clearance" (int'l) + case "F0": // "Customs Clearance Processing Complete" (int'l) + case "G0": // "Arrival at Post Office" (int'l) + case "MF": // "Processed through Facility" (int'l) + case "DG": // "Out for Delivery" (int'l) + case "ME": // "Held in Customs" (int'l, isn't necessarily bad) return TrackingStatus::TRACKING_STATUS_TRANSIT; case "01": case "13":