Changeset 2486768
- Timestamp:
- 03/04/2021 12:15:41 PM (5 years ago)
- Location:
- ipag-woocommerce
- Files:
-
- 5 edited
- 25 copied
-
tags/2.1.2 (copied) (copied from ipag-woocommerce/trunk)
-
tags/2.1.2/classes/gateway_loader.php (copied) (copied from ipag-woocommerce/trunk/classes/gateway_loader.php)
-
tags/2.1.2/classes/ipag-gateway-boleto.php (copied) (copied from ipag-woocommerce/trunk/classes/ipag-gateway-boleto.php)
-
tags/2.1.2/classes/ipag-gateway-cartaoduplo.php (copied) (copied from ipag-woocommerce/trunk/classes/ipag-gateway-cartaoduplo.php)
-
tags/2.1.2/classes/ipag-gateway-credito.php (copied) (copied from ipag-woocommerce/trunk/classes/ipag-gateway-credito.php)
-
tags/2.1.2/classes/ipag-gateway-debito.php (copied) (copied from ipag-woocommerce/trunk/classes/ipag-gateway-debito.php)
-
tags/2.1.2/classes/ipag-gateway-itaushopline.php (copied) (copied from ipag-woocommerce/trunk/classes/ipag-gateway-itaushopline.php)
-
tags/2.1.2/classes/ipag-gateway-pix.php (copied) (copied from ipag-woocommerce/trunk/classes/ipag-gateway-pix.php) (1 diff)
-
tags/2.1.2/css/ipag.css (copied) (copied from ipag-woocommerce/trunk/css/ipag.css)
-
tags/2.1.2/images/amex.png (copied) (copied from ipag-woocommerce/trunk/images/amex.png)
-
tags/2.1.2/images/amex_dis.png (copied) (copied from ipag-woocommerce/trunk/images/amex_dis.png)
-
tags/2.1.2/images/credit-card.png (copied) (copied from ipag-woocommerce/trunk/images/credit-card.png)
-
tags/2.1.2/images/hipercard.png (copied) (copied from ipag-woocommerce/trunk/images/hipercard.png)
-
tags/2.1.2/images/hipercard_dis.png (copied) (copied from ipag-woocommerce/trunk/images/hipercard_dis.png)
-
tags/2.1.2/images/ipag.png (copied) (copied from ipag-woocommerce/trunk/images/ipag.png)
-
tags/2.1.2/images/mastercard.png (copied) (copied from ipag-woocommerce/trunk/images/mastercard.png)
-
tags/2.1.2/images/mastercard_dis.png (copied) (copied from ipag-woocommerce/trunk/images/mastercard_dis.png)
-
tags/2.1.2/images/visaelectron.png (copied) (copied from ipag-woocommerce/trunk/images/visaelectron.png)
-
tags/2.1.2/ipag-gateway.php (copied) (copied from ipag-woocommerce/trunk/ipag-gateway.php) (2 diffs)
-
tags/2.1.2/js/cartao.js (copied) (copied from ipag-woocommerce/trunk/js/cartao.js)
-
tags/2.1.2/languages/ipag-gateway-pt_BR.mo (copied) (copied from ipag-woocommerce/trunk/languages/ipag-gateway-pt_BR.mo)
-
tags/2.1.2/languages/ipag-gateway-pt_BR.po (copied) (copied from ipag-woocommerce/trunk/languages/ipag-gateway-pt_BR.po)
-
tags/2.1.2/libs (copied) (copied from ipag-woocommerce/trunk/libs)
-
tags/2.1.2/libs/endroid-qr-code/autoload.php (modified) (1 diff)
-
tags/2.1.2/readme.txt (copied) (copied from ipag-woocommerce/trunk/readme.txt) (2 diffs)
-
tags/2.1.2/templates (copied) (copied from ipag-woocommerce/trunk/templates)
-
trunk/classes/ipag-gateway-pix.php (modified) (1 diff)
-
trunk/ipag-gateway.php (modified) (2 diffs)
-
trunk/libs/endroid-qr-code/autoload.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ipag-woocommerce/tags/2.1.2/classes/ipag-gateway-pix.php
r2480737 r2486768 119 119 $args = $this->getOrderData($order); 120 120 121 $qr = new QrCode(); 122 $qr->setText($qrCode); 123 $qr->setSize(200); 124 $image = $qr->get('png'); 125 $data = 'data:png;base64,'.base64_encode($image); 126 121 if (!empty($qrCode)) { 122 $qr = new QrCode(); 123 $qr->setText($qrCode); 124 $qr->setSize(200); 125 $image = $qr->get('png'); 126 $data = 'data:png;base64,'.base64_encode($image); 127 } 128 127 129 if (!empty($urlPix)) { 128 130 ?> -
ipag-woocommerce/tags/2.1.2/ipag-gateway.php
r2480790 r2486768 6 6 * Author URI: mailto:suporte@ipag.com.br 7 7 * Plugin URI: http://www.ipag.com.br/ 8 * Version: 2.1. 18 * Version: 2.1.2 9 9 * Text Domain: ipag-woocommerce 10 10 * Domain Path: /languages/ … … 21 21 { 22 22 23 const IPAG_VERSION = '2.1. 1';23 const IPAG_VERSION = '2.1.2'; 24 24 protected static $instance = null; 25 25 -
ipag-woocommerce/tags/2.1.2/libs/endroid-qr-code/autoload.php
r2480737 r2486768 2 2 3 3 spl_autoload_register(function ($className) { 4 $base_dir = __DIR__.'/src/'; 4 $base_dir = __DIR__; 5 $dirs = [ 6 '/src/', 7 '/src/Bundle/', 8 '/src/Bundle/Controller/', 9 '/src/Bundle/DependencyInjection/', 10 '/src/Bundle/Twig/Extension/', 11 '/src/Exceptions/', 12 '/src/Factory/', 13 ]; 5 14 6 $namespace = str_replace("\\", "/", __NAMESPACE__);7 15 $path = explode('\\', $className); 8 16 $className = array_pop($path); 9 $class = $base_dir."/{$className}.php"; 10 11 if (file_exists($class)) { 12 require_once ($class); 17 18 foreach ($dirs as $dir) { 19 $class = $base_dir.$dir."/{$className}.php"; 20 if (file_exists($class)) { 21 require_once($class); 22 } 13 23 } 14 24 }); -
ipag-woocommerce/tags/2.1.2/readme.txt
r2480790 r2486768 5 5 Tested up to: 5.6 6 6 Requires PHP: 7.0 7 Stable tag: 2.1. 17 Stable tag: 2.1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 28 28 == Changelog == 29 = 2.1.2 = 30 * Fix: Endroid autoload 31 29 32 = 2.1.1 = 30 33 * Hotfix -
ipag-woocommerce/trunk/classes/ipag-gateway-pix.php
r2480737 r2486768 119 119 $args = $this->getOrderData($order); 120 120 121 $qr = new QrCode(); 122 $qr->setText($qrCode); 123 $qr->setSize(200); 124 $image = $qr->get('png'); 125 $data = 'data:png;base64,'.base64_encode($image); 126 121 if (!empty($qrCode)) { 122 $qr = new QrCode(); 123 $qr->setText($qrCode); 124 $qr->setSize(200); 125 $image = $qr->get('png'); 126 $data = 'data:png;base64,'.base64_encode($image); 127 } 128 127 129 if (!empty($urlPix)) { 128 130 ?> -
ipag-woocommerce/trunk/ipag-gateway.php
r2480790 r2486768 6 6 * Author URI: mailto:suporte@ipag.com.br 7 7 * Plugin URI: http://www.ipag.com.br/ 8 * Version: 2.1. 18 * Version: 2.1.2 9 9 * Text Domain: ipag-woocommerce 10 10 * Domain Path: /languages/ … … 21 21 { 22 22 23 const IPAG_VERSION = '2.1. 1';23 const IPAG_VERSION = '2.1.2'; 24 24 protected static $instance = null; 25 25 -
ipag-woocommerce/trunk/libs/endroid-qr-code/autoload.php
r2480737 r2486768 2 2 3 3 spl_autoload_register(function ($className) { 4 $base_dir = __DIR__.'/src/'; 4 $base_dir = __DIR__; 5 $dirs = [ 6 '/src/', 7 '/src/Bundle/', 8 '/src/Bundle/Controller/', 9 '/src/Bundle/DependencyInjection/', 10 '/src/Bundle/Twig/Extension/', 11 '/src/Exceptions/', 12 '/src/Factory/', 13 ]; 5 14 6 $namespace = str_replace("\\", "/", __NAMESPACE__);7 15 $path = explode('\\', $className); 8 16 $className = array_pop($path); 9 $class = $base_dir."/{$className}.php"; 10 11 if (file_exists($class)) { 12 require_once ($class); 17 18 foreach ($dirs as $dir) { 19 $class = $base_dir.$dir."/{$className}.php"; 20 if (file_exists($class)) { 21 require_once($class); 22 } 13 23 } 14 24 }); -
ipag-woocommerce/trunk/readme.txt
r2480790 r2486768 5 5 Tested up to: 5.6 6 6 Requires PHP: 7.0 7 Stable tag: 2.1. 17 Stable tag: 2.1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 28 28 == Changelog == 29 = 2.1.2 = 30 * Fix: Endroid autoload 31 29 32 = 2.1.1 = 30 33 * Hotfix
Note: See TracChangeset
for help on using the changeset viewer.