Open imodouglas opened 3 months ago
Hi @imodouglas Thanks for documenting the problem.
I can see that this is a problem caused by subscriptions and its option to allowed registration for subscriptions checkout—under these circumstances, duplicate accounts would see this notice from core:
However that notice reveals the login form using JavaScript and assumes its present. With the case of subscriptions, it may not be.
@woocommerce/quark This may need some kind of resolution from the Subscriptions side to customise woocommerce_registration_error_email_exists
or force the form to display.
@woocommerce/rubik On our side, we can look into including a link to the my account page instead of <a href="#"..
to act as a fallback. The jQuery code may need tweaking so that it allows the link to work if the form does not exist on the page.
Adding this to the backlog.
Prerequisites
Describe the bug
When login is required during checkout like when a subscription product is being purchased and the customer is not logged in, the login form on checkout does not appear nor does the page redirects to the My Accounts page when the Please log in link is clicked. See screenshot: https://d.pr/i/i2nGIL
See a screenshot of the account and privacy settings: https://d.pr/i/fm40EP
Note: This only happens when the classic checkout is used.
Expected behavior
The page should redirect to the My Account page so the customer and log in and be redirected back to the checkout page.
Actual behavior
Nothing happens
Steps to reproduce
WordPress Environment
[]
Isolating the problem