MDVA-42326: Customers get an error on checkout after the session timeout, even…
Customers get an error on checkout after the session timeout, even if the Persistent Shopping Cart is enabled. Quality patch MDVA-42326 for magento/module-persistent applies to Magento Open Source and Adobe Commerce 2.3.6 to 2.4.3-p3.
- Categories
- Order/Checkout
- Components
- magento/module-persistent
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.8
Issue
Customers get an error on checkout after the session timeout, even if the Persistent Shopping Cart is enabled.
Steps to reproduce
1. Log in as a customer and add some products to the cart. 1. Check the shopping cart. 1. Wait for two minutes (set in precondition); the session should timeout. 1. Click Go to checkout and do not refresh the page. 1. Checkout as a guest, fill shipping address and choose a shipping method. 1. Click Next. 1. On the Review & Payments page, click Place Order. Since only one payment method is allowed, the customer should be able to place the order without selecting the payment method.
Adobe's page lists 2.3.6 - 2.3.7-p2, 2.4.1 - 2.4.3-p1 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.
Adobe scheduled the permanent fix for 2.4.4.
Install
Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply MDVA-42326. On Cloud, add MDVA-42326 under stage.build.QUALITY_PATCHES in .magento.env.yaml.
For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its MDVA-42326/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.
Patch files and compatible versions
magento/magento2-base >=2.3.6 <=2.3.7-p2 || >=2.4.1 <2.4.4
- Magento Open Source
- 2.4.3-p3, 2.4.3-p2, 2.4.3-p1, 2.4.3, 2.4.2-p2, 2.4.2-p1, 2.4.2, 2.4.1-p1, 2.4.1, 2.3.7-p2, 2.3.7-p1, 2.3.7, 2.3.6-p1, 2.3.6
- Adobe Commerce
- 2.4.3-p3, 2.4.3-p2, 2.4.3-p1, 2.4.3, 2.4.2-p2, 2.4.2-p1, 2.4.2, 2.4.1-p1, 2.4.1, 2.3.7-p2, 2.3.7-p1, 2.3.7, 2.3.6-p1, 2.3.6
- Patch file
- patches/os/MDVA-42326_2.4.3-p1.patch
- vendor/magento/module-persistent/Model/QuoteManager.php
