Skip to content

Commit

Permalink
Merge pull request #32 from PluginAndPartners/master
Browse files Browse the repository at this point in the history
Version 4.4.4
  • Loading branch information
lira authored Jan 27, 2021
2 parents 5767680 + 370a7b5 commit b1a64ce
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.4.4] - 2021-01-27

### Fixed
- Verify order amount vs paid amount when is approved status notification

## [4.4.3] - 2021-01-18

### Fixed
- Added the prefix in the upgrade table

## [4.4.2] - 2021-01-18

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</a>
</p>

# Prestashop 1.6.x & 1.7.x - Mercado Pago Module (v4.4.3)
# Prestashop 1.6.x & 1.7.x - Mercado Pago Module (v4.4.4)

With the official module of Mercado Pago you will have an integration, hundreds of solutions and thousands of sales. Maximize your conversions and make your customers return to your store by increasing their confidence in the shopping experience.

Expand Down
Binary file modified mercadopago.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function validateOrderState()
$this->amount = $this->pending;
$this->order_state = $this->getNotificationPaymentState('in_process');
} else {
if ($this->total > $this->approved) {
if ($this->total > $this->approved && $this->status === 'approved') {
$this->order_state = $this->getNotificationPaymentState('in_process');
} else {
$this->order_state = $this->getNotificationPaymentState($this->status);
Expand Down
2 changes: 1 addition & 1 deletion mercadopago/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Prestashop 1.6.x & 1.7.x - Mercado Pago Module (v4.4.3)
# Prestashop 1.6.x & 1.7.x - Mercado Pago Module (v4.4.4)
4 changes: 2 additions & 2 deletions mercadopago/mercadopago.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of MercadoPago
*/

define('MP_VERSION', '4.4.3');
define('MP_VERSION', '4.4.4');
define('MP_ROOT_URL', dirname(__FILE__));

if (!defined('_PS_VERSION_')) {
Expand Down Expand Up @@ -72,7 +72,7 @@ public function __construct()
$this->bootstrap = true;

//Always update, because prestashop doesn't accept version coming from another variable (MP_VERSION)
$this->version = '4.4.3';
$this->version = '4.4.4';

parent::__construct();

Expand Down

0 comments on commit b1a64ce

Please sign in to comment.