{"data":{"id":"ACP2E-4456","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes an issue where canceling an order using a GraphQL mutation does not transition an order paid entirely with gift cards to the Closed status.","categories":["Order/Checkout","GraphQL"],"components":["magento/module-order-cancellation"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-78/acp2e-4456","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-78/acp2e-4456.md","blobSha":"065b2bda7c5cf257c0aeeabed39fc58407d2d9dd","description":"An issue occurs where canceling an order through a GraphQL mutation doesn't transition gift card–paid orders to the Closed status.","stepsToReproduce":"1. Create a gift card of any type. 1. Create a simple product. 1. Enable Free Shipping. 1. Enable GraphQL order cancellation by navigating to Stores > Configuration > Sales > Order cancellation, and set Order cancellation through GraphQL to Yes. 1. Sign in to the storefront account. 1. Purchase a gift card, generate an invoice for the order, and note the gift card number. 1. Add the simple product to the cart. 1. Select Free Shipping during checkout. 1. Complete the payment using the gift card. 1. Invoice the order. 1. Cancel the order using the following GraphQL mutation: mutation { cancelOrder(input: { order_id: \"Nw==\", reason: \"Other\" }) { error order { carrier created_at email gift_receipt_included grand_total id increment_id number order_date shipping_method status } } }","introducedInQpt":"1.1.78","createdFor":["2.4.8-p3"],"documentedRange":"2.4.8 - 2.4.8-p4","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.8 <2.4.9","path":"patches/os/ACP2E-4456_2.4.8-p3.patch","blobSha":"a7797e92ef1c055e73ad330c530a9b2a4c8ccd41","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACP2E-4456_2.4.8-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-order-cancellation/Model/CancelOrder.php","change":"modified","package":"magento/module-order-cancellation"}],"packages":["magento/module-order-cancellation"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-4456 details"}