received the following from USPS about getting registering and requesting access for USPS address validation API for future reference:
You would first need to register for web tools API at this link here USPS - Web Tools Registration Web Page
After registering at the Web Tools Registration Page, please reference the instructions in the Web Tools Registration Email for gaining access to Web Tools APIs. Please only request access to the APIs that your third-party software requires.
To request access, send an email to [email protected] and specify in the subject line “Web Tools API Access Request”. Within the body of the email include the following information:
- USPS Web Tools USERID (reference USERID above):
- USPS Mailer ID (MID):
o Note: A mailer identification number (MID) is a 6 or 9-digit number assigned to a customer through the USPS Business Customer Gateway (BCG). Please refer to the following links for help.
• https://gateway.usps.com/eAdmin/view/knowledge?securityId=MID
• https://postalpro.usps.com/mailing/mailer-id
- Company Website:
- List of API(s) for which you are requesting access. Reference https://www.usps.com/business/web-tools-apis/documentation-updates.htm underneath “API Guides” for a complete list of APIs:
- Expected volume (i.e., peak daily, weekly, monthly, etc.) per API.
- Are you a shipper or software provider? Please provide details on how your business will use the APIs.
- If you are using a third-party software/software provider that necessitates a Web Tools credentials and API access, please specify the name of the third-party software: Miva Merchant
- Any Additional Information you would like us to consider when evaluating your access request.
Announcement
Collapse
No announcement yet.
Address Validation API Authorization failure
Collapse
X
-
A couple of questions while I wait, could something be cached preventing this from working? Could the use of an Upsell present a problem?
Leave a comment:
-
Originally posted by Brennan View PostIts likely the User ID they are using to access USPS web tools does not have API access to address validation. Your best option is to call them and get the username approved to use the address validation APIs:
1-800-344-7779
https://www.usps.com/business/web-tools-apis/#cont
Leave a comment:
-
yes, in runtime/frontend I believe we suppress these type of errors to avoid disrupting checkout.
Leave a comment:
-
Thanks, Brennan - could this also be the reason the Address Validation popup never popped up on the screen it had been assigned to?
Leave a comment:
-
Its likely the User ID they are using to access USPS web tools does not have API access to address validation. Your best option is to call them and get the username approved to use the address validation APIs:
1-800-344-7779
https://www.usps.com/business/web-tools-apis/#cont
Leave a comment:
-
Address Validation API Authorization failure
I was in the process of trying to configure the Address Validation for a store. I had set the Address Validation to USPS Online Rate Calculation (Domestic & International) and just checked Validate Customer Addresses. When the store owner tried to correct a typo in an address she got the following failure:
H0DYVv.png
I'm wondering if the USPS Online Rate Calculation (Domestic & International) account needs to be updated somehow? Perhaps the USPS WebTools Server URLs are incorrect?
Tags: None
Leave a comment: