Skip to content

Commit

Permalink
Merge pull request #26 from jvoliveiraGN/master
Browse files Browse the repository at this point in the history
Release 1.3.6
  • Loading branch information
jvoliveiraGN authored Jul 26, 2021
2 parents b09ecc6 + 7b59b84 commit beddd20
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.3.6
* Fix: Correção na exibição do desconto

# 1.3.5
* Fix: Correção no registro do desconto

Expand Down
Binary file modified auto/woo-gerencianet-official.zip
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.5', // ATUALIZAR VERSÃO A CADA ATUALIZAÇÃO
'wordpress-plugin' => 'v1.3.6', // 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 function gerencianet_pay_pix($checkout_type, $order_id, $charge_id, $cpf_
$wpdb->insert($wpdb->prefix . 'woocommerce_order_itemmeta', array(
'order_item_id' => $lastid,
'meta_key' => '_line_total',
'meta_value' => '-' . number_format(intval(floor($gateway->calculateOnlyDiscount())), 2, '.', '')
'meta_value' => '-' . $gateway->calculateOnlyDiscount()
));

$wpdb->insert($wpdb->prefix . 'woocommerce_order_itemmeta', array(
Expand Down
5 changes: 4 additions & 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.5
Stable tag: 1.3.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -57,6 +57,9 @@ Caso você tenha alguma dúvida ou sugestão, entre em contato conosco pelo site

= Changelog =

= 1.3.6 =
* Fix: Correção na exibição do desconto

= 1.3.5 =
* Fix: Correção no registro do desconto

Expand Down
4 changes: 2 additions & 2 deletions manual/woo-gerencianet-official/woo-gerencianet-official.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Gateway de pagamento Gerencianet para WooCommerce.
* Author: Gerencianet
* Author URI: http://www.gerencianet.com.br
* Version: 1.3.5
* Version: 1.3.6
* License: GPLv2 or later
* Text Domain: woo-gerencianet-official
* Domain Path: /languages
Expand All @@ -28,7 +28,7 @@ class WCGerencianetOficial
*
* @var string
*/
const VERSION = '1.3.5';
const VERSION = '1.3.6';

/**
* Integration id.
Expand Down

0 comments on commit beddd20

Please sign in to comment.