Question:
I have a problem with the address section on the checkout page, all the API key is set up and the billing has all been completed. However, this API Project is not authorized to use as the image below:
The cause: API is not authorized because you are making a Places API request without enabling the API first.
The Solution:
1.) Go to the Cloud Console: https://eur04.safelinks.protection.outlook.com/?ur...
2.) Click the Menu, then go to APIs & Services
3.) Under APIs & Services, click Library.
4.) Search for Places API
5.) Click on the Places API tile, then click 'Enable'
Or simply go to this link for your convenience: https://eur04.safelinks.protection.outlook.com/?ur...
You would then next have to add the Places API restriction in your API Key by following this guide:
1.) Go to the Cloud Console: https://eur04.safelinks.protection.outlook.com/?ur...
2.) Click the Menu, then go to APIs & Services
3.) Under APIs & Services, click credentials.
4.) Select the API Key
5.) Click API restrictions
6.) Add the respective API/s (i.e. Places API)
(Note: Please check the API Key that is in use. To help you check the redacted API Key in your page, please add this chrome extension[1]. To view the details, simply click the icon.)
Upon doing this, your map should be up and running properly. Please do let me know your results upon walking through this process
The result:
If you need further assistance, please don't hesitate to contact us.
Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article