Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • hsitwox 5 posts 25 karma points
    Jul 06, 2024 @ 21:48
    hsitwox
    0

    Umbraco Forms Recaptcha Issue

    Hello All,

    I have upgraded project from V 8 -> V 10 and then V 12, similarly I have upgraded form too but after upgrading Forms to version 12.2.3, Recaptcha 2 is not working fine.

    I have given proper Recaptcha settings in application.json file as below:-

    "Forms": {
       "FieldTypes": {
         "Recaptcha2": {
           "PublicKey": "Our Public Key",
           "PrivateKey": "Our Private Key"
         }
       }
    

    But getting this error still:- enter image description here

    Please help as stuck in a situation! Thanks in advance!

  • Andy Boot 48 posts 190 karma points MVP
    Jul 07, 2024 @ 17:09
    Andy Boot
    0

    Hi,

    Could I just check that your "Forms" section of your appsettings.json is nested within the "Umbraco" section?

    Also, did you restart the application pool within IIS / IIS Express running your site locally? Unlike web.config, changes to appsettings.json doesn't get automatically detected by the web site.

    Regards,

    Andy

  • hsitwox 5 posts 25 karma points
    Jul 08, 2024 @ 17:28
    hsitwox
    0

    Hello Andy,

    Many thanks for getting back to me but I have followed all the steps to add it properly.

  • Andy Boot 48 posts 190 karma points MVP
    Jul 08, 2024 @ 20:13
    Andy Boot
    0

    Hmm, what if you try recaptcha 3? Doesn't have to be valid keys, just whether or not forms detects the values.

  • hsitwox 5 posts 25 karma points
    Jul 11, 2024 @ 05:53
    hsitwox
    0

    I will give it a shot and will update you. But in case of V3, we need to check the values first right?

Please Sign in or register to post replies

Write your reply to:

Draft