sepiariver / recaptchav2

Google's ReCaptcha V2 + V3 for MODX CMS: https://sepiariver.com/modx/recaptchav2-supports-recaptchav3/
https://sepiariver.com/
GNU General Public License v2.0
21 stars 15 forks source link

reCAPTCHA validation never ok even with box ticked #15

Closed DESIGNfromWITHIN closed 7 years ago

DESIGNfromWITHIN commented 7 years ago

On my test page all seems to work until you try to send... https://www.dswiss.com/de/kontakt-test/

Keep getting a error from reCAPTCHA, tried adding: ini_set("allow_url_fopen", true); But this did not work.

cURL for PHP is installed, the form works fine without the reCATCHA...

The form: [[!FormIt? &hooks=recaptchav2,spam,email &emailTpl=contact_form_email_dswiss &emailSubject=Contact request ([[context_key]]) from [[+name]] via DSWISS contact form &emailTo=[[contact_form_email_to]] &customValidators=securesafe_contact_validator &validate=name:required:stripTags,firstname:required:stripTags,company:required:stripTags,email:email:required:stripTags,phone:required:stripTags &successMessage=

]] [[+placeholder]] [[!+fi.error_message:notempty=

[[!+fi.error_message]]

`]]

[[!recaptchav2_render]] [[!+fi.error.recaptchav2_error]]

`

Line 991 mentioned in error log has this:

` /**

error_log.txt

DESIGNfromWITHIN commented 7 years ago

OMG a efffin SPACE at the end of the reCAPTCHA site key!!!

DESIGNfromWITHIN commented 7 years ago

OMG a efffin SPACE at the end of the reCAPTCHA site key!!!