The MDVA-31295 Magento patch fixes the issue where reward points are not calculated correctly when a partial order completes and items are taxed. This patch is available when the Magento Quality Patch (MQP) tool v.1.0.8 is installed. Please note that the issue will be fixed in Magento version 2.4.2.
Affected products and versions
- The patch was designed for Magento Commerce 2.3.0.
- The patch is also compatible with the following Magento versions: Magento Commerce and Magento Commerce Cloud 2.3.0 - 2.4.1.
Note: the patch can be applicable to other versions. To check if the patch is compatible with your Magento version, run
Rewards are not applied to customer's accounts when the order is complete (partially shipped) and items are taxed. When the items are not taxed, the rewards are added to the customer's accounts successfully.
Step to reproduce
- Log in to storefront as a customer.
- Add two products to the cart.
- Go to checkout, set shipping address that has tax and place order.
- In admin, go to the recently placed order.
- Click Invoice and set Qty to Invoice to 0 for one of the items and click Update Qty. Submit invoice.
- Click Ship and set Qty to Ship to 0 for the item that was not invoiced. Click Submit Shipment.
- Click Cancel order. The status will be set as Complete.
- In admin go to Customers > Choose customer purchase made before > Reward Points > Reward Points History.
- Check earned reward points for the placed order.
The reward points should be calculated for taxable orders when a partial order completes.
Reward points are not calculated for a taxable order when a partial order completes.
Apply the patch
For instructions on how to apply an MQP patch, use the following links depending on your Magento product:
- Magento Commerce: DevDocs Apply patches using Magento Quality Patches Tool.
- Magento Commerce Cloud: DevDocs Upgrades and Patches > Apply patches.
To learn more about Magento Quality Patches, refer to:
- Magento Quality Patches released: a new tool to self-serve quality patches.
- Check if patch is available for your Magento issue using Magento Quality Patches.
For info about other patches available in MQP tool, refer to the Patches available in MQP tool section.