From 520ad5e6247f597d2bb40be595b98d85886a64c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=BCsken?= Date: Fri, 17 Jan 2025 08:37:27 +0100 Subject: [PATCH] Fix Mollie components not active on ne installations --- src/PaymentMethods/Creditcard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PaymentMethods/Creditcard.php b/src/PaymentMethods/Creditcard.php index 85e26b43..684b33fe 100644 --- a/src/PaymentMethods/Creditcard.php +++ b/src/PaymentMethods/Creditcard.php @@ -68,7 +68,7 @@ protected function includeMollieComponentsFields($generalFormFields) protected function defaultComponentsEnabled() { - $isNewInstall = get_option(SharedDataDictionary::NEW_INSTALL_PARAM_NAME, false); + $isNewInstall = get_option(SharedDataDictionary::NEW_INSTALL_PARAM_NAME, 'yes'); if ($isNewInstall === 'yes') { return 'yes'; }