• I’m currently running WP Store Locator 1.2.25 and have recently installed the CSV Manager add-on that is requiring me to update to version 2.2.17 in order to use. When I updated the plugin to 2.2.17, it broke my store locator or the API key I was currently using and was displaying a development purposes message over the map area. I noticed in the settings where WP Store Locator was prompting me to add a server API key and when I went to the Google API console, created a new API key and enter it after updating to the latest version, it seems to be breaking my map. Markers do not display as they should be displaying. I set a restore point and since reverted back to the previous version of the plugin so my map will work properly.

    Any ideas what I could be doing wrong? Thanks!

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    If you see the ‘for development purposes’ message, then you will need to create a billing account on the Google Cloud Platform. This is a requirement since this summer from Google.

    It comes with $200 free credit a month, which is enough for a normal traffic website. You can read more about that here.

    Not sure why it doesn’t show that message with the older store locator version. Maybe something else was going on as well, but the ‘for development purposes’ message won’t go away unless you enable billing on Google.

    Thread Starter Drew75

    (@drew75)

    Thank you Tijmen, I will take a look at this and see if it was the reason and let you know.

    Thread Starter Drew75

    (@drew75)

    I have billing set up in my Google Cloud Platform account and when I select my existing project, generate an API key and paste it into the field in settings for the WP Store Locator plugin. After updating the plugin, it continues to display the for development purposes message if I paste the key in the field for Server key and breaks the map if I paste it in to the field for Browser key. Which should I be pasting the key in and is there a difference between Server key and Browser key?

    Thread Starter Drew75

    (@drew75)

    The linked to screen shot below is how my map displays after pasting the API key into the Browser key field and saving.

    Please note, I am doing a restore checkpoint back to before updating the WP Store Locator plugin so my map works until this is resolved.

    Screen Shot

    • This reply was modified 6 years, 3 months ago by Drew75.
    Thread Starter Drew75

    (@drew75)

    Any other ideas? I really need to get this issue resolved ASAP. Thanks!

    Plugin Author Tijmen Smit

    (@tijmensmit)

    You need two different keys, follow the ‘create browser key’ and create ‘create server key’ buttons here to make sure the required API’s are enabled.

    If the ‘for development’ error keeps showing up, then you will have to contact Google Billing Support. Maybe there’s an issue with the credit card, or something else which then can see in their admin tools.

    Thread Starter Drew75

    (@drew75)

    Thank you Tijmen. After following the instructions you provided to obtain an API browser and server key and setting the appropriate restrictions for each, updating the WP Store Locator plugin to the latest version and adding those keys to the fields in the settings and saving, the locator map now shows the following error available to view in the link below.

    View post on imgur.com

    Any other ideas?

    • This reply was modified 6 years, 3 months ago by Drew75.
    Plugin Author Tijmen Smit

    (@tijmensmit)

    There’s something wrong with the restrictions that you set.

    The restriction for the server key is set to the IP from your server, and the one for the browser key is set to the current domain in this form ( domain.com/* ) ?

    Thread Starter Drew75

    (@drew75)

    That is what I set them to. For the browser key, I added https://thegalley.com/ and for the server key, I added the static IP address for my website (I confirmed with the host that they use a static IP).

    Thread Starter Drew75

    (@drew75)

    Tijmem. Could the issue I’m running into have anything to do my site currently running php 5.6, and that I should upgrade to 7.2?

    • This reply was modified 6 years, 3 months ago by Drew75.
    Plugin Author Tijmen Smit

    (@tijmensmit)

    Did you add the * after the domain name in the referrer setting? If you only added the domain itself then the store locator will only work on the homepage. Adding the /* after it makes sure it works on other pages as well.

    The PHP version isn’t relevant. It’s Google that rejects the API keys because of a referrer issue.

    Can you otherwise take a screenshot of the referrer settings and mail them to tijmen at wpstorelocator.co? Or post a link here and blur out the API keys?

    Thread Starter Drew75

    (@drew75)

    No I didn’t. I will edit the existing browser api key and add the * at the end, save it and try it again and let you know the results. Thanks!

    Thread Starter Drew75

    (@drew75)

    It looks like the javascript error issue was resolved by adding the * at the end of our domain for the browser API, however, the map and our store locations did not display properly. It seems like only one location marker displays zoomed in when the page loads. Please see the screen shot linked to below.

    Screen shot

    Additionally, I emailed you screen shots of my API credentials for you to review.

    • This reply was modified 6 years, 3 months ago by Drew75.
    Thread Starter Drew75

    (@drew75)

    I really need to get this issue resolved ASAP. We are needing to use the CSV Manager add-on and it will won’t work with the current version of WP Store Locator.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    I didn’t receive any emails from you, also not in the spam folder.

    If you open a location that doesn’t display, does the preview map show the location in the correct location?

    What’s the value you have set for the Max search results and Search radius options fields on the settings page? Is there a value set between []?

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Issue with creating and using new server API key after update to 2.2.17’ is closed to new replies.