From fe9f2cc7937f2601fc9501a699f7cbca5026a560 Mon Sep 17 00:00:00 2001 From: Vitalij Mik Date: Tue, 1 Oct 2024 13:40:48 +0200 Subject: [PATCH] NTR: PISHPS-636: change selector for apple pay --- .../plugins/apple-pay-payment-method.plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/app/storefront/src/mollie-payments/plugins/apple-pay-payment-method.plugin.js b/src/Resources/app/storefront/src/mollie-payments/plugins/apple-pay-payment-method.plugin.js index a2856efa8..4b0a4cbd3 100644 --- a/src/Resources/app/storefront/src/mollie-payments/plugins/apple-pay-payment-method.plugin.js +++ b/src/Resources/app/storefront/src/mollie-payments/plugins/apple-pay-payment-method.plugin.js @@ -21,7 +21,7 @@ export default class MollieApplePayPaymentMethod extends Plugin { } // support for < Shopware 6.4 - this.hideApplePay('.checkout-main .payment-method-input.applepay'); + this.hideApplePay('.payment-method-input.applepay'); // support for >= Shopware 6.4 // we have to find the dynamic ID and use that @@ -30,7 +30,7 @@ export default class MollieApplePayPaymentMethod extends Plugin { client.get( shopUrl + '/mollie/apple-pay/applepay-id', (data) => { - me.hideApplePay('.checkout-main #paymentMethod' + data.id); + me.hideApplePay('#paymentMethod' + data.id); } );