cancel
Showing results for 
Search instead for 
Did you mean: 

USPS Tracking Info

USPS Tracking Info

All the orders have the same error when selecting "Track Order" in Magento 2.
 
The tracking number is there. The carrier is there. But the tracking info only shows - error: Tracking information is currently not available. Please contact us for more information or email us at ...
 
Does anyone one know what may be Wrong? I contacted ShipStation and they said - ShipStation does import the tracking info back to Magento 2. The shipment update we send to the selling channel includes the tracking number, carrier, service, and carrier fee.
 
But they said this is a Magento 2 issue.
 
Magento2 Track Order Mod.jpg
2 REPLIES 2

Re: USPS Tracking Info

Hello @nohart 

 

In Magento 2 typically occurs when Magento is unable to retrieve the tracking details from the shipping carrier. This could be due to several reasons:

 

Carrier API Configuration Issues:

Go to Stores > Configuration > Sales > Shipping Methods in the Magento admin.

 

Incorrect Tracking Number Format:

The tracking number provided may not match the carrier's required format.

 

Custom Shipping Method:

If you’re using a custom shipping method without integration to the carrier’s tracking API, Magento cannot fetch tracking updates.

 

Carrier-Specific Debugging:

Enable debug mode for the specific carrier (if supported) in Stores > Configuration > Sales > Shipping Methods.

 

 

 

Hope it helps ! 

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

 

 

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9

Re: USPS Tracking Info

Ok thank you

 

In my Magento 2 there isn't Stores > Configuration > Sales > Shipping Methods in the Magento admin. There is not anything called Shipping Methods. I think they changed it to Delivery Methods. If my API wasn't configured correctly how would USPS even work? There isn't a separate API for Tracking that I am aware of. For me USPS works fine but its the tracking I am getting the message  - Error: Tracking information is currently not available. Please contact us for more information or email us at... Whenever I select - Track Order in Magento's backend. Under Sales - Orders - (Select Order) Then in Order View - Information - Track Order.

 

I put the USPS into debugging and the log in part says -

'request' => '<?xml version="1.0" encoding="UTF-8"?><TrackRequest USERID="****"><TrackID ID="**********************"/></TrackRequest>

 

'result' => '<?xml version="1.0" encoding="UTF-8"?> <Error><Number>80040B23</Number><Description>API Authorization failure. User ************* is not authorized to use API TrackV2.</Description><Source>USPSCOM:Smiley Very HappyoAuth</Source></Error>',

 

My User is correct and it's the same as was used in Magento 1 which worked fine. I am in the process of asking USPS for their help to figure out what is wrong as all the USPS shipping/postage is working except for tracking.

 

The problem may be that USPS is using API TrackV3 and in Magento the error I got was - User ************* is not authorized to use API TrackV2

 

https://www.usps.com/business/web-tools-apis/welcome.htm It says here - The deadline for migrating to the new USPS Label APIs was July 14, 2024

 

Effective January 22, 2025, the USPS API Versions 1 and 2 will officially be retired. For more information, please review the Industry Alert. https://developers.usps.com/industry-alert-api-retirement