• Resolved wantyq

    (@wantyq)


    I’m currently using Snippets plugin where I added a filter which disables Woocommerce Email Security check.

    add_filter( 'woocommerce_order_email_verification_required', '__return_false' );

    But some of my clients started to reporting me that they are still getting this security check. We also connected Hubspot to our website where I can see that user confirms he’s email. I added a screenshot.

    Can someone explain me why this security check is still required?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @wantyq

    The filter you’ve added to the Snippets plugin should ideally disable the WooCommerce Email Security check. However, if some of your clients are still reporting that they are receiving this security check, it might be due to a few possible reasons:

    • Incorrect placement of the code: The code needs to be placed in the functions.php file of your active theme or child theme. If it’s placed elsewhere, it might not work as expected.
    • Caching issue: Sometimes, caching can cause such issues. You might want to clear all caches on your site, including any server-side caching if applicable.
    • Theme conflict: The theme you’re using might have some code that is causing this issue. You can switch to a default theme like Storefront temporarily to see if the issue is resolved.
    • Plugin conflict: There might be another plugin on your site that is overriding this filter. To check this, you can try deactivating other plugins one by one to see if the issue persists. You can find a more detailed explanation of conducting a conflict test here.

    Additionally, you can use a plugin to disable email verification, such as User Verification. You can also follow the solution shared in this thread.

    As for Hubspot, it’s important to note that the email confirmation process in Hubspot is separate from the WooCommerce email verification process. Even if a user confirms their email in Hubspot, WooCommerce might still require them to verify their email unless the check is properly disabled.

    I hope this helps! If you have any other questions, feel free to ask.

    Thanks!

    Thread Starter wantyq

    (@wantyq)

    I’m using Code Snippets plugin to insert the code but I selected this snippet to “Run everywhere”. Is this a good selection?

    Thread Starter wantyq

    (@wantyq)

    By the way, I can see massive amount of topics and different messages about how people are trying to find any workarounds for this security check. Why don’t you consider at all adding any button or something which could allow admins to choose either they want this security check enabled or not?

    Saif

    (@babylon1999)

    Hello @wantyq,

    Why don’t you consider at all adding any button or something which could allow admins to choose either they want this security check enabled or not?

    The filter currently functions as a button. While I can’t say for sure if the team will add it as a button in the future, generally speaking, it’s not possible to incorporate all features into the UI. Doing so would make it quite crowded. :?)

    That said, this is the second time I’ve come across this issue. To look into it more thoroughly, could you please provide a copy of your site’s System Status report? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.

    Look forward to hearing back from you.

    Thread Starter wantyq

    (@wantyq)

    Saif

    (@babylon1999)

    Thank you for sharing the logs!

    A report was opened about this issue on Github: https://github.com/woocommerce/woocommerce/issues/39750

    We don’t have an exact timeline for when the team will investigate or resolve the issue, as bug reports are prioritized based on a few criteria.

    I suggest you subscribe to the report to receive updates. :?)

    In the meantime, you could try performing a conflict test to make sure this is not caused by your theme or another plugin.

    If you’re not comfortable doing all the mentioned changes in the guide on your production site, then feel free to create a staging environment with WP-STAGING or via your host, just make sure to add the mentioned snippet in the staging environment as well.

    Let us know how it goes!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Woo Email check’ is closed to new replies.