ACSD-46520: Users get an incorrect order status when refunded using store credits
Users get an incorrect order status when refunded using store credits. Quality patch ACSD-46520 for magento/module-customer-balance applies to Magento Open Source and Adobe Commerce 2.4.0 to 2.4.4-p17.
- Categories
- Order/Checkout
- Components
- magento/module-customer-balance
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.20
Issue
Users get an incorrect order status when refunded using store credits.
Steps to reproduce
1. Create a customer account on the storefront and log in. 1. Assign store credits to the customer from the Admin. The store credits should cover the whole order. 1. Place an order using the store credits. 1. Invoice the order. 1. Create a credit memo to refund the full amount of the order. Select the Refund to store credit checkbox. 1. Check the order status.
Adobe's page lists 2.4.3 - 2.4.5 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.
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-46520. On Cloud, add ACSD-46520 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-46520/ 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-ee-base >=2.4.0 <2.4.3
- Magento Open Source
- —
- Patch file
- patches/commerce/MDVA-44315_2.4.2.patch
- vendor/magento/module-customer-balance/Model/Creditmemo/Balance.php
- vendor/magento/module-customer-balance/Plugin/CreditMemoResolver.php
magento/magento2-ee-base >=2.4.3 <2.4.4-p18
- Magento Open Source
- —
- Adobe Commerce
- 2.4.4-p17, 2.4.4-p16, 2.4.4-p15, 2.4.4-p14, 2.4.4-p13, 2.4.4-p12, 2.4.4-p11, 2.4.4-p10, 2.4.4-p9, 2.4.4-p8, 2.4.4-p7, 2.4.4-p6, 2.4.4-p5, 2.4.4-p4, 2.4.4-p3, 2.4.4-p2, 2.4.4-p1, 2.4.4, 2.4.3-p3, 2.4.3-p2, 2.4.3-p1, 2.4.3
- Requires
- MDVA-42645
- vendor/magento/module-customer-balance/Model/Creditmemo/Balance.php
- vendor/magento/module-customer-balance/Plugin/CreditMemoResolver.php
