ACSD-68810: An order is assigned to a customer created on a different website despite the Account…
An order is assigned to a customer created on a different website despite the Account Sharing Options in the Customer Configuration configuration. Quality patch ACSD-68810 for magento/module-customer-graph-ql applies to Magento Open Source and Adobe Commerce 2.4.8 to 2.4.8-p5.
- Categories
- Customer, Order/Checkout
- Components
- magento/module-customer-graph-ql
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.74
Issue
An order is assigned to a customer created on a different website despite the Account Sharing Options in the Customer Configuration configuration.
Steps to reproduce
1. Create a secondary website, store, and store view. 1. Navigate in the Admin sidebar to Stores > Settings > Configuration > CUSTOMERS > Customer Configuration > Account Sharing Options > Share Customer Accounts, and Verify the Share Customer Accounts setting is set to Per Website. 1. Create a product. 1. Create an order on the primary website using GraphQL. 1. Create a customer account using the same email address in the secondary store.
Adobe's page lists 2.4.8 - 2.4.8-p3 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.9.
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 ACSD-68810. On Cloud, add ACSD-68810 under stage.build.QUALITY_PATCHES in .magento.env.yaml.
For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-68810/ 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.4.8 <2.4.9
- Patch file
- patches/os/ACSD-68810_2.4.8-p3.patch
- vendor/magento/module-customer-graph-ql/Model/GetGuestOrdersByEmail.php
- vendor/magento/module-customer-graph-ql/Plugin/Model/MergeGuestOrder.php
