Form Submission Fails on iOS Devices
-
Hello,
It seems on iOS devices the CF7 form fails recaptcha v3 with the orange box stating “There was an error trying to send your message. Please try again later”. I tested extensively (using browserstack) on various devices (Andriod, iOS, Apple Desktop and Windows OS) and the forms always fail for iOS devices only. All other devices/OS work find except iOS.
I’ve searched the forum and docs (https://contactform7.com/faq/after-submitting-the-form-i-get-an-error-message/) which I understand that google recaptcha thinks the submission is possible spam. So I tried using Takayuki Miyoshi (@takayukister) recommendation from another post of disabling recaptcha by placing the following code in in my theme functions.php and setting threshold = 0.0: (see screenshot at https://www.screencast.com/t/f76yjkV4y )
add_filter( 'wpcf7_recaptcha_verify_response', function( $is_human, $response_body ) { $score = isset( $response_body['score'] ) ? $response_body['score'] : 0; $threshold = 0.0; $is_human = $threshold < $score; return $is_human; }, 10, 2 );
But I’m still getting the same issue when anyone submits the form from an iOS device “There was an error trying to send your message. Please try again later.” It seems the above code doesn’t disable recaptcha. Any suggestions on how to troubleshoot further?
Thx,
SW
- The topic ‘Form Submission Fails on iOS Devices’ is closed to new replies.