I'm configuring FEDEX shipping in Magento website. I got test account number, password, API key and meter number by login in test FEDEX account. I configured myself in Magento. Looks like everything fine. But I don't know how to test is Track Order.
So where can I get tracking number for shipping methods? Should I enter randomly or how can I get that? I tried some forum suggested numbers. But I got below error in my popup:
Tracking information is currently not available
I also checked my shipping_fedex
log file in Magento. got logged some error codes in printed array. That's I give in below.
**ERROR log** [result] => stdClass Object ( [HighestSeverity] => ERROR [Notifications] => stdClass Object ( [Severity] => ERROR [Source] => trck [Code] => 6035 [Message] => Invalid tracking numbers. Please check the following numbers and resubmit. [LocalizedMessage] => Invalid tracking numbers. Please check the following numbers and resubmit. ) [Version] => stdClass Object ( [ServiceId] => trck [Major] => 5 [Intermediate] => 0 [Minor] => 0 ) )
FEDEX help:
What Numbers Can I Track?
Track by Tracking Number: You can enter up to 30 tracking numbers at a time. You can enter any combination of FedEx Express, FedEx Express Freight, FedEx Ground, FedEx SmartPost, FedEx Freight, or FedEx Custom Critical tracking numbers. Please ensure that you enter only one tracking number per line.
Edit: I used "99999999999" as per Derek suggestion. But I got below response. Still same error in pop up. What does mean __pid =>2432
?
Array ( [request] => <?xml version="1.0" encoding="UTF-8"?> <FDXTrack2Request xsi="http://www.w3.org/2001/XMLSchema-instance" noNamespaceSchemaLocation="FDXTrack2Request.xsd"><RequestHeader><AccountNumber>510087062</AccountNumber><MeterNumber>0</MeterNumber></RequestHeader><PackageIdentifier><Value>999999999999</Value></PackageIdentifier><DetailScans>1</DetailScans></FDXTrack2Request> [result] => [__pid] => 2432 )
The tracking number is 12 characters (with the ability to expand to 14 characters in the future). The tracking number is located in positions 21–34 of the barcode. Some label content and identifiers are in new positions. FedEx Home Delivery® shipping labels will no longer include a "G" identifier, just an "H."
If you don't have a tracking number, you can still track your package by using a reference number associated with your shipment, or a purchase order number. Did you know? With FedEx Delivery Manager® you don't need a tracking number to track your package.
The tracking number will mostly have 12 to 15 digits as its format, especially for FedEx Ground and Express shipments. In some rare scenarios, the format of the number could be 20-22 digits. Here are some FedEx tracking number examples. 9999 9999 9999. 9999 9999 9999 999.
Online marketplace fraud Customers are provided a tracking number after purchase, but the products will never be delivered, as the fraudsters have used stolen, valid tracking data to legitimize a fake transaction and take the victims money. Be careful of purchasing too good to be true items online.
Your question is not at all stupid. I upvoted it.
The fedex documentation is horrible and doesn't mention how to use their services while testing and after moving to production. Their support is worse.
While I was rambling in the internet, I found a page mentioning the tracking number 123456789012 as a test number. Use it with your test credentials (key, password, account number and meter number), while you're setting your service path to https://wsbeta.fedex.com:443/web-services/track, and the request will return a valid response that you can build on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With