6 replies [Last post]
jstrachan's picture
Offline
Joined: 03/01/2010
Juice: 35
Was this information Helpful?

When users on my site complete their checkout, some are sent to the proper checkout complete page and shown the message I've set in Checkout Settings while others are redirected to the user login page (/user).
I have content in all three checkout completion message fields (for logged-in users, for existing users, for new users) but the message for new users is never shown since anonymous users end up at /user after submitting the Checkout Review page. Logged in users and users who enter a known email address during checkout are properly shown the checkout completion page with the appropriate message.
Possibly pertinent settings:

  • Public registrations: Visitors can create accounts and no administrator approval is required.
  • Require e-mail verification when a visitor creates an account: TRUE
  • Enable anonymous checkout (users can checkout without logging in).: TRUE
  • Send new customers a separate e-mail with their account details.: TRUE
  • Login users when new customer accounts are created at checkout.: FALSE
  • New customer accounts will be set to active.: TRUE
  • Alternate checkout completion page: null

This seems like a huge bug but I didn't turn up anyone else complaining of the same problem in my searches so I'm thinking I must be missing something.
Any ideas? This is driving me bananas...

Uberchic's picture
Offline
Administrator
Joined: 08/29/2008
Juice: 754
Re: Inconsistent Checkout Redirect

Just to clarify, only users who enter a previously unregistered (but valid) email address at checkout are having problems?

jstrachan's picture
Offline
Joined: 03/01/2010
Juice: 35
Re: Inconsistent Checkout Redirect

Correct. Users already logged in or who enter a known email address are properly shown their completion message.

Uberchic's picture
Offline
Administrator
Joined: 08/29/2008
Juice: 754
Re: Re: Inconsistent Checkout Redirect

What happens if you switch this one:
Login users when new customer accounts are created at checkout.: FALSE
to TRUE

Does that solve it? I am frequently confused by all the settings, so my suggestion could be wrong, but that's the only thing I can think might be causing problems.

jstrachan's picture
Offline
Joined: 03/01/2010
Juice: 35
Re: Re: Re: Inconsistent Checkout Redirect

It's a good suggestion although it unfortunately didn't help. The user still ends up at /user except instead of seeing the login screen, they see their profile.

My sites uses a number of 3rd party modules and I've done a bunch of customization so I'm guessing that it's some obscure interaction somewhere.

I'll be doing some more testing today and am really hoping to turn something up...

jstrachan's picture
Offline
Joined: 03/01/2010
Juice: 35
Re: Inconsistent Checkout Redirect

Well, this is embarrassing.

It turns out that the culprit was a Rule that I had created to cause this exact behaviour: when a user account is created, redirect to /user. The original application was to send a new user to their profile page (where some custom text was presented) instead of the home page. I never put together that the behind-the-scenes creation of a user account through UC would be firing this.

Thanks for trying to help with this, Uberchic. Now I need to go and brush up on Occam's razor...

alexsin's picture
Offline
Joined: 11/23/2011
Juice: 7
same issue

hello
having the same issue, checked out my rules, non of them redirect to user page.
anyone have some idea what could be wrong ?