Skip to content

Commit

Permalink
[SL-271] added BLIK
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijusCoding committed Nov 22, 2024
1 parent a837691 commit f887d77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Config/SaferPayConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ class SaferPayConfig
const PAYMENT_POSTFINANCE_PAY = 'POSTFINANCEPAY';
const PAYMENT_WECHATPAY = 'WECHATPAY';
const PAYMENT_CLICKTOPAY = 'CLICKTOPAY';
const PAYMENT_BLIK = 'BLIK';

const WALLET_PAYMENT_METHODS = [
self::PAYMENT_APPLEPAY,
Expand Down Expand Up @@ -148,6 +149,7 @@ class SaferPayConfig
'PostFinancePay' => self::PAYMENT_POSTFINANCE_PAY,
'WeChatPay' => self::PAYMENT_WECHATPAY,
'ClickToPay' => self::PAYMENT_CLICKTOPAY,
'Blik' => self::PAYMENT_BLIK,
];

const FIELD_SUPPORTED_PAYMENT_METHODS = [
Expand Down
4 changes: 4 additions & 0 deletions src/Service/LegacyTranslator.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

use Invertus\SaferPay\Config\SaferPayConfig;
use Invertus\SaferPay\Factory\ModuleFactory;
use PrestaShop\Module\PsAccounts\Vendor\phpseclib\Net\SSH1;
use SaferPayOfficial;

if (!defined('_PS_VERSION_')) {
Expand Down Expand Up @@ -82,6 +83,9 @@ private function getTranslations()
SaferPayConfig::PAYMENT_CARD => $this->module->l('Card', self::FILE_NAME),
SaferPayConfig::PAYMENT_POSTFINANCE_PAY => $this->module->l('PostFinancePay', self::FILE_NAME),
SaferPayConfig::PAYMENT_WECHATPAY => $this->module->l('WeChatPay', self::FILE_NAME),
SaferPayConfig::PAYMENT_BLIK => $this->module->l('Blik', self::FILE_NAME),
SaferPayConfig::PAYMENT_GOOGLEPAY => $this->module->l('Googlepay'),
SaferPayConfig::PAYMENT_CLICKTOPAY => $this->module->l('Clicktopay', self::FILE_NAME),
];
}
}

0 comments on commit f887d77

Please sign in to comment.