From ba0a584c98909dfbceddbff47944bd272d9d0b71 Mon Sep 17 00:00:00 2001 From: Marija Date: Fri, 5 Apr 2024 16:38:01 +0200 Subject: [PATCH] Fix payment method disabling when plugin is uninstalled or method is deleted in plugin CS-5265 --- Components/Integration/PaymentMethodService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Components/Integration/PaymentMethodService.php b/Components/Integration/PaymentMethodService.php index 07075267..ecaa3f3a 100644 --- a/Components/Integration/PaymentMethodService.php +++ b/Components/Integration/PaymentMethodService.php @@ -155,7 +155,7 @@ public function deletePaymentMethod(string $methodId): void return; } - $this->disablePaymentMean(self::ADYEN_NAME_PREFIX . $method->getCode()); + $this->disablePaymentMean($method->getCode()); } /**