diff --git a/src/Core/Config.php b/src/Core/Config.php index 9d9b845d..f7af5d41 100644 --- a/src/Core/Config.php +++ b/src/Core/Config.php @@ -109,11 +109,6 @@ public function isPuiEligibility(): bool return $this->getServiceFromContainer(ModuleSettings::class)->isPuiEligibility(); } - public function isVaultingEligibility(): bool - { - return $this->getServiceFromContainer(ModuleSettings::class)->isVaultingEligibility(); - } - public function isLiveVaultingEligibility(): bool { return $this->getServiceFromContainer(ModuleSettings::class)->isLiveVaultingEligibility(); diff --git a/src/Service/ModuleSettings.php b/src/Service/ModuleSettings.php index 6ef50f91..790b73c6 100644 --- a/src/Service/ModuleSettings.php +++ b/src/Service/ModuleSettings.php @@ -156,14 +156,7 @@ public function isPuiEligibility(): bool return $this->isSandbox() ? $this->isSandboxPuiEligibility() : $this->isLivePuiEligibility(); - } - public function isVaultingEligibility(): bool - { - return $this->isSandbox() ? - $this->isSandBoxVaultingEligibility() : - $this->isLiveVaultingEligibility(); - } public function getLiveClientId(): string { @@ -577,11 +570,6 @@ public function alwaysIgnoreSCAResult(): bool return $value === Constants::PAYPAL_SCA_DISABLED; } - public function getIsVaultingActive(): bool - { - return (bool)$this->getSettingValue('oscPayPalSetVaulting'); - } - /** * @return mixed */ diff --git a/views/smarty/admin/oscpaypalconfig.tpl b/views/smarty/admin/oscpaypalconfig.tpl index 6c65b685..65ec2672 100644 --- a/views/smarty/admin/oscpaypalconfig.tpl +++ b/views/smarty/admin/oscpaypalconfig.tpl @@ -504,7 +504,11 @@