Home › Forums › Email Verification for WooCommerce › Having issues when “Prevent automatic user login after registration” is enable
- Support forum for the Email Verification for WooCommerce.
- This topic has 6 replies, 2 voices, and was last updated 3 years, 1 month ago by Tom Anbinder.
- April 20, 2020 at 7:18 am #101102
If i have Prevent automatic user login after register and/or Prevent automatic user login after checkout enabled, when purchasing Simple Virtual Product (like memberships) the product is not added after checkout process. I had to disable these features for Woocommerce to work properly.
Please advice.April 20, 2020 at 12:12 pm #101103
Could you please let me know which plugin version are you using? Similar bug was fixed in plugin v1.4.0.April 20, 2020 at 3:43 pm #101104
Thanks for your prompt reply. Using 1.4.2 latest.April 21, 2020 at 3:38 pm #101105
Thank you for the info, and sorry for the late reply.
Let me try to code a different approach to “Prevent automatic user login after checkout”, hopefully it will help. I will get back to you shortly.April 22, 2020 at 3:21 pm #101106
Could you please update the plugin to the latest v1.5.0, then go to “WooCommerce > Settings > Email Verification > General > Advanced Options” and try changing the new Action for “Prevent automatic user login after checkout” option to On “before ‘thank you’ page” (it’s set to On “get return URL” by default).
Please let me know if that helped.April 22, 2020 at 6:29 pm #101107
Installed the latest version and configure it as per your instructions. The product is added, but the user can log in to My Account without validating email. Unless the user logs out, when trying to log in again they are blocked showing the message to activate the account.
This is my settings:
Redirect to “My account” = Enabled
Delay standard WooCommerce customer new account email = Delay
Prevent automatic user login after register = Unchecked
Prevent automatic user login after checkout = Enabled
-Add notice = Checked
-Block “Thank you” page = Unchecked
-Block customer order emails = Unchecked
Block guests from adding products to the cart = unchecked
Custom “logout” function = unchecked
Action for “Prevent automatic user login after checkout” = ON “before thank you page”
I am using CartFlow for custom flows (checkout and thank you page). But before my support request, the login block worked, only the problem was that the product was not added.
But now the product is added but the login block is not working.April 22, 2020 at 9:08 pm #101108
Thank you for the feedback.
I’ve just tried setting options exactly as you’ve described but, unfortunately, couldn’t reproduce the issue – the user is not logged in after making the order and there is a message to activate an account on “Thank you” (“Order received”) page.
Would it be possible for me to log in to your site’s admin to check what’s going on (my email is [email protected])? Please let me know if sharing an account is not an option and I will continue solving this remotely.
- You must be logged in to reply to this topic.