1

In our shop there are records in the table sales_flat_quote where the customer_id is NULL. If I understand correctly this is due to a customer not being logged in.

The catch is that our shop has forced login: without loggin in a customer can't enter the shop.

This issue causes several problems:

  • Sometimes customers receive an error when they try to place an order.
  • Sometimes when one account logs in on two different machines, two different shopping carts exist under the same account.

Does anybody have any idea as to why sometimes the customer_id is not recorded?

Magento version 1.9.3.7

For forcing the login we use a module. When the customer tries to place the order they One Step Checkout keeps loading and a red bar without text appears. The admin receives an email with "Payment Transaction Failed Reminder" without any more information.

Also, this problem occurs with 30-50 regular customers but not with others. This caused be to think the problem is client based, but all clients use different OS, browsers, etc.

closed as off-topic by Manoj Deswal, Jai, 7ochem, Siarhey Uchukhlebau, Priyank Apr 12 '18 at 12:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – 7ochem, Siarhey Uchukhlebau, Priyank
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Magento 1 or Magento 2? – PY Yick Apr 12 '18 at 3:22
  • Sorry, Magento version 1.9.3.7 – Bo Bergmans Apr 12 '18 at 9:38
  • "without loggin in a customer can't enter the shop" -> could you elaborate how this is achieved? would it be possible for me to disable javascript, or remove a popup, and enter the shop without a login? – simonthesorcerer Apr 12 '18 at 9:40
  • 2
    Possible duplicate of How quotes work in Magento – Richard Apr 12 '18 at 10:46
  • 1
    I don't think this is a duplicate either, because the intention is not to have guest quotes. however, there is not enough context to even guess what can be going on. How did you setup that forced login? Customers receive an error, what is the error? A lot is going on that is not right. All this is pretty vague... – 7ochem Apr 12 '18 at 11:51