Closed byGits closed 2 years ago
@byGits please check your configuration and follow instructions you can find at https://laravel-recaptcha-docs.biscolab.com/docs/how-to-use-v2:
htmlFormButton
works only with "V2 Invisible"htmlFormSnippet
works only with "V2 Checkbox"
Describe the bug Hi, thanks for the package, unfortunately I get the following error:
Call to undefined method Biscolab\ReCaptcha\ReCaptchaBuilderV2::htmlFormButton()
When I remove
{!! htmlFormButton() !!}
the captcha appears correctly (without the submit button obviously).Configs are set too, both in .env and recaptcha.php file.
I also tried
{!! ReCaptcha::htmlFormButton() !!}
and still the same, I'm using v2 but even if I change it to invisible in config, then I get this error instead:Call to undefined method Biscolab\ReCaptcha\ReCaptchaBuilderInvisible::htmlFormSnippet()
Environment: