Skip to content

Commit

Permalink
Merge pull request #30 from jvoliveiraGN/master
Browse files Browse the repository at this point in the history
Release 1.4.1
  • Loading branch information
jvoliveiraGN authored Aug 17, 2021
2 parents 20bd174 + 9cb39c6 commit 0dc5c67
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.4.1
* Fix: Zip atualizado

# 1.4.0
* Fix: Correção na visualização do desconto no checkout

# 1.3.9
* Fix: Correção ao aplicar desconto

Expand Down
Binary file modified auto/woo-gerencianet-official.zip
100755 → 100644
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct(array $options = null)
'headers' => [
'Content-Type' => 'application/json',
'api-sdk' => 'php-' . $composerData['version'],
'wordpress-plugin' => 'v1.3.9', // ATUALIZAR VERSÃO A CADA ATUALIZAÇÃO
'wordpress-plugin' => 'v1.4.1', // ATUALIZAR VERSÃO A CADA ATUALIZAÇÃO
'partner-token' => $partner_token
]
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public static function gerencianet_pay_pix($checkout_type, $order_id, $charge_id
$wpdb->insert($wpdb->prefix . 'woocommerce_order_itemmeta', array(
'order_item_id' => $lastid,
'meta_key' => '_line_total',
'meta_value' => '-' . $gateway->calculateTotal('pix', $order->get_total(), 'total')
'meta_value' => '-' . $gateway->calculateTotal('pix', $order->get_total(), 'discount')
));

$wpdb->insert($wpdb->prefix . 'woocommerce_order_itemmeta', array(
Expand Down
2 changes: 1 addition & 1 deletion manual/woo-gerencianet-official/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: Gerencianet
Tags: woocommerce, gerencianet, payment, transparent checkout, pix, Boleto, card, brazil, payments brazil
Requires at least: 5.x
Tested up to: 5.8
Stable tag: 1.3.9
Stable tag: 1.4.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class WCGerencianetOficial
*
* @var string
*/
const VERSION = '1.3.9';
const VERSION = '1.4.1';

/**
* Integration id.
Expand Down

0 comments on commit 0dc5c67

Please sign in to comment.