{"data":{"id":"ACP2E-5059","source":"qpt","sourceRef":"magento/quality-patches@1.1.85","title":"Fixes the issue where customers receive duplicate order confirmation emails for the same order.","categories":["Order/Checkout","Emails"],"components":["magento/module-sales"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-84/acp2e-5059","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-84/acp2e-5059.md","blobSha":"121f2311d6207eac7a9188fce8e43df3314f4139","description":"Customers receive duplicate order confirmation emails when Asynchronous sending is enabled and two sales email cron jobs process the same order at the same time.","stepsToReproduce":"1. In the Admin, go to Stores > Settings > Configuration > Sales > Sales Emails > General Settings and set Asynchronous sending to Enable. 1. Arrange for two sales email cron workers to process the pending order confirmation concurrently. 1. Place a new storefront order using a valid customer email address and complete checkout. 1. Check the customer's email inbox for order confirmation messages.","introducedInQpt":"1.1.84","createdFor":["2.4.8-p3"],"documentedRange":"2.4.8 - 2.4.9","scheduledFixRelease":"2.4.10"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.8 <2.4.10","path":"patches/os/ACP2E-5060_2.4.8-p3.patch","blobSha":"a1ac0fa80d2f5c04086da318ecec7a64b7f59660","url":"https://raw.githubusercontent.com/magento/quality-patches/3610179336d510e38921cb84f6c8a8ea7d9b60b5/patches/os/ACP2E-5060_2.4.8-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales/Model/EmailSenderHandler.php","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/etc/config.xml","change":"modified","package":"magento/module-sales"}],"packages":["magento/module-sales"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.9","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.9","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.9","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.9","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":{"and":[{"type":"config","path":"sales_email/general/async_sending","match":"1"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-5059 details"}