Log in not working correctly on checkout page
-
AuthorPosts
-
-
January 19, 2020 at 8:43 PM #517790roccoParticipant
Hi,
I’m having problems logging in with a registered user from the checkout page.Every new session the first time I insert username and password and submit the form by pressing enter or clicking on the log in button, I get redirected to the same page without being actually logged in.
So I try to enter my credentials again and the same thing happens, get redirected to checkout again, but my user doesn’t look to be logged in.
The 3rd time I try to log in I succesfully get redirected to the checkout page, where I can actually pay for my order.
-
January 20, 2020 at 11:48 AM #518000AnonymousInactive
Dear rocco,
If you want to login on the checkout page, you should enable this option http://prntscr.com/qq1vi9
Please check it out.
Best regards,
Huyen Anh
-
January 20, 2020 at 4:37 PM #518145roccoParticipant
Dear Huyen Ahn,
Thank you for your answer; unfortunately the option you suggested me enables guest checkout and I don’t want guest users to be able to checkout, I want them to login (if they already have an account) or register, however the login seems to fail on first and second attempt.
I attached you the credentials of a test user I created so you can replicate the behavior that occurs.
Thank you again. -
January 20, 2020 at 4:40 PM #518150AnonymousInactive
Dear rocco,
If so, please turn-off this option http://prntscr.com/qq1vi9
So user need to login before checkout. Please check it out.
Best regards,
Huyen Anh
-
January 20, 2020 at 5:06 PM #518183roccoParticipant
Thanks again for your reply, I disabled the options you suggested, now the guest checkout is disabled as wanted.
The problem is that login does not work.
I attached a screenshot from our check-out page, as you can see I inserted the credentials of a test user, the problem is that when I press the login button the form is submitted and I get redirected to the exact same page that asks me to login again (this is the exact situation of the screenshot, but I already inserted credentials and logged in; I need to submit that form 3 times before actually being logged in). -
January 20, 2020 at 5:12 PM #518191AnonymousInactive
Dear rocco,
Please let me know exactly your issue with login.
And this is WordPress login form or the login form of the theme.
Best regards,
Huyen Anh
-
January 21, 2020 at 4:52 AM #518405roccoParticipant
Dear Huyen Anh,
thank you so much for your time. I did some debug on my own and found out that the checkout page was every time loaded statically from the cache of CloudFlare. At this moment I solved the issue disabling CloudFlare cache, guess I’ll have to find a way to invalidate that cache after user login.Thanks again and have a nice day.
-
-
AuthorPosts
You must be logged in to reply to this topic. You can click here