Plugin Directory

Changeset 2702868


Ignore:
Timestamp:
03/31/2022 06:43:49 PM (4 years ago)
Author:
switchpaybrasil
Message:

correcao visualizacao boleto e pix

Location:
switchpay-pagamentos/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • switchpay-pagamentos/trunk/includes/SwitchPayGateway.php

    r2697811 r2702868  
    163163
    164164       
    165         $barcode = sanitize_text_field($response['barcode']);
     165        $barcode = sanitize_text_field($response['paymentMethod']["barcode"]);
    166166        $url = sanitize_text_field($response['url']);
    167         $qrCode_code = sanitize_text_field($response['qrCode']["code"]);
    168         $qrCode_image = sanitize_text_field($response['qrCode']["image"]);
     167        $qrCode_code = sanitize_text_field($response['paymentMethod']["qrCode"]);
     168        $qrCode_image = sanitize_text_field($response['paymentMethod']["image"]);
    169169        update_post_meta($order_id, 'TYPE_PAYMENT', $payment ?? 'boleto');
    170170        update_post_meta($order_id, 'BARCODE', $barcode ?? null);
  • switchpay-pagamentos/trunk/readme.txt

    r2701512 r2702868  
    55Tested up to: 5.9
    66Requires PHP: 7.2
    7 Stable tag: 1.0.6
     7Stable tag: 1.0.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9494== Changelog ==
    9595
     96= 1.0.7 - 2022/03/30 =
     97
     98- Correção da visualização do boleto e Qrcode Pix.
     99
    96100= 1.0.6 - 2022/03/29 =
    97101
  • switchpay-pagamentos/trunk/switchpay-woocommerce.php

    r2701512 r2702868  
    55 * Plugin URI:  https://wordpress.org/plugins/switchpay-pagamentos     
    66 * Description: A SwitchPay é a melhor forma de receber pagamentos online na modalidade de cartão de crédito e boleto bancário, sendo possível o cliente fazer todo o pagamento sem sair da sua loja WooCommerce de forma rápida, fácil e prática!   
    7  * Version: 1.0.6
     7 * Version: 1.0.7
    88 * Requires at least: 5.2
    99 * Requires PHP: 7.2
Note: See TracChangeset for help on using the changeset viewer.