• Resolved mrs0beginner

    (@mrs0beginner)


    hi
    i have problem with reset password email in my site. customers cant receive password reset link. when a customer put email in forgot password page and click reset password button it says password reset link sent successfully. but nothing sent into spam or inbox of email…i used email log plugin for checking sent eamils. it says email sent. (mysite.com/my-account/lost-password/?reset-link-sent=true)

    and user can send email in contact us page of shop and email will receive by admin email. problem is password reset email for customer that cant be send…

Viewing 15 replies - 16 through 30 (of 32 total)
  • That’s no good at all! I’m really at a loss of what else to try, I’ve been googling this for weeks :/ I’ve checked all the woocommerce email settings and they are correct. I don’t think it’s an issue with the host as all my clients go through the same hosting provider. I’ve tried de-activating other plugins. If it’s a clash with her theme, that will a big issue as I doubt she wants to change to appearance of her website…

    @tkp432

    Thank you for this information, when I scrolled down to the bottom in the Emails section, the sending email said “[email protected]” — So I updated that field to the primary email address we send from (“[email protected]”). After saving the update, clearing website cache, browser cache, the issue still persists for me.

    What happens is a very strange loop: I click “Reset Password” [URL: mydomain.net/my-account/lost-password/] >> Redirected to main log in page [URL mydomain.net/wp-login.php] >> When I click “Lost Your Password?”, I’m redirected back to the My-Account Lost Password page [URL: mydomain/my-account/lost-password/]

    This is seriously maddenly. Thank you to everyone who has suggestions. I remember fixing this at one point a few years ago, but I believe tinkering with PHP scripts was what fixed it, and of course I can’t remember where and what templates were even used.

    Looking forward to updates on this. As a complete online store program, this should be fixable from the Dashboard area, no one should have to dive into scripts.

    This is exactly the same loop my client is having – from the lost password reset, to the home page wp login and then back to lost password page. It’s driving me crazy!!! She never set up a webmail address and just uses her usual email for everything, so I haven’t been able to test changing the send from address in settings. Though I guess if no other solutions come up we might have to go ahead and set it up just to give it a try.

    Is there ANYBODY of the WooCommerce team …TAKING THIS SERIOUSLY? LORD!

    Hi.

    My guess is that the WooCommerce team isn’t jumping all over this because it may not be their issue. On a clean install, the problem does not occur. I spent some time stepping through the code and I do not see anything obvious with the WooCommerce code that handles lost passwords. They will have to reproduce the issue in order to track it down. Since a clean install won’t reproduce the issue, the other alternative is to get a copy of your code base – including all plugins, etc… your entire site, basically (without passwords, etc…). Then someone can step through that code with a debugger and see the path of execution. Another possible method is to get a stack trace that shows every method that is executed from the moment “Reset Password” is clicked. That means either knowing the right code and where to put it or downloading the right plugin. That’s a lot of work to put on your shoulders so the best solution in my mind is to have someone use a debugger. This unfortunately means having to have a copy of your entire site’s code base.

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi, @mrs0beginner, @rubydrag0n, and @rachel8t4

    This is a caching issue — specifically, the my-account page needs to be excluded from being cached. Please contact your host and have them exclude that and then come back and let us know if that helps.

    See: https://docs.woocommerce.com/document/configuring-caching-plugins/#section-6

    Cheers!

    @rynald0s

    Thanks for letting us know, however that didn’t help my issue. We fixed it though, not sure if this will help or apply to everyone but:

    – We have recaptcha set up to work with the Lost Password page, and it was disabled, that’s what was causing our loop.

    I hope that helps someone ??

    Hi @rynald0s – thanks for the suggestion regarding caching. I did previously add the account pages to an exclusion list to stop them caching, but perhaps that’s no longer working due to a plugin update or something like that. I’ll contact the host and see if they can do it on their end ??

    @rachel8t4 you just sent an email to my email address meant for ryanld, i don’t know how the email got sent to me.

    Sorry reinfalldesign! Have no idea how that happened :O

    All I figured it out.

    Adding to cache exclusion rules did not fix this issue for us. Nothing worked, we were forever stuck in the forgot password loop.

    So the fix:
    You can turn OFF the woocommerce overrides for this forgot password (lost password):

    Go to WooCommerce -> Settings -> Advanced and:
    Scroll down to the “Lost Password” field and clear it out.
    Then make sure to clear all web caches everywhere.
    Visit the /wp-admin?somevar=blahblah (just to make sure you’re getting the latest)
    And forgot password link should be the default wordpress link.

    Hopefully that helps others,
    T

    Thank you so much @tison_ this actually seems to have worked!!! I’m still waiting to hear back from my client whether or not she has encountered more issues, but as far as I can tell it is now working!. I never would have thought to try that, thank you again for posting! ??

    HI, yes that works! People get acces to the standard WP-LOGIN.PHP.

    HANG ON! I stand corrected! It does work great ?? After logging into the wp-login.php, the client gets redirected to the account page on the frontside…great ?? Thank you very much for this solution ??

    • This reply was modified 5 years, 8 months ago by servicehh.

    I had the same problem.

    The password reset email arrived, but I was sent for an infinite loop.

    The problem was in using Varnish on the server.
    I need to do a Varnish configuration, this link solved my problem.

    https://silicondales.com/tutorials/woocommerce/make-woocommerce-password-reset-work-with-cloudways-varnish-exclude

    Thank you @rubydrag0n
    cc @rynald0s
    removing Invisible reCaptcha did it. WordPress and Woocommerce protection settings: Removed from: Enable Forgot Password Form Protection.

    Thank you, this certainly helped as this has become urgent for met to get resolves.

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Reset password email for WooCommerce customers is not working’ is closed to new replies.