Skip to content

Commit

Permalink
Fix Mollie components not active on ne installations
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuesken committed Jan 17, 2025
1 parent 96922db commit 520ad5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PaymentMethods/Creditcard.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit 520ad5e

Please sign in to comment.