Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USPS apparently has a new application id #3

Closed
lucaswiman opened this issue Feb 6, 2012 · 3 comments
Closed

USPS apparently has a new application id #3

lucaswiman opened this issue Feb 6, 2012 · 3 comments

Comments

@lucaswiman
Copy link

I got this tracking number in an amazon order, which starts with "94": 9400111201080805483016
It is a valid tracking number, but is not picked up by USPS91.

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!

  • Lucas
@jkeen
Copy link
Owner

jkeen commented Feb 7, 2012

Thanks for reporting this issue.

Yeah, I couldn't find anything on USPS about this either.

@lucaswiman
Copy link
Author

"if the label was generated by a vendor that provides PC postage for businesses, the first two digits will be 94."
http://www.ehow.com/info_8729061_do-tracking-numbers-stand-usps.html
"USPS Certified Mail labels are assigned article numbers that consist of numbers that begin with a 70, 71 or 94 if they include PC Postage."
http://www.certified-mail-envelopes.com/usps-certified-mail-tracking/

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.

@jkeen
Copy link
Owner

jkeen commented Feb 10, 2012

Sounds great! Thanks!

@jkeen jkeen closed this as completed Feb 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants