Skip to content

Commit

Permalink
Merge pull request #20 from mylgeorge/prestashop_8
Browse files Browse the repository at this point in the history
Added compatibility for PS 8.0.4
  • Loading branch information
sakgiok authored Nov 24, 2023
2 parents bf1b106 + 35414ee commit 27beea2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions codwfeeplus changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## v1.1.9
* Added compatibility for PS 8.0.4.
## v1.1.8
* Fixed a bug that prevented the module from working when a fresh install was made.
## v1.1.7
Expand Down
4 changes: 2 additions & 2 deletions codwfeeplus/codwfeeplus.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function __construct()
}
$this->name = 'codwfeeplus';
$this->tab = 'payments_gateways';
$this->version = '1.1.8';
$this->version = '1.1.9';
$this->author = 'Sakis Gkiokas';
$this->need_instance = 1;
if ($this->is17) {
Expand All @@ -83,7 +83,7 @@ public function __construct()

$this->displayName = $this->l('Cash on delivery with fee (COD) PLUS');
$this->description = $this->l('Accept cash on delivery payments with extra fee and more options');
$this->ps_versions_compliancy = array('min' => '1.6.0.6', 'max' => '1.7.99.99');
$this->ps_versions_compliancy = array('min' => '1.6.0.6', 'max' => '8.99.99');
$this->public_name = $this->l('Cash on delivery');
$this->tab_name = $this->l('COD with Fee Plus');
$this->_integration_general_arr = array(
Expand Down
2 changes: 1 addition & 1 deletion codwfeeplus/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>codwfeeplus</name>
<displayName><![CDATA[Cash on delivery with fee (COD) PLUS]]></displayName>
<version><![CDATA[1.1.8]]></version>
<version><![CDATA[1.1.9]]></version>
<description><![CDATA[Accept cash on delivery payments with extra fee and more options]]></description>
<author><![CDATA[Sakis Gkiokas]]></author>
<tab><![CDATA[payments_gateways]]></tab>
Expand Down
2 changes: 1 addition & 1 deletion codwfeeplus/controllers/front/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function postProcess()

ob_end_clean();
header('Content-Type: application/json');
$this->ajaxDie(Tools::jsonEncode(
$this->ajaxDie(json_encode(
array(
'preview' => $this->render('checkout/_partials/cart-summary', array(
'cart' => $cart,
Expand Down

0 comments on commit 27beea2

Please sign in to comment.