I've successfully integrated your plugin on my staging environment, but on production (shared hosting service), I've always received a "invalid-json" error response when POSTing the form.
I've changed the following CaptchaMiddleware.php file by using CurlPost as the request method instead POST, as suggested here
$recaptcha = new ReCaptcha( Settings::get('secret_key'), new \ReCaptcha\RequestMethod\CurlPost() );
Now it works.
Can you please add a "method selection" to the plugin's settings page?
Thank you.
Last updated