Skip to content

Commit

Permalink
Merge pull request #98 from henriqueccruz/master
Browse files Browse the repository at this point in the history
v2.4.2-rc3
  • Loading branch information
henriqueccruz authored Feb 15, 2025
2 parents 99afff1 + 2d5bb61 commit 279b6d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion includes/class-wc-paghiper-base-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ public function payment_fields() {
array_key_exists('billing_company', $post_data) &&
!empty($post_data['billing_company'])
) ||
(is_array($post_data) &&
(isset($post_data) &&
is_array($post_data) &&
array_key_exists('_'.$this->gateway->id.'_cpf_cnpj', $post_data) &&
array_key_exists('_'.$this->gateway->id.'_payer_name', $post_data) &&
!empty($post_data['_'.$this->gateway->id.'_payer_name'])
Expand Down
4 changes: 2 additions & 2 deletions woocommerce-paghiper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Ofereça a seus clientes pagamento por PIX e boleto bancário com a PagHiper. Fácil, prático e rapido!
* Author: PagHiper Pagamentos
* Author URI: https://www.paghiper.com
* Version: 2.4.2-rc2
* Version: 2.4.2-rc3
* Tested up to: 6.7.2
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -33,7 +33,7 @@ class WC_Paghiper {
*
* @var string
*/
const VERSION = '2.4.2-rc2';
const VERSION = '2.4.2-rc3';

/**
* Instance of this class.
Expand Down

0 comments on commit 279b6d8

Please sign in to comment.