Issues with Google Maps + Contact Form ReCaptcha v3

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #10034817
    Robcar10
    Participant

    Hello, I am having issues with the Google Maps being displayed and the contact form on the footer using the Recaptcha v3.

    Thank you!



    Template Version: 8.0.0
    #10034820
    Support
    Keymaster

    Hello,

    Regarding Google Map:
    There’s a browser console error in your website: js?key=AIzaSyAgtdWtz19k6IvUW4oPLQyOcbHcBhXGkr8:70 Google Maps JavaScript API error: ApiNotActivatedMapError. This mean you need activate the API for google maps in your google account.

    Learn more here:
    https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error

    Regarding Recaptcha V3:
    Inspecting your website I saw you are using the recaptcha V2 way to declare the site key. Also it’s missing include the script of recaptcha on footer of page.

    Remove this code:

    Add the v3 script on footer like below:

    <script id="google-recaptcha-v3" src="https://www.google.com/recaptcha/api.js?render=SITE_KEY"></script>

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


    #10034830
    Robcar10
    Participant

    Not sure if my last message went thru.

    Form was resolved.

    with regards to the Map API – I have enabled but seems that I am still having issues. I wanted to send you some screenshots. how do I do that?


    #10034832
    Robcar10
    Participant

    Form was resolve but im noticing that information is not being sent to the email. I double checked the email on Contact Form – Google Recaptcha v3 php file and it’s spelled correctly.


    #10034837
    Support
    Keymaster

    Hello,

    Regarding form:
    I did a test and saw that’s returning success message. On this case probably your server has mail() php function disabled or miss configured. You can try use SMTP to send the emails. For it uncomment the code below at contact-form-recaptcha-v3.php:

    * Fill the options above with correct settings like SMTP host, auth, secure, port, username, etc… You can get these infos with your hosting provider.

    Regarding map:
    I did a new test in your website and now it’s returning these errors:

    * Check if you entered the correct api key in the footer script.
    * You must enable Billing in your Google Cloud Account. Since last year google requires billing information to use the maps api. Learn more here: https://developers.google.com/maps/documentation/javascript/usage-and-billing

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


    #10034845
    Robcar10
    Participant

    Ok, so I am still having issues with “This API project is not authorized to use this API”

    I have enable the the API. I have done Application Restrictions + API restrictions. API under credentials has a green check next to it. I assume everything is good but I am still getting that error.


    #10034851
    Support
    Keymaster

    Hello,

    Please check if you are with Geocoding API enabled:

    You need activate the Geocoding API and Geolocation API in your google maps account:

    1) Go to Google Cloud Account -> APIs & auth -> APIs

    2) Search for Geocoding and click on Google Maps Geocoding API -> Enable API.

    3) Search for Geolocation and click on Google Maps Geolocation API -> Enable API.

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


    #10034863
    Robcar10
    Participant
    This reply has been marked as private.
    #10034867
    Support
    Keymaster
    This reply has been marked as private.
    #10034869
    Robcar10
    Participant

    Wow! I’m sorry! It seems like it is. I didn’t realize that you had to click on it for the information to put. Any way to keep it visible? or is it just available when clicked?

    If not, then don’t worry! everything was helpful and issue was resolved!


    #10034872
    Support
    Keymaster
    This reply has been marked as private.
    #10034874
    Robcar10
    Participant

    Thank you! Issue resolved!


    #10034875
    Support
    Keymaster

    Hello,

    Great! 🙂

    If you need further assistance feel free to contact us.

    Kind Regards,

    Rodrigo.

    If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


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

This topic is marked as "RESOLVED" and can not rceive new replies.