title: reCaptcha V3 fails validation on first form submission only
body: <p>I am trying to set up reCaptcha v3 and it sort of works. For some reason the first time I submit the form it fails but from the second submit onwards it is fine. I can't figure out why this is happening?</p>
  
  <pre><code>&lt;script src="https://www.google.com/recaptcha/api.js?render=MY_SITE_KEY"&gt;&lt;/script&gt;
  &lt;script&gt;
  grecaptcha.ready(function () {
      grecaptcha.execute('MY_SITE_KEY', { action: 'contact' }).then(function (token) {
          var recaptchaResponse = document.getElementById('captcha-response');
          recaptchaResponse.value = token;
      });
  });
  &lt;/script&gt;
  
  
  
  
   &lt;input type="hidden" name="captcha-response" id="captcha-response"&gt;
  </code></pre>
  
  <p>PHP</p>
  
  <pre><code>$verifyResponse = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret='.$secretKey.'&amp;response='.$_POST['captcha-response']);
  $responseData = json_decode($verifyResponse);
  
       if(!$responseData-&gt;score &lt; 0.5) {
        $message .= "Verification failed " . $responseData-&gt;score;
    }
  </code></pre>
  
  <p>When I submit the form the first time, I get the validation error but my score is 0.9.</p>