Places API not working

This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #39026
    alinahomecare
    alinahomecare
    Participant

    Hi, me again. I have enabled the google places API but it is not working. See here: https://alinahomecare.com/locations-2/

    I’m not sure why as I know the API key works as I use it for another plugin.

    #39029
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Can you check the back-end login details? They does not work for me.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #39030
    alinahomecare
    alinahomecare
    Participant
    You cannot access this content.
    #39032
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you!

    I ran a quick debug, and the google API returns this error message:

    {
       "error_message" : "API keys with referer restrictions cannot be used with this API.",
       "predictions" : [],
       "status" : "REQUEST_DENIED"
    }

    There is probably a restriction set for the API key. Try checking and changing the restriction to IP addresses (web servers..), and use your server IP.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #39033
    alinahomecare
    alinahomecare
    Participant

    Thanks, that fixed it. However, the suggestion appears in a light grey font but i can’t find a way for the user to actually select the suggestion? https://alinahomecare.com/locations-2/

    #39040
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Try the keyword suggestions instead. It will apply whenever there are no matches.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.