Log in
Helper

Data

Magento\Shipping\Helper\Data

What it does

This helper class provides utilities for generating and decoding shipping tracking URLs in Magento 2.

Developers use it to create popup URLs for customers to track their shipments and to decode tracking hash parameters from URLs.

It supports tracking by order ID, shipment ID, or individual tracking number.

Public Methods

  • decodeTrackingHash()
  • getTrackingPopupUrlBySalesModel()