skip to Main Content

Has anyone else had a problem integrating Google’s Address Validation API into Magento 2’s Avalara Avatax? It’s almost as if the API key is restricted. Although it’s currently unrestricted. Our shipping and handling/tax amounts are all off. I think it’s because the address isn’t being validated by Google’s new address validation system for Avalara Avatax (Using Ma agento 2 website platform).

Just looked at what I thought the API key was that the developers used and it appears to be unrestricted. Also, I checked the configuration panel on Magento admin and it appears to be correctly set up.
https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Addresses/ResolveAddress/

2

Answers


  1. Google’s Address Validation API can be used with API keys or OAuth 2.0 service accounts.

    In either case, the API project must be set up with both billing and the Address Validation API itself enabled.

    The Address Validation API only supports two types of API key restrictions: IP address and API restrictions. Other types of API key restrictions are not supported.

    If all the above checks pass and the Address Validation API still does not accept your API key, I recommend you contact the support team for 1:1 assistance.

    Login or Signup to reply.
  2. I am trying to implement Address Validation API in my react app for AEM, but we are having issues with cors, when doing a REST call. So I am looking for a way to implement using validateAddress library. I am blocked by the error:
    You need to pass auth instance to use gRPC-fallback client in browser or other non-Node.js environments. Use OAuth2Client from google-auth-library.
    But on further research I have found that this is deprecated. do you have any advice?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search