Skip to content

Commit

Permalink
[SV-35] init
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijusCoding committed Sep 30, 2024
1 parent 4e65cce commit a650fb2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions controllers/admin/AdminSaferPayOfficialSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,13 @@ private function displayConfigurationSettings()
'desc' => 'This description is visible in payment page also in payment confirmation email',
'class' => 'fixed-width-xxl'
],
SaferPayConfig::SAFERPAY_DEBUG_MODE => [
'title' => $this->module->l('Debug mode', self::FILE_NAME),
'validation' => 'isBool',
'cast' => 'intval',
'type' => 'bool',
'desc' => 'Enable debug mode to see more information in logs',
],
],
'buttons' => [
'save_and_connect' => [
Expand Down
1 change: 1 addition & 0 deletions src/Config/SaferPayConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ class SaferPayConfig
const PAYMENT_BEHAVIOR_WITHOUT_3D_AUTHORIZE = 1;

const SAFERPAY_CARDFORM_HOLDERNAME_REQUIRENCE = 'MANDATORY';
const SAFERPAY_DEBUG_MODE = 'SAFERPAY_DEBUG_MODE';

public static function supportsOrderCapture(string $paymentMethod)
{
Expand Down

0 comments on commit a650fb2

Please sign in to comment.