Skip to content

Commit

Permalink
Update gerencianet.php
Browse files Browse the repository at this point in the history
Correção  na criação da  tabela pix.
  • Loading branch information
marcelo-machado-gn authored Jun 13, 2022
1 parent dda19c7 commit 1de3332
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gerencianet.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ function gerencianet_config_validate($params) {
*/
function gerencianet_link($gatewayParams)
{
// Creating table 'tblgerencianetpix'
createGerencianetPixTable();

$baseUrl = $gatewayParams['systemurl'];

Expand Down Expand Up @@ -393,8 +395,7 @@ function gerencianet_link($gatewayParams)
// Getting API Instance
$api_instance = getGerencianetApiInstance($gatewayParams);

// Creating table 'tblgerencianetpix'
createGerencianetPixTable();


// Verifying if exists a Pix Charge for current invoiceId
$existingPixCharge = getPixCharge($gatewayParams['invoiceid']);
Expand Down

0 comments on commit 1de3332

Please sign in to comment.