• Resolved budkhand

    (@budkhand)


    Hello,

    With every purchase, user’s passwords get just changed e-mail and but they don’t loose access to the site.

    Simultaneous to the “order received” email, they also receive a “Password Changed” email after every purchase.

    No changes were done to the site lately, so I have no clue of what might have started this behaviour.

    This happens with only the Woocommerce plugin active and the default Hello elementor theme. My products are just virtuell.

    Possible affected plugins I use:

    Woocommerce, Paid membersubscription, WP Mail SMTP

    Any idea of what could be happening and what is triggering it?

    Thank you

    • This topic was modified 1 year, 11 months ago by budkhand.
Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter budkhand

    (@budkhand)

    Hello,

    The email will still be sent even if you only progress the checkout.

    I have tested everything with Elementor support on the live website and all the plugins were deactivated, and a new theme was installed. A new cart and checkout page was created and WooCommerce was re-installed but the issue still persists.

    The issue happens when only WooCommerce is active with a basic theme.

    I’m afraid it’s only related to WooCommerce!

    as stated above we were experiencing the same problem not for every user on our end. This is what we found…

    On checkout, while “placing order” WooCommerce is doing also customer update with data you input in form.
    This runs?wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store.php?line 190?update?method which runs ->
    wp_update_user?(?wp-includes/user.php) for some reason it runs code block for password? or email change

    the fix for us was…

    https://gist.github.com/phillipswdc/0b45614c02c6923c926b5baad6e1025c

    Thread Starter budkhand

    (@budkhand)

    It’s done with your code phillipswdc. I appreciate it. ??

    • This reply was modified 1 year, 10 months ago by budkhand.

    @budkhand you are welcome!!

    Plugin Support Paulo P – a11n

    (@paulostp)

    Thanks for helping out @phillipswdc!

    @budkhand as you confirmed this solved your query I’ll go ahead and close the topic.

    @phillipswdc – add me as another thankful user for the code you provided!

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Customer password changed e-mail after every purchase’ is closed to new replies.