Skip to content

Customer is automatically logged out during checkout process or sometime after order is placed #13889

@akhileshlpatel

Description

@akhileshlpatel

Logged In customer automatically logged out during the checkout process when one of the catalog setting is set to YES in admin. This issue occurred when user come to the checkout page and sometimes just after placing an order. Sometimes when user just refresh the checkout page.

Preconditions

  1. Magento CE 2.2.2 with sample data is installed. PHP 7.0.26

Steps to reproduce

  1. Enable the setting in Admin -> Stores -> Configuration -> Catalog -> Catalog -> Recently Viewed/Compared Products -> Synchronize widget products with backend storage -> Yes
  2. Login as register customer.
  3. Add product in cart and go to the checkout page.
  4. Just refresh the checkout or go ahead with checkout process.

Expected result

  1. Customer should not be logged out automatically

Actual result

  1. Customer is logged out automatically

I have tested this with different PHP versions and in multiple websites.
settings

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions