Email verification checks for the order confirmation – causing issue
-
Hello support,
We are capturing the user details and creating an account whenever a user completes an order. But we are logging out the user when landing on the order success page using custom code – so in short the user account will be created, but user wont be loggedin when land on the order success/thankyou page. This was working fine till the recent woocommerce update.
Right now, we can see a login form on the success/thankyou page. We have tried adding below code and i can confirm the Woo version is latest – 8.2.0.
add_filter( 'woocommerce_order_email_verification_required', '__return_false' );
We are not allowing guest checkouts, however we are programatically forcing to logout when user land on the success/thankyou page. This new email confirmation functionality seems to have conflict with our scenario. I can confirm we tried in incognito with above code added in functions.php. Please advise, is there an option to disable this check even for account holders and when matched with our coding scenario? This is important and we believe a lot of users will have our kind of customizations.
Please help. thanks.
- The topic ‘Email verification checks for the order confirmation – causing issue’ is closed to new replies.