{"data":{"id":"magento2-32511","source":"github-pr","sourceRef":"magento/magento2#32511","title":"[Checkout] Depend directives updated in failed payment email template","pr":{"number":32511,"url":"https://github.com/magento/magento2/pull/32511","author":"srsathish92","mergedAt":"2024-07-04T16:37:35Z","mergeCommit":"32b9733daba9be8dfff89eb9677545b0fce6e4c2","headCommit":"f0cfdbd24b7fa65dad3ee35554f7ad59560843d7","baseRef":"2.4-develop","diffSha256":"3529841a38d54e6f22503e2cf517708fee6f1b05fe2a1c16a393db06155952cd"},"issues":[{"number":32781,"url":"https://github.com/magento/magento2/issues/32781","title":"[Issue] [Checkout] Depend directives updated in failed payment email template","labels":["Area: Cart & Checkout","Component: Checkout","Issue: Confirmed","Priority: P2","Priority: P4","Progress: done","Reproduced on 2.4.x","Severity: S3"],"kind":"pr-derived"}],"fixedIn":"2.4.8","containingTags":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10"],"components":["magento/module-checkout"],"files":[{"path":"app/code/Magento/Checkout/view/adminhtml/email/failed_payment.html","change":"modified","package":"magento/module-checkout"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":22,"mergeBatched":false,"excluded":null,"sections":{"description":"Updated the depend directives in the failed payment email template. If the order is virtual doesn't require showing the shipping address and the shipping method.","stepsToReproduce":"1. Create virtual product\n2. Add trigger failed payment email logic in exception on any payment\n3. Placed Order with wrong details\n4. Receive failed payment email without shipping address & shipping method","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Cart & Checkout"],"component":["Checkout"],"priority":"P2","severity":"S3","reportedOn":[]},"categories":["Order/Checkout"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"24f3e6b65058552568579f6e1cee26d1aa53c096d35e976c79bcaea17cf135c1","isBugfix":0.7032,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8306,"feature":0.0243,"refactor":0.0664,"tests_only":0.0049,"docs_only":0.0078,"dependency":0.0086,"cleanup":0.0574},"confidence":0.6481},"scope":{"score":0.6415,"probabilities":{"0":0.4229,"1":0.5127,"2":0.0644},"confidence":0.1688},"risk":{"score":0.5877,"probabilities":{"0":0.5306,"1":0.3511,"2":0.1183},"confidence":0.1282},"area":{"choice":"checkout","probabilities":{"catalog":0.0041,"checkout":0.9039,"customer":0.008,"admin":0.0259,"graphql_api":0.0026,"framework":0.0064,"frontend":0.0434,"other":0.0057},"confidence":0.7939},"securityRelevant":0.0075,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0043,"2.4.0-p1":0.0049,"2.4.1":0.0052,"2.4.1-p1":0.0044,"2.4.2":0.0066,"2.4.2-p1":0.0066,"2.4.2-p2":0.0071,"2.4.3":0.0131,"2.4.3-p1":0.0115,"2.4.3-p2":0.0144,"2.4.3-p3":0.0079,"2.4.4":0.0154,"2.4.4-p1":0.0087,"2.4.4-p10":0.0078,"2.4.4-p11":0.008,"2.4.4-p12":0.0071,"2.4.4-p13":0.0074,"2.4.4-p14":0.0085,"2.4.4-p15":0.0065,"2.4.4-p16":0.0079,"2.4.4-p17":0.0065,"2.4.4-p18":0.0053,"2.4.4-p2":0.0028,"2.4.4-p3":0.0031,"2.4.4-p4":0.0031,"2.4.4-p5":0.0039,"2.4.4-p6":0.0045,"2.4.4-p7":0.0043,"2.4.4-p8":0.0042,"2.4.4-p9":0.0039,"2.4.5":0.0165,"2.4.5-p1":0.012,"2.4.5-p10":0.0078,"2.4.5-p11":0.0145,"2.4.5-p12":0.009,"2.4.5-p13":0.0081,"2.4.5-p14":0.0067,"2.4.5-p15":0.0068,"2.4.5-p16":0.0067,"2.4.5-p17":0.0066,"2.4.5-p2":0.0033,"2.4.5-p3":0.005,"2.4.5-p4":0.0055,"2.4.5-p5":0.0039,"2.4.5-p6":0.006,"2.4.5-p7":0.0064,"2.4.5-p8":0.0043,"2.4.5-p9":0.0039,"2.4.6":0.028,"2.4.6-p1":0.0163,"2.4.6-p10":0.0088,"2.4.6-p11":0.0102,"2.4.6-p12":0.0098,"2.4.6-p13":0.0084,"2.4.6-p14":0.0094,"2.4.6-p15":0.0065,"2.4.6-p2":0.0038,"2.4.6-p3":0.0072,"2.4.6-p4":0.0083,"2.4.6-p5":0.0065,"2.4.6-p6":0.0068,"2.4.6-p7":0.0065,"2.4.6-p8":0.0055,"2.4.6-p9":0.0048,"2.4.7":0.0143,"2.4.7-p1":0.0117,"2.4.7-p10":0.0081,"2.4.7-p2":0.0082,"2.4.7-p3":0.0119,"2.4.7-p4":0.0141,"2.4.7-p5":0.0114,"2.4.7-p6":0.0133,"2.4.7-p7":0.0114,"2.4.7-p8":0.0073,"2.4.7-p9":0.0054,"2.4.8":0.0195,"2.4.8-p1":0.0138,"2.4.8-p2":0.0168,"2.4.8-p3":0.0154,"2.4.8-p4":0.0143,"2.4.8-p5":0.0132,"2.4.9":0.0184,"unspecified":0.2868},"confidence":0.0791},"backportWorthy":{"score":1.1932,"probabilities":{"0":0.2459,"1":0.3151,"2":0.439},"confidence":0.0287}},"curated":{"title":"Fixes the failed payment email showing shipping details for virtual orders","description":"The failed payment email is showing the shipping address and the shipping method for a virtual order. The depend directives in Checkout email failed_payment.html are updated so the shipping address and the shipping method are only shown when a shipping method is set.","categories":["Order/Checkout"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-32511 details"}