Skip to content

Commit

Permalink
Release 2.0.9: correção de import vanilla masker
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoliveiraGN committed Apr 11, 2023
1 parent 80d2272 commit 5d6328b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gerencianet-oficial.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* 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.0.8
* Version: 2.0.9
* Author: Efi by Gerencianet
* Author URI: https://www.sejaefi.com.br
* License: GPL-2.0+
Expand All @@ -25,7 +25,7 @@
die;
}

define( 'GERENCIANET_OFICIAL_VERSION', '2.0.8' );
define( 'GERENCIANET_OFICIAL_VERSION', '2.0.9' );
define( 'GERENCIANET_BOLETO_ID', 'WC_Gerencianet_Boleto' );
define( 'GERENCIANET_CARTAO_ID', 'WC_Gerencianet_Cartao' );
define( 'GERENCIANET_PIX_ID', 'WC_Gerencianet_Pix' );
Expand Down
1 change: 1 addition & 0 deletions includes/payment-methods/class-wc-gerencianet-boleto.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ public function payment_fields() {
<input id="gn_boleto_cpf_cnpj" name="gn_boleto_cpf_cnpj" type="text" placeholder="___.___.___-__" autocomplete="off" onkeypress="return event.charCode >= 48 && event.charCode <= 57">
</div>
<div class="clear"></div></fieldset>
<script src="<?php echo plugins_url( '../assets/js/vanilla-masker.min.js', plugin_dir_path( __FILE__ ) ); ?>"></script>
<script src="<?php echo plugins_url( '../assets/js/scripts-boleto.js', plugin_dir_path( __FILE__ ) ); ?>"></script>
<?php

Expand Down
1 change: 1 addition & 0 deletions includes/payment-methods/class-wc-gerencianet-cartao.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ public function payment_fields() {
<select id="gn_cartao_installments" name="gn_cartao_installments" style="display:none;width: 100%;border-color: #dcd7ca;"></select>
</div>
<input id="gn_payment_token" name="gn_payment_token" type="hidden">
<script src="<?php echo plugins_url( '../assets/js/vanilla-masker.min.js', plugin_dir_path( __FILE__ ) ); ?>"></script>
<script src="<?php echo plugins_url( '../assets/js/scripts-cartao.js', plugin_dir_path( __FILE__ ) ); ?>"></script>
</fieldset>
<?php
Expand Down
1 change: 1 addition & 0 deletions includes/payment-methods/class-wc-gerencianet-pix.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ public function payment_fields() {
<input id="gn_pix_cpf_cnpj" name="gn_pix_cpf_cnpj" type="text" placeholder="___.___.___-__" autocomplete="off" onkeypress="return event.charCode >= 48 && event.charCode <= 57">
</div>
<div class="clear"></div>
<script src="<?php echo plugins_url( '../assets/js/vanilla-masker.min.js', plugin_dir_path( __FILE__ ) ); ?>"></script>
<script src="<?php echo plugins_url( '../assets/js/scripts-pix.js', plugin_dir_path( __FILE__ ) ); ?>"></script>
</fieldset>
<?php
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.0.8
Stable tag: 2.0.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down

0 comments on commit 5d6328b

Please sign in to comment.