{"data":{"id":"MDVA-40401","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where coupon usage value changes even if placing an order fails.","categories":["Shopping Cart","Order/Checkout"],"components":["magento/module-sales-rule"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-4/mdva-40401-coupon-usage-value-changes-even-after-failed-order","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-4/mdva-40401-coupon-usage-value-changes-even-after-failed-order.md","blobSha":"5411dcff376fd20805fca6772b5c35caf896ad1c","description":"Users are not able to reapply the coupon once they have used it in a failed order.","stepsToReproduce":"1. Create a shopping cart rule with autogenerated coupons. 1. Add a product to the cart and apply the coupon. 1. Go to Checkout. 1. Make the added product \"out of stock\" before placing the order. 1. You should get an out of stock error. 1. Run cron. 1. Go to the cart and remove that product. 1. Add another product and apply the coupon.","introducedInQpt":"1.1.4","createdFor":["2.4.2-p2"],"documentedRange":"2.3.6 - 2.3.7-p2, 2.4.1 - 2.4.3-p1","scheduledFixRelease":"2.4.4"},"files":[{"package":"magento/magento2-base","constraint":">=2.3.6 <=2.3.7-p2 || >=2.4.1 <2.4.4","path":"patches/os/MDVA-40401_2.4.2-p2.patch","blobSha":"ae4ae4014fbdd1dc924633aa45ddf3ef53d69e29","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-40401_2.4.2-p2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales-rule/Plugin/CouponUsagesIncrement.php","change":"modified","package":"magento/module-sales-rule"},{"path":"vendor/magento/module-sales-rule/etc/events.xml","change":"modified","package":"magento/module-sales-rule"}],"packages":["magento/module-sales-rule"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-40401 details"}