Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Snickser committed Jul 17, 2024
1 parent 1505410 commit 2b5f9e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion classes/gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ public static function add_configuration_to_gateway_form(\core_payment\form\acco

$mform->addElement('text', 'shopid', get_string('shopid', 'paygw_yookassa'));
$mform->setType('shopid', PARAM_TEXT);
$mform->addRule('shopid', get_string('required'), 'required', null, 'client');

$mform->addElement('text', 'apikey', get_string('apikey', 'paygw_yookassa'), ['size' => 48]);
$mform->addElement('text', 'apikey', get_string('apikey', 'paygw_yookassa'), ['size' => 50]);
$mform->setType('apikey', PARAM_TEXT);
$mform->addRule('apikey', get_string('required'), 'required', null, 'client');

$options = [
1 => 1,
Expand Down

0 comments on commit 2b5f9e3

Please sign in to comment.