This page has moved to Adobe Experience League and will be redirected soon.
MDVA-31295: Loyalty points on partial orders
MDVA-31295: Loyalty points on partial orders
The MDVA-31295 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 Quality Patches Tool (QPT) 1.0.8 is installed. Please note that the issue was fixed in Adobe Commerce 2.4.2.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce on-premises 2.3.0
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.3.0 - 2.4.1
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches
package to the latest version and check the compatibility on the [!DNL Quality Patches Tool]: Search for patches page. Use the patch ID as a search keyword to locate the patch.
Issue
Rewards are not applied to customers' accounts when the order is complete (partially shipped) and items are taxed. When the items are not taxed, the rewards are added to the customers' accounts successfully.
Steps to reproduce:
- Log in to storefront as a customer.
- Add two products to the cart.
- Go to checkout, set the shipping address that has tax, and place the order.
- In the 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 the admin, go to Customers > Choose customer purchase made before > Reward Points > Reward Points History.
- Check earned reward points for the placed order.
Expected results:
The reward points should be calculated for taxable orders when a partial order completes.
Actual results:
Reward points are not calculated for a taxable order when a partial order completes.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
To learn more about Quality Patches Tool, refer to:
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.