• Resolved jopourri

    (@jopourri)


    Hi again

    I’m sorry I just closed the other topic.

    I’m not sure about one thing, because if I run this function with “Enable email verification for already registered users” disabled, the tool will never delete any users.
    So the only way to use correctly this tool is to enable verification for already registered users before, right ?

    Best regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @jopourri,

    “Enable email verification for already registered users” means users that were added before our plugin was installed. So, it may delete some users even with this option disabled, i.e. if the plugin was enabled say for a month, and during that month there were say 10 users who didn’t verify their email, then “Delete users” tool will delete those 10 users. And with this option enabled, it could delete more users (i.e. those who were added before the plugin was activated (or during time the plugin was deactivated)). Hope you get the idea…

    Thread Starter jopourri

    (@jopourri)

    Hi @algoritmika ,

    Thanks for your explanations it’s clear now.

    I found something strange when I was testing the plugin.
    When I did an order and decided to subscribe an account during the order validation, it deletes my items after submit my order and send an empty order. The empty order was directly marked as finished and it was not linked to the new account I created.

    Did you have the same issue ?

    Have a nice day.

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @jopourri,

    Actually you are the second person who had this “empty order” issue recently. Unfortunately, no matter what I do, I’m not able to reproduce it on my server. However, it looks like we identified the part of the code which causes this trouble (at least on his server). Please update the plugin to the latest v1.3.1, then in “WooCommerce > Settings > Email Verification > General” there is new checkbox option “Prevent automatic user login after checkout” – could you please try disabling it (it’s enabled by default) and let me know if that solves the issue?

    Thread Starter jopourri

    (@jopourri)

    Hi @algoritmika

    Okay I did the update and now it’s working fine.

    Thanks a lot.

    I’m still testing the plugin in different way. I’ll let you know if I found something to improve.

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @jopourri,

    Just wanted to let you know that it should be now fixed in plugin v1.4.0 – no more “empty orders” even with “Prevent automatic user login after checkout” option enabled.

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @jopourri,

    Regarding “Delete users” tool:

    We’ve just released new plugin v1.7.0, where I’ve added new “Delete users automatically” option to “WooCommerce > Settings > Email Verification > Admin” – it deletes unverified users from the database automatically once per week.

    Please take a look and let me know if something is not working as expected.

    P.S. It would be probably a good idea to set some expiration time for the activation links (with “Expire activation link” option in “WooCommerce > Settings > Email Verification > General”). Otherwise (i.e. if no expiration time is set) “Delete users” tool could delete a user who got his activation link just a couple of minutes ago, and simply didn’t have time to verify his email yet.

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