Skip to content

Commit

Permalink
Merge pull request #141 from henriqueccruz/master
Browse files Browse the repository at this point in the history
v2.4.4
  • Loading branch information
henriqueccruz authored Dec 13, 2023
2 parents 015efed + 8d651d6 commit dcf8b61
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 13 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,25 @@ Para dúvidas comerciais e/ou sobre o funcionamento do serviço, visite a nossa

* Mais dados para debug nos Logs de Portais de Pagamento

## 2.4.4 - 2023/11/13

`Bugs resolvidos`
* PDF anexo falhava em algumas ocasiões

## 2.4.3 - 2023/10/26

`Bugs resolvidos`
* Método de pagamento indisponível para a moeda selecionada
* CPF/CNPJ inválido! Cheque seu cadastro. (WHMCS 7/8)
* String + Float operator na integração com PDFs
* Boletos e PIXes não anexos quando processando via CRON

`Melhorias`

* Novo bloco de integração para PDFs anexos
* Checagem de ACL compatível com WHMCS8
* Refatoramento progressivo do plugin

## 2.4.1 - 2023/01/09

`Bugs resolvidos`
Expand Down
2 changes: 1 addition & 1 deletion includes/hooks/cancel_paghiper_slip.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Cancela boletos bancários não-pagos, atrelados a uma fatura cancelada ou paga.
*
* @package PagHiper para WHMCS
* @version 2.4.3
* @version 2.4.4
* @author Equipe PagHiper https://github.com/paghiper/whmcs
* @author Henrique Cruz
* @license BSD License (3-clause)
Expand Down
2 changes: 1 addition & 1 deletion includes/hooks/create_paghiper_pix.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Adiciona QR code do PIX nos templates do WHMCS
*
* @package PagHiper para WHMCS
* @version 2.4.3
* @version 2.4.4
* @author Equipe PagHiper https://github.com/paghiper/whmcs
* @author Henrique Cruz
* @license BSD License (3-clause)
Expand Down
2 changes: 1 addition & 1 deletion includes/hooks/create_paghiper_slip.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Adiciona boleto bancário e link direto para boleto no WHMCS
*
* @package PagHiper para WHMCS
* @version 2.4.3
* @version 2.4.4
* @author Equipe PagHiper https://github.com/paghiper/whmcs
* @author Henrique Cruz
* @license BSD License (3-clause)
Expand Down
2 changes: 1 addition & 1 deletion includes/hooks/show_paghiper_mergefields.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mostra campos da Paghiper na lista de campos disponíveis para uso nos templates
*
* @package PagHiper e Boleto para WHMCS
* @version 2.4.3
* @version 2.4.4
* @author Equipe PagHiper https://github.com/paghiper/whmcs
* @author Henrique Cruz
* @license BSD License (3-clause)
Expand Down
2 changes: 1 addition & 1 deletion includes/hooks/validate_paghiper_taxid.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Valida informações de faturamento do cliente no check-out
*
* @package PagHiper e Boleto para WHMCS
* @version 2.4.3
* @version 2.4.4
* @author Equipe PagHiper https://github.com/paghiper/whmcs
* @author Henrique Cruz
* @license BSD License (3-clause)
Expand Down
2 changes: 1 addition & 1 deletion modules/gateways/paghiper.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function paghiper_config($params = NULL) {
<tbody>
<tr>
<td width='60%'><img src='https://s3.amazonaws.com/logopaghiper/whmcs/badge.oficial.png' style='max-width: 100%;'></td>
<td>Versão <h2 style='font-weight: bold; margin-top: 0px; font-size: 300%;'>2.4.3</h2></td>
<td>Versão <h2 style='font-weight: bold; margin-top: 0px; font-size: 300%;'>2.4.4</h2></td>
</tr>
</tbody>
</table>
Expand Down
4 changes: 1 addition & 3 deletions modules/gateways/paghiper/inc/helpers/attach_pdf_slip.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Adiciona boleto bancário como página adicional na fatura anexa no WHMCS
*
* @package PagHiper para WHMCS
* @version 2.4.3
* @version 2.4.4
* @author Equipe PagHiper https://github.com/paghiper/whmcs
* @author Desenvolvido e mantido Henrique Cruz - https://henriquecruz.com.br/
* @license BSD License (3-clause)
Expand Down Expand Up @@ -32,8 +32,6 @@
((array_key_exists('bank_slip', $invoiceTransaction) && !is_null($invoiceTransaction['bank_slip'])) ? $invoiceTransaction['bank_slip']['url_slip_pdf'] : $invoiceTransaction['url_slip_pdf']) :
((array_key_exists('pix_code', $invoiceTransaction) && !is_null($invoiceTransaction['pix_code'])) ? $invoiceTransaction['pix_code']['qrcode_image_url'] : $invoiceTransaction['qrcode_image_url']);

if ((in_array($status, array('Unpaid', 'Payment Pending'))) && (isset($asset_url) && !empty($asset_url)) && (isset($transaction_id) && !empty($transaction_id))){

if ((in_array($status, array('Unpaid', 'Payment Pending'))) && (isset($assets_dir) && !empty($assets_dir)) && (isset($transaction_id) && !empty($transaction_id))){


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* PagHiper - Módulo oficial para integração com WHMCS
*
* @package PagHiper para WHMCS
* @version 2.4.3
* @version 2.4.4
* @author Equipe PagHiper https://github.com/paghiper/whmcs
* @author Desenvolvido e mantido Henrique Cruz - https://henriquecruz.com.br/
* @license BSD License (3-clause)
Expand Down
6 changes: 3 additions & 3 deletions modules/gateways/paghiper_pix.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* PagHiper PIX - Módulo oficial para integração com WHMCS
*
* @package PagHiper para WHMCS
* @version 2.4.3
* @version 2.4.4
* @author Equipe PagHiper https://github.com/paghiper/whmcs
* @author Desenvolvido e mantido Henrique Cruz - https://henriquecruz.com.br/
* @license BSD License (3-clause)
Expand All @@ -30,7 +30,7 @@ function paghiper_pix_config($params = NULL) {
<tbody>
<tr>
<td width='60%'><img src='https://s3.amazonaws.com/logopaghiper/whmcs/badge.oficial.png' style='max-width: 100%;'></td>
<td>Versão <h2 style='font-weight: bold; margin-top: 0px; font-size: 300%;'>2.4.3</h2></td>
<td>Versão <h2 style='font-weight: bold; margin-top: 0px; font-size: 300%;'>2.4.4</h2></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -156,7 +156,7 @@ function paghiper_pix_link($params) {
} else {

$clientData = Client::find($params['clientdetails']['client_id']);

$client = [
'firstname' => $clientData->firstname,
'lastname' => $clientData->lastname,
Expand Down

0 comments on commit dcf8b61

Please sign in to comment.