Skip to content

Commit

Permalink
Atualização de versão
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoliveiraGN committed Jun 29, 2023
1 parent 9d63bbe commit c4d0b5b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions gerencianet-oficial.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
* Plugin Name: Efí by Gerencianet Oficial
* Plugin URI: https://wordpress.org/plugins/woo-gerencianet-official/
* Description: Gateway de pagamento Efi by Gerencianet para WooCommerce
* Version: 2.1.0
* Version: 2.1.1
* Author: Efi by Gerencianet
* Author URI: https://www.sejaefi.com.br
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: gerencianet-oficial
* Domain Path: /languages
* WC requires at least: 5.0.0
* WC tested up to: 7.5.1
* WC tested up to: 7.8.1
*/

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}

define( 'GERENCIANET_OFICIAL_VERSION', '2.1.0' );
define( 'GERENCIANET_OFICIAL_VERSION', '2.1.1' );
define( 'GERENCIANET_BOLETO_ID', 'WC_Gerencianet_Boleto' );
define( 'GERENCIANET_CARTAO_ID', 'WC_Gerencianet_Cartao' );
define( 'GERENCIANET_PIX_ID', 'WC_Gerencianet_Pix' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function send($method, $route, $body)
$requestTimeout = isset($this->options['timeout']) ? (float)$this->options['timeout'] : 30.0;
$requestHeaders = [
'Authorization' => 'Bearer ' . $this->auth->accessToken,
'api-sdk' => 'php-' . $composerData['version']
'api-sdk' => 'wordpress-' . GERENCIANET_OFICIAL_VERSION
];

if (isset($this->options['partner_token']) || isset($this->options['partner-token'])) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(array $options = null)
'base_uri' => $this->config['baseUri'],
'headers' => [
'Content-Type' => 'application/json',
'api-sdk' => 'php-' . $composerData['version']
'api-sdk' => 'wordpress-' . GERENCIANET_OFICIAL_VERSION
]
];

Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: Efí Bank
Tags: woocommerce, gerencianet, payment, transparent checkout, pix, Boleto, card, brazil, payments brazil, cartão de crédito, efí, efi, efipay, efi bank, efi pay, efípay, efí bank, efí pay
Requires at least: 5.x
Tested up to: 6.2
Stable tag: 2.1.0
Stable tag: 2.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down

0 comments on commit c4d0b5b

Please sign in to comment.