Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ config.xml
!/vendor/composer/
!/vendor/fig/
!/vendor/league/
!/vendor/monolog/
!/vendor/psr/
!/vendor/sunrise/
!/vendor/symfony/
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
4.2.7
- FN-13956 Minor fixes and improvements.

4.2.6
- FN-13815 Enhanced error handling and security improvements, simplified logger instantiation, added unified error processing, improved documentation, updated external dependencies.

Expand Down Expand Up @@ -42,6 +45,9 @@
4.0.0
- FN-11773 Complete plugin refactoring: redesigned plugin architecture, improved errors handling, stability and reliability, code clean up (lowest supported PHP version is 7.1).

3.5.5
- FN-12012 Fix bug with empty host in API calls from widget logic, fix bug with product category filters, integration with new widget banner/calculator based on iframe. End of official support for plugins 3.x version compatible with PHP 5.6 and PrestaShop versions below 1.6.1.11.

3.5.4
- FN-11832 Documentation updated.

Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [4.2.7](https://github.com/comfino/PrestaShop/tree/4.2.7) (2026-01-09)

[Full Changelog](https://github.com/comfino/PrestaShop/compare/4.2.6...4.2.7)

**Merged pull requests:**

- FN-13956 Minor fixes and improvements. [\#111](https://github.com/comfino/PrestaShop/pull/111) ([akozubskicr](https://github.com/akozubskicr))

## [4.2.6](https://github.com/comfino/PrestaShop/tree/4.2.6) (2025-12-30)

[Full Changelog](https://github.com/comfino/PrestaShop/compare/4.2.5...4.2.6)
Expand Down Expand Up @@ -114,6 +122,14 @@

- FN-11773 Complete plugin refactoring: redesigned plugin architecture, improved errors handling, stability and reliability, code clean up (lowest supported PHP version is 7.1). [\#92](https://github.com/comfino/PrestaShop/pull/92) ([akozubskicr](https://github.com/akozubskicr))

## [3.5.5](https://github.com/comfino/PrestaShop/tree/3.5.5) (2025-08-14)

[Full Changelog](https://github.com/comfino/PrestaShop/compare/3.5.4...3.5.5)

**Merged pull requests:**

- FN-12012 Fixed bug with empty host in API calls from widget logic, fixed bugs in product category filters logic and payment transaction processing, integration with new widget banner/calculator based on iframe. End of official support for plugins 3.x version compatible with PHP 5.6 and PrestaShop versions below 1.6.1.11. [\#91](https://github.com/comfino/PrestaShop/pull/91) ([akozubskicr](https://github.com/akozubskicr))

## [3.5.4](https://github.com/comfino/PrestaShop/tree/3.5.4) (2024-05-07)

[Full Changelog](https://github.com/comfino/PrestaShop/compare/3.5.3...3.5.4)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PrestaShop payment module for Comfino deferred payments gateway - installment pa

- **PrestaShop**: 1.6.x, 1.7.x, 8.x, 9.x (minimal supported version of PrestaShop is 1.6.1.11)
- **PHP**: 7.1 or higher
- **PHP extensions**: curl, json, zlib
- **PHP extensions**: ctype, curl, json, zlib

For legacy environments the latest version of the plugin compatible with PHP 5.6 and PrestaShop 1.6.0.14+: [3.5.5](https://github.com/comfino/PrestaShop/releases/tag/3.5.5)
It can be downloaded from here: [comfino.zip](https://github.com/comfino/PrestaShop/releases/download/3.5.5/comfino.zip)
Expand All @@ -32,7 +32,7 @@ We strongly recommend upgrading your store environment to at least version 1.7.8

- PHP 7.1 or higher
- PrestaShop 1.6.1.11 or higher
- PHP extensions: curl, json, zlib
- PHP extensions: ctype, curl, json, zlib
- Docker and Docker Compose (for local development)

### Local development setup
Expand Down
33 changes: 5 additions & 28 deletions comfino.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
}

if (!defined('COMFINO_VERSION')) {
define('COMFINO_VERSION', '4.2.6');
define('COMFINO_VERSION', '4.2.7');
}

if (!defined('COMFINO_BUILD_TS')) {
define('COMFINO_BUILD_TS', 1766606925);
define('COMFINO_BUILD_TS', 1769081918);
}

if (!defined('WIDGET_INIT_SCRIPT_HASH')) {
Expand All @@ -63,7 +63,7 @@ public function __construct()
{
$this->name = 'comfino';
$this->tab = 'payments_gateways';
$this->version = '4.2.6';
$this->version = '4.2.7';
$this->author = 'Comfino';
$this->module_key = '3d3e14c65281e816da083e34491d5a7f';

Expand All @@ -77,7 +77,6 @@ public function __construct()
$this->controllers = [
'cacheinvalidate',
'configuration',
'configurationrepair',
'error',
'payment',
'paymentstate',
Expand Down Expand Up @@ -131,11 +130,7 @@ public function __construct()
*/
public function install()
{
if (!$this->checkEnvironment(true)) {
return false;
}

if (!parent::install()) {
if (!$this->checkEnvironment(true) || !parent::install()) {
return false;
}

Expand All @@ -147,25 +142,7 @@ public function install()
*/
public function uninstall()
{
if (parent::uninstall()) {
if (!COMFINO_PS_17) {
$this->unregisterHook('payment');
$this->unregisterHook('displayPaymentEU');
}

$this->unregisterHook('paymentOptions');
$this->unregisterHook('paymentReturn');
$this->unregisterHook('displayBackofficeComfinoForm');
$this->unregisterHook('actionOrderStatusPostUpdate');
$this->unregisterHook('actionValidateCustomerAddressForm');
$this->unregisterHook('header');
$this->unregisterHook('actionAdminControllerSetMedia');
$this->unregisterHook('displayBackOfficeHeader');

return !class_exists('\Comfino\Main') || Comfino\Main::uninstall();
}

return false;
return Comfino\Main::uninstall($this) && parent::uninstall();
}

/**
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
},
"require": {
"php": ">=7.1",
"ext-ctype": "*",
"ext-curl": "*",
"ext-json": "*",
"ext-zlib": "*",
Expand Down
47 changes: 24 additions & 23 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading