[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACSD-68400: The virtual gift card quantity is not accurately reflecting in the inventory reservation table.

The ACSD-68400 patch fixes the issue where the virtual gift card quantity is not accurately reflected in the inventory reservation table. This patch is available when the Quality Patches Tool (QPT) 1.1.73 is installed. The patch ID is ACSD-68400. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.6-p12

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-p8
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

The virtual gift card quantity is not accurately reflecting in the inventory reservation table.

Steps to reproduce:

  1. Create a clean 2.4-develop instance.
  2. Log in to the admin.
  3. Create a virtual gift card.
  4. Edit the product and click on Advanced Inventory.
  5. Enable Manage Stock and set the quantity to 9999.
  6. Save the product
  7. Go to the Frontend and navigate to the Gift card category.
  8. Add a product with an amount of 25.
  9. Add a product with an amount of 50.
  10. Go to checkout and place the order.
  11. Check the last entry in the inventory_reservation table for the placed order. It should show a quantity of 2.
  12. Go back to the admin panel and open the placed order from Sales > Orders.
  13. Click Invoice and submit an invoice for the order
  14. Check the inventory_reservation table again. It now shows a reservation of only 1 instead of 2.

Expected results:

Reservation should be created for the quantity that was ordered and invoiced, which is 2 in this case.

Actual results:

Reservation is created for only 1 instead of 2.

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:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3