[Issue] UPS Shipment Tracking: Show "Delivered On" only when package has actually been delivered #29659
Labels
Component: Ups
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reported on 2.4.0
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
This issue is automatically created based on existing pull request: #29080: UPS Shipment Tracking: Show "Delivered On" only when package has actually been delivered
Summary (*)
Magento 2.4-develop
The UPS Tracking API returns the activity status code "D" for delivered packages. The delivery properties of the tracking object should only be set if we see this status code. Otherwise packages that are still in transit show as delivered, incorrectly.
Consider the following extract of a UPS tracking API response:
In this case, the package is still in transit. However, because the check for the
DeliveryStatus
is missing, the package would incorrectly show as delivered in Magento, and display the date/time of the first activity as Delivered On.Examples (*)
You will need a valid UPS tracking number and UPS API keys to test this.
Proposed solution
The text was updated successfully, but these errors were encountered: