Skip to content

Commit

Permalink
wa-plugins/payment/tinkoff v.1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonix committed Nov 6, 2024
1 parent e741933 commit 0f32cdf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion wa-plugins/payment/tinkoff/lib/config/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'icon' => 'img/tinkoff.svg',
'logo' => 'img/tinkoff.png?v2',
'vendor' => 'webasyst',
'version' => '1.1.0',
'version' => '1.1.1',
'type' => waPayment::TYPE_ONLINE,
'partial_refund' => true,
'partial_capture' => true,
Expand Down
14 changes: 8 additions & 6 deletions wa-plugins/payment/tinkoff/lib/config/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@
'value' => '',
'title' => /*_wp*/('Terminal ID'),
'control_type' => waHtmlControl::INPUT,
'description' => 'Выдается Т-Кассой после подключения.',
),
'terminal_password' => array(
'value' => '',
'title' => /*_wp*/('Пароль'),
'control_type' => waHtmlControl::PASSWORD,
'description' => <<<HTML
<span class="js-tkassa-registration-link" style="background-color: #fea; display: block; margin: 10px 0; padding: 10px 15px; font-weight: normal; font-size: 14px;color: black; width: 80%; border-radius: 8px;">
Подключайтесь к Т-Кассе <a href="https://www.tbank.ru/kassa/form/partner/webasyst" target="_blank" style="color: #09f;"><b>через Webasyst по этой ссылке</b></a> и получите данные для заполнения Terminal ID и пароля.
</span>
HTML
,
'description' => 'Выдается Т-Кассой после подключения.',
// 'description' => <<<HTML
// <span class="js-tkassa-registration-link" style="background-color: #fea; display: block; margin: 10px 0; padding: 10px 15px; font-weight: normal; font-size: 14px;color: black; width: 80%; border-radius: 8px;">
// Подключайтесь к Т-Кассе <a href="https://www.tbank.ru/kassa/form/partner/webasyst" target="_blank" style="color: #09f;"><b>через Webasyst по этой ссылке</b></a> и получите данные для заполнения Terminal ID и пароля.
// </span>
// HTML
// ,
),
'currency_id' => array(
'value' => '',
Expand Down

0 comments on commit 0f32cdf

Please sign in to comment.