I am experiencing an issue with reCAPTCHA integration in a form that uses Formik for handling form state and validation. I have created a test project for recaptcha functionality. It is working fine on the test project but I am getting a 303 status code after submission in the main project.
The reCAPTCHA token is being set correctly in the state and added to the form data before submission. Despite this, the form submission fails, and I am unsure why.
Thanks for checking the query, everything in the form is working fine but when I add recaptcha, it returns 304 status code and the form is not being submitted.