Hi
I need help to understand how to integrate Googles reCaptcha v2 in PHP feedback action.
Google gives some very simple directions on what to do locally (client side), as posted on another thread.
It is the integration server-side that I find difficult. I used an elaborate solution with reCaptcha v1 that involved generating the e-mail.php through the action, then deactivating the action, edit the generated e-mail-go.php file and upload it through the Upload Extra Resources action.
I presume the same would work here. The problem is that I don’t understand how to edit the file itself.
Google gives me these instruction:
When your users submit the form where you integrated reCAPTCHA, you’ll get as part of the payload a string with the name “g-recaptcha-response”. In order to check whether Google has verified that user, send a POST request with these parameters:
URL: https://www.google.com/recaptcha/api/siteverify
secret (required) ---------- secret key here -------------
response (required) The value of ‘g-recaptcha-response’.
Any idea of how to do that?
Thank you!
Sverker
http://www.smalandsgardar.nu/e-post.php#
freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options