I was trying to implement a custom shipping label programmatically but I'm getting error below:
Error: Call to undefined method Magento\Framework\Phrase::getTracking()....
I am using
\Magento\Sales\Api\Data\ShipmentTrackInterfaceFactory to create tracking and my custom carrier is extending
Everything seems to work fine except for the links that open the pop up. Links are:
Track this shipmentand
both under Shipping & Handling Information and Shipping and Tracking Information.
Update: I found this on github upon googling but I don't think the solution will work for me as this is a custom module.