Skip to content

Commit

Permalink
Release v7.8.3
Browse files Browse the repository at this point in the history
* [FIX] Fraud check conditional.
  • Loading branch information
alexhernandezord authored Jul 13, 2023
2 parents 8df3f7f + 42d4a6f commit a7dfe72
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Change Log

#### [v7.8.3](https://github.com/aplazame/prestashop/tree/v7.8.3) (2023-07-13)

* [FIX] Fraud check conditional.

#### [v7.8.2](https://github.com/aplazame/prestashop/tree/v7.8.2) (2023-04-17)

* [FIX] Deprecations.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version ?= v7.8.2
version ?= v7.8.3
errors = $(shell find aplazame -type f -name "*.php" -exec php -l "{}" \;| grep "Errors parsing ";)

syntax.checker:
Expand Down
2 changes: 1 addition & 1 deletion aplazame/aplazame.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct()
{
$this->name = 'aplazame';
$this->tab = 'payments_gateways';
$this->version = '7.8.2';
$this->version = '7.8.3';
$this->author = 'Aplazame SL';
$this->author_uri = 'https://aplazame.com';
$this->module_key = '64b13ea3527b4df3fe2e3fc1526ce515';
Expand Down
2 changes: 1 addition & 1 deletion aplazame/controllers/front/Api/confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function confirm(array $queryArguments, $payload)
}
}

if (Configuration::get('APLAZAME_CREATE_ORDER_AT_CHECKOUT') !== false) {
if (Configuration::get('APLAZAME_CREATE_ORDER_AT_CHECKOUT') == null) {
$amount = $cart->getOrderTotal(true);
if ($payload['total_amount'] !== Aplazame_Sdk_Serializer_Decimal::fromFloat($amount)->jsonSerialize()) {
if (!$this->module->deny($cart)) {
Expand Down

0 comments on commit a7dfe72

Please sign in to comment.