3

I am having problems registering a member during checkout.

My checkout works fine as long as the user does try to register as a member, the payment is approved, the order appears in the system with the default status applied and the user is correctly returned to the order confirmation screen as specified in the return parameter of the exp:store:checkout tag.

If the user tries to register as a member as they checkout the following happens.

1) The user is returned to the second of our 3 step checkout process - the billing / shipping address screen. This is the page where the 'become member' checkbox and form is.

2) The site shows that they are now logged in. Additionally - The Basket still has their items in. Basket cookies haven't cleared.

2) Checking in the admin, the member has been created

4) The order has been received - marked as 'paid' BUT no status has been applied (and no email sent) & the members account hasn't been assigned to the order.

I originally had my order fields mapping to member fields, but have removed the mapping and the problems remain.

I am using the latest version of Store 1.6.3 and expression engine 2.5.5.

I'm a bit stuck how to debug this as no error codes are appearing on any of the pages.

Thanks in advance for your help!

  • Which payment gateway? – Adrian Macneil Feb 27 '13 at 15:22
  • This sounds like a curly one. Can you email support@exp-resso.com so we can take a look at your site directly? Thanks – Adrian Macneil Feb 27 '13 at 15:32
  • Hi Adrian - I have emailed support@exp-resso.com at 14:39 GMT today. – Tomtids Feb 27 '13 at 15:34
  • Ok great. Will follow up there! – Adrian Macneil Feb 27 '13 at 15:35
  • You might want to also make sure that you have inline error handling turned off in those templates and that you do not have any custom member fields set to required in the EE CP and instead allow them to be set as required at the template level. – Justin Long Feb 28 '13 at 4:29
4

This turned out to be caused by a conflict with the Twomile Login Redirect extension.

While Store was half way through processing the order, the member account is registered using the standard EE member registration functions (which I believe triggers the member_member_login_single hook since the member is logged in automatically). However, at this point the Twomile extension sees the member login and immediately redirects the customer back to the previous page (which results in an incomplete order and the customer's cart not being cleared).

The solution is to disable/uninstall Twomile Login Redirect. You can achieve the same things that extension provides on a per-template basis using FreeMember or any other member management plugins.

  • Just came across this exact same problem, thanks! – Nick Jan 29 '14 at 15:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.