Skip to content

Commit

Permalink
fix #111 #110
Browse files Browse the repository at this point in the history
  • Loading branch information
Snickser committed Dec 13, 2024
1 parent a8af0a8 commit 2571636
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions classes/gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,6 @@ public static function add_configuration_to_gateway_form(\core_payment\form\acco
$mform->addHelpButton('sendlinkmsg', 'sendlinkmsg', 'paygw_robokassa');
$mform->setDefault('sendlinkmsg', 1);

$mform->addElement(
'advcheckbox',
'savedebugdata',
get_string('savedebugdata', 'paygw_robokassa')
);
$mform->setType('savedebugdata', PARAM_INT);
$mform->addHelpButton('savedebugdata', 'savedebugdata', 'paygw_robokassa');

$mform->addElement('text', 'fixdesc', get_string('fixdesc', 'paygw_robokassa'), ['size' => 50]);
$mform->setType('fixdesc', PARAM_TEXT);
$mform->addRule('fixdesc', get_string('maximumchars', '', 255), 'maxlength', 255, 'client');
Expand Down
3 changes: 0 additions & 3 deletions lang/en/paygw_robokassa.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@
$string['sendlinkmsg'] = 'Send payment link by email';
$string['sendlinkmsg_help'] = 'If enabled, a link to the invoice for payment will be sent to the users email.';

$string['savedebugdata'] = 'Save debug log';
$string['savedebugdata_help'] = 'Bank request and response data will be saved in {dataroot}/payment.log';

$string['fixcost'] = 'Fixed price mode';
$string['fixcost_help'] = 'Disables the ability for students to pay with an arbitrary amount.';
$string['maxcosterror'] = 'The maximum price must be higher than the recommended price';
Expand Down
3 changes: 0 additions & 3 deletions lang/ru/paygw_robokassa.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@
$string['sendlinkmsg'] = 'Отправлять ссылку оплаты на почту';
$string['sendlinkmsg_help'] = 'Если включено, то ссылка на счёт для оплаты будет отправляться на почту пользователя.';

$string['savedebugdata'] = 'Сохранять debug лог';
$string['savedebugdata_help'] = 'Данные запросов и ответов банка будут сохраняться в {dataroot}/payment.log';

$string['fixcost'] = 'Режим фиксированной цены';
$string['fixcost_help'] = 'Отключает для студентов возможность оплаты произвольной суммой.';
$string['maxcosterror'] = 'Максимальная цена должна быть выше рекомендуемой цены';
Expand Down

0 comments on commit 2571636

Please sign in to comment.