Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
USPS apparently has a new application id #3
I got this tracking number in an amazon order, which starts with "94": 9400111201080805483016
I monkey-patched the problem away by creating a USPS94 (replacing instances of 91 with 94) class and adding it to TrackingNumber::TYPES, but this might be a more general issue. I couldn't find anything in USPS documentation to support this change, but they do seem to be issuing different tracking numbers than are supported by this gem.
Thanks for making this gem!
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
"if the label was generated by a vendor that provides PC postage for businesses, the first two digits will be 94."
I wish I could find something on usps.com to corroborate the latter. I'll write a patch accept USPS numbers starting with 70, 71, and 94 and send you a pull request today or tomorrow.