diff --git a/src/PaymentMethods/Directdebit.php b/src/PaymentMethods/Directdebit.php index 50171cd1..64dc893a 100644 --- a/src/PaymentMethods/Directdebit.php +++ b/src/PaymentMethods/Directdebit.php @@ -10,7 +10,7 @@ protected function getConfig(): array { return [ 'id' => 'directdebit', - 'defaultTitle' => 'SEPA Direct Debit', 'mollie-payments-for-woocommerce', + 'defaultTitle' => 'SEPA Direct Debit', 'settingsDescription' => "SEPA Direct Debit is used for recurring payments with WooCommerce Subscriptions, and will not be shown in the WooCommerce checkout for regular payments! You also need to enable iDEAL and/or other 'first' payment methods if you want to use SEPA Direct Debit.", 'defaultDescription' => '', 'paymentFields' => false, diff --git a/src/PaymentMethods/Giftcard.php b/src/PaymentMethods/Giftcard.php index 6bb5d80e..29ca7dc0 100644 --- a/src/PaymentMethods/Giftcard.php +++ b/src/PaymentMethods/Giftcard.php @@ -59,7 +59,7 @@ protected function getConfig(): array { return [ 'id' => 'giftcard', - 'defaultTitle' => 'Gift cards', 'mollie-payments-for-woocommerce', + 'defaultTitle' => 'Gift cards', 'settingsDescription' => '', 'defaultDescription' => 'Select your gift card', 'paymentFields' => true, diff --git a/src/PaymentMethods/Klarnasliceit.php b/src/PaymentMethods/Klarnasliceit.php index b827eb90..046d6562 100644 --- a/src/PaymentMethods/Klarnasliceit.php +++ b/src/PaymentMethods/Klarnasliceit.php @@ -10,7 +10,7 @@ protected function getConfig(): array { return [ 'id' => 'klarnasliceit', - 'defaultTitle' => 'Klarna Slice it', 'mollie-payments-for-woocommerce', + 'defaultTitle' => 'Klarna Slice it', 'settingsDescription' => 'To accept payments via Klarna, all default WooCommerce checkout fields should be enabled and required.', 'defaultDescription' => '', 'paymentFields' => false, diff --git a/src/Settings/SettingsModule.php b/src/Settings/SettingsModule.php index 61ecb663..bd4bdbbf 100644 --- a/src/Settings/SettingsModule.php +++ b/src/Settings/SettingsModule.php @@ -78,7 +78,7 @@ public function services(): array return $settingsHelper->isTestModeEnabled(); }, 'settings.IsDebugEnabled' => static function (): bool { - $debugEnabled = get_option('mollie-payments-for-woocommerce_debug', true); + $debugEnabled = get_option('mollie-payments-for-woocommerce_debug', 'yes'); return $debugEnabled === 'yes'; }, 'settings.advanced_default_options' => static function (ContainerInterface $container) {