Having issues when “Prevent automatic user login after registration” is enable

Top WooCommerce & WordPress Plugins Forums Email Verification for WooCommerce Having issues when “Prevent automatic user login after registration” is enable

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #101102
    Arturo
    Participant

    Hi!

    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.

    #101103
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Arturo,

    Could you please let me know which plugin version are you using? Similar bug was fixed in plugin v1.4.0.

    #101104
    Arturo
    Participant

    Thanks for your prompt reply. Using 1.4.2 latest.

    #101105
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Arturo,

    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.

    #101106
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Arturo,

    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.

    #101107
    Arturo
    Participant

    Hi Tom,

    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.

    #101108
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Arturo,

    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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.