There was an attempt to fix this at #1275330: Not being redirected to checkout after having logged in. Now, the redirection to checkout after having logged in works again.

But users that did not yet register to the site will not be redirected to their checkout page after they have registered and validated their e-mail address by clicking on the one-time-link sent by e-mail.

Comments

roball’s picture

Priority: Normal » Major

Increasing priority of this issue, since this feature represents 50% of this module's purpose:

"This module redirects anonymous users to a page where they can login or create a new account when they try to checkout. After the user logs in or registers, he is redirected to the checkout in order to finalize his order." (from the module project homepage).

Unfortunately, in the 7.x-2.x branch only the first use case works (redirection after login). The other 50% of the foreseen use case are broken unless this bug gets fixed.

roball’s picture

Title: Not being redirected to cart after user has registered and validated her e-mail » Not being redirected to checkout after user has registered and validated her e-mail
Issue summary: View changes
vasike’s picture

Status: Active » Needs review
StatusFileSize
new2.91 KB

indeed. the module doesn't cover this case.
@roball: thank you Sir.

there is a patch that should provide a solution for this.

roball’s picture

Status: Needs review » Reviewed & tested by the community

Thanks a lot vasike for providing this patch!

I have tested it and it works. Redirection to checkout for existing users still work. New users clicking the one-time login link received via email after having registered now see two buttons: the usual [ Login ] and [ Continue with checkout ]. I think this is an acceptable solution. The only flaw is that the explanation text above still reads "Click on this button to log in to the site and change your password", although there is now not only one button the user can chose from.

  • Commit 2755f5b on 7.x-2.x by vasike:
    Issue #2235037 by roball, vasike: Checkout redirect after user...
vasike’s picture

Status: Reviewed & tested by the community » Fixed

there is a commit that includes the previous patch + extra ne setting for the help text for the checkout button in this case - as mentioned at #4, thank you Sir.

roball’s picture

Thank you for committing this important patch!

I have updated the module to 7.x-2.0-beta1+10-dev (2014-Jun-10) and it now works perfectly for me. Just a minor note is that you must click the "Save configuration" button once at admin/commerce/config/checkout_redirect to get the "Reset password checkout redirect message" taking effect.

I think a 7.x-2.0-beta2 would be useful soon.

  • Commit bdafb73 on 7.x-2.x by vasike:
    Issue #2235037 by roball, vasike: Checkout redirect message by default...
vasike’s picture

i agree with both:
- new commit to have the reset password message by default.
- new (second) beta release out.

many thanks.

roball’s picture

Thank you so much for releasing a well working new beta!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.