Announcement

Collapse
No announcement yet.

Address Validation API Authorization failure

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    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


    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Thanks, Brennan - could this also be the reason the Address Validation popup never popped up on the screen it had been assigned to?
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        yes, in runtime/frontend I believe we suppress these type of errors to avoid disrupting checkout.
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #5
          Originally posted by Brennan View Post
          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

          Circling back to this (for another site). The store owner has gone and registered for an account. I've entered the new user name and the URL provided. I still get nothing. No popup to ask about the email addresses. Unless it's because it's a bogus address. Does the validation not recognize bogus made up addresses?

          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #6
            A couple of questions while I wait, could something be cached preventing this from working? Could the use of an Upsell present a problem?

            Leslie Kirk
            Miva Certified Developer
            Miva Merchant Specialist since 1997
            Previously of Webs Your Way
            (aka Leslie Nord leslienord)

            Email me: [email protected]
            www.lesliekirk.com

            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

            Comment


              #7
              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.





              Comment

              Working...
              X