API key
-
Hi,
I hace created my API key that i put in API browser field but what is the other API server key ?
thanks
-
Hi,
Thank you for interesting to use this plugin. This plugin need 2 different API Keys because it will be used in 2 different purpose. The Browser API is used when you setting the Admin Area to get your store location info. And the Server API is used to calculate the distance for customer address and your store location. As Google does not allow you to specify both an HTTP referrer restriction (for the admin map usage) and an IP address restriction (for the server-side distance matrix calculation) so need to split it in 2 different API keys. The version 1.4 and earlier is just using 1 API Key, which mean that the API Key cannot be restricted at any type. And many users complaining about security as the API Key cannot be restricted.
I hope this the answer of your question.
Sofyan
Thnanks for your answer.
So i have created 2 differenet API key with HTTP referrer. But it seems it does not accept the second as my server key.Yeah, you use wrong restriction type. Please read again my message above.
-
This reply was modified 7 years, 4 months ago by
Sofyan Sitorus.
-
This reply was modified 7 years, 4 months ago by
Sofyan Sitorus.
sorry i don’t understand how to “split in 2 different keys”
Create 2 API Key with different restriction type each. HTTP referrer restriction and IP address restriction
ok that’s what i have done but i get this:
Server API Key Error: API Response Error: REQUEST_DENIED – API keys with referer restrictions cannot be used with this API.wait please i try something
i get this :
Server API Key Error: API Response Error: REQUEST_DENIED – This IP, site or mobile application is not authorized to use this API keyOkay that mean that your site IP is not whitelisted in the Google API console. Please contact your hosting provider to get the correct server IP address and then add it to Google API console.
ok thanks
It is ok if put no refere for server key !thanks
-
This reply was modified 7 years, 4 months ago by
pipoulito.
-
This reply was modified 7 years, 4 months ago by
The topic ‘API key’ is closed to new replies.