MDVA-31295: Loyalty points on partial orders

Last update: 2023-07-27
  • Topics:
  • Orders
    View more on this topic
  • Created for:
  • Admin

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 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:

  1. Log in to storefront as a customer.
  2. Add two products to the cart.
  3. Go to checkout, set the shipping address that has tax, and place the order.
  4. In the admin, go to the recently placed order.
  5. Click Invoice and set Qty to Invoice to 0 for one of the items, and click Update Qty. Submit invoice.
  6. Click Ship and set Qty to Ship to 0 for the item that was not invoiced. Click Submit Shipment.
  7. Click Cancel order. The status will be set as Complete.
  8. In the admin, go to Customers > Choose customer purchase made before > Reward Points > Reward Points History.
  9. 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.

On this page