aerni / statamic-livewire-forms

Supercharge your Statamic forms with Livewire
https://statamic.com/addons/aerni/livewire-forms
Other
28 stars 2 forks source link

Google Recaptcha not showing #12

Closed samdgea closed 3 years ago

samdgea commented 3 years ago

Hi, I'm using recaptcha and i have set the CAPTCHA_KEY and CAPTCHA_SECRET to my .env file but still the captcha is not showing.

Google reCaptcha not showing

after i see on DevTools / Inspect element it show that Invalid site Key.

Details on DevTools

I've been double check that my CAPTCHA_KEY and CAPTCHA_SECRET was correct.

Nice plugin btw

aerni commented 3 years ago

Hi! I can't reproduce your issue. It's working for me. What version are you on? Did you try on a fresh install of the addon? There were some major breaking changes. If you published the views, you have to manually update them.

samdgea commented 3 years ago

Hi thanks for the reply, and sorry for late response.

I'm running on Statamic 3.2.4 Pro And using Statamic Livewire Form 2.0.0 and yes, i try fresh install of the addon but still no luck

aerni commented 3 years ago

I just tried on a fresh install and can't reproduce this issue. It might be that your view and config was cached before you added the keys to your .env. Try to run php artisan optimize:clear and try again.

samdgea commented 3 years ago

Ok i try run php artisan optimize:clear but still not showing, but when using DevTools / Inspect Element there's no error says Error Invalid site key.

Google reCaptcha still not showing

aerni commented 3 years ago

Sorry, I have no idea why this is not working for you. But I don't think this is an issue with this addon. The view and reCAPTCHA JavaScript seem to load correctly. There must be something else going on with your particular setup. You can always publish the views with php please vendor:publish --tag=livewire-forms-views and change the captcha view.