Skip to content

Commit

Permalink
Merge branch task/PP-8999 into master
Browse files Browse the repository at this point in the history
task/PP-8999: Centi & Heidipay for Prestashop
  • Loading branch information
vekkon authored Apr 25, 2023
2 parents 1f923dd + c75492d commit 12e5bea
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 1 deletion.
4 changes: 3 additions & 1 deletion payrexx/payrexx.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct()
$this->name = 'payrexx';
$this->tab = 'payments_gateways';
$this->module_key = '0c4dbfccbd85dd948fd9a13d5a4add90';
$this->version = '1.4.5';
$this->version = '1.4.6';
$this->author = 'Payrexx';
$this->is_eu_compatible = 1;
$this->ps_versions_compliancy = ['min' => '1.7'];
Expand Down Expand Up @@ -437,5 +437,7 @@ public function loadTranslationsInUi()
$this->l('Google Pay');
$this->l('WeChat Pay');
$this->l('Alipay');
$this->l('Centi');
$this->l('Heidipay');
}
}
2 changes: 2 additions & 0 deletions payrexx/src/Config/PayrexxConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ public static function getPaymentMethods(): array
'google-pay' => 'Google Pay',
'wechat-pay' => 'WeChat Pay',
'alipay' => 'Alipay',
'centi' => 'Centi',
'heidipay' => 'Heidipay',
];
}

Expand Down
20 changes: 20 additions & 0 deletions payrexx/upgrade/Upgrade-1.4.6.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php
/**
* Payrexx Payment Gateway - upgrade the module
*
* @author Payrexx <integration@payrexx.com>
* @copyright 2023 Payrexx
* @license MIT License
*/
if (!defined('_PS_VERSION_')) {
exit;
}

function upgrade_module_1_4_6($module)
{
$hookName = 'actionFrontControllerSetMedia';
if (!$module->isRegisteredInHook($hookName)) {
$module->registerHook($hookName);
}
return include _PS_MODULE_DIR_ . 'payrexx/sql/install.php';
}
9 changes: 9 additions & 0 deletions payrexx/views/img/cardicons/card_centi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions payrexx/views/img/cardicons/card_heidipay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 12e5bea

Please sign in to comment.