{"data":{"id":"ACSD-52824","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where PayPal Express, Google Pay, and Apple Pay buttons are displayed for company customers when such payment methods are disabled in company settings.","categories":["Payments","B2B"],"components":["magento/module-paypal","magento/module-company-payment"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-45/acsd-52824-payment-method-display-dicrepancy","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-45/acsd-52824-payment-method-display-dicrepancy.md","blobSha":"dc7fed95d6d77b07ed0cda7d151dc519e5704dce","description":"Disabled payment methods are displayed for company customers.","stepsToReproduce":"1. Configure and enable PayPal Express Checkout. Navigate to Basic Settings > select PayPal Express Checkout and set the option for Display on Shopping Cart to Yes. 1. Configure Braintree and enable Apple Pay and Google Pay through Braintree. 1. Navigate to Customers > Companies and create a new company. 1. Click on Advanced Settings, locate the Applicable Payment Methods and choose Selected Payment Methods. 1. Under Selected Payment Methods, choose payment methods that are enabled and are not associated with PayPal Express Checkout, Apple Pay, or Google Pay. For example, select Check/Money Order. 1. After selecting the appropriate payment methods, create a new customer and associate them with the previously created company. 1. Log in with the customer account associated with the company and proceed to add items to the cart. 1. Pay attention to the mini cart, shopping cart, and the payment step during the checkout process.","introducedInQpt":"1.1.45","createdFor":["2.4.5-p1"],"documentedRange":"2.4.5 - 2.4.6-p3","scheduledFixRelease":"2.4.7"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.5 <2.4.7","path":"patches/os/ACSD-52824_2.4.5-p1.patch","blobSha":"409622e782be81735ecbd0b34ec2e23e743bcdf2","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-52824_2.4.5-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-paypal/Block/Express/InContext/SmartButton.php","change":"modified","package":"magento/module-paypal"}],"packages":["magento/module-paypal"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-b2b-base","constraint":">=1.3.4 <1.3.6","path":"patches/commerce/ACSD-52824_1.3.4-p1.patch","blobSha":"f475d95139e1d120e2859ad3163e3a26a84ac452","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-52824_1.3.4-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company-payment/Plugin/Payment/Model/MethodInterfacePlugin.php","change":"added","package":"magento/module-company-payment"},{"path":"vendor/magento/module-company-payment/Plugin/Paypal/Block/Express/InContext/SmartButtonPlugin.php","change":"added","package":"magento/module-company-payment"},{"path":"vendor/magento/module-company-payment/etc/frontend/di.xml","change":"modified","package":"magento/module-company-payment"}],"packages":["magento/module-company-payment"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"mage-os":[]},"conditions":{"and":[{"type":"config","path":"btob/website_configuration/company_active","match":"1"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-52824 details"}