QUALITY PATCH

ACSD-55352: After creating a partial credit memo with customer reward points…

After creating a partial credit memo with customer reward points, the order status changes to closed and credit memo options disappear from the admin order page. Quality patch ACSD-55352 for magento/module-sales applies to Magento Open Source and Adobe Commerce 2.4.2 to 2.4.6-p15.

Categories
Order/Checkout
Components
magento/module-sales
Origin
adobe-commerce-support
Since QPT
1.1.44

Issue

After creating a partial credit memo with customer reward points, the order status changes to closed and credit memo options disappear from the admin order page.

Steps to reproduce

1. Log in to the Adobe Commerce Admin. 2. Go to Stores > Other Setting > Reward Exchange Rates > Add New Rate. 3. Add two rates: * First: * Direction = Points to Currency * Rate = 100 * Upper Boundary = 100 * Second: * Direction = Currency to Points * Rate = 100 * Upper Boundary = 100 4. Create a simple product with the price of $100 and with Qty : 100. 5. Create a customer from the storefront. 6. Go to the backend again : Customers > All Customers > Edit > Reward Points > Update Points > Add 100 and save the customer. 7. Go to the storefront and log in as the customer created previously. 8. Add the product to cart with Qty : 10. 9. Go to Checkout and use the available 100 reward points when prompted and place the order. 10. Go to Admin > Sales > Orders > Invoice and ship that order. 11. Go to Credit Memo and update the Qty to Refund to 8. 12. Tick the Refund Reward Points checkbox and click Refund offline. 13. Try to refund the other two remaining products from the order, using the Credit Memo.

Adobe's page lists 2.4.2 - 2.4.6-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.7.

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-55352. On Cloud, add ACSD-55352 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-55352/ 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

Packages across compatible versions (1): magento/module-sales
Packages across compatible versions (1): magento/module-sales

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.