Skip to content

Commit

Permalink
fix en validación modo desarrollo (#43)
Browse files Browse the repository at this point in the history
🐛 🐛
  • Loading branch information
abr4xas authored Nov 21, 2023
1 parent 87fbba4 commit 16d93dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Instapago.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* Plugin Name: Instapago Payment Gateway for WooCommerce
* Plugin URI: https://angelcruz.dev
* Description: Instapago is a technological solution designed for the market of electronic commerce (eCommerce) in Venezuela and Latin America, with the intention of offering a premium product category, which allows people and companies leverage their expansion capabilities, facilitating payment mechanisms for customers with a friendly integration into systems currently used.
* Version: 8.0.0
* Version: 8.1.0
* Author: Angel Cruz
* Author URI: https://angelcruz.dev/
* License: GPL-2.0+
Expand All @@ -36,7 +36,7 @@
* Start at version 8.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'INSTAPAGO_VERSION', '8.0.0' );
define( 'INSTAPAGO_VERSION', '8.1.0' );

/**
* The code that runs during plugin activation.
Expand Down
4 changes: 2 additions & 2 deletions payment/WC_Gateway_Instapago_Commerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class WC_Gateway_Instapago_Commerce extends WC_Payment_Gateway
public string $medthod_title;
private string $keyId;
private string $publicKeyId;
public bool $debug;
public string $debug;
public string $paymod;

private function load_dependencies()
Expand Down Expand Up @@ -83,7 +83,7 @@ public function get_icon()

public function payment_fields()
{
if ($this->debug == 'yes') {
if ($this->debug === 'yes') {
echo '<p><strong>TEST MODE ENABLED</strong></p>';
}

Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Donate link: https://angelcruz.dev/donate
Tags: ecommerce, e-commerce, store, sales, sell, shop, cart, checkout, venezuela, instapago, banesco
Requires at least: 6.3.1
Tested up to: 6.4.0
Stable tag: 8.0.0
Stable tag: 8.1.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -43,6 +43,11 @@ Please, read this: https://github.com/abr4xas/instapago/wiki/Capturar-VOUCHER

== Changelog ==

= 8.1.0 =
*Fecha de lanzamiento - 20 Nov 2023*

* fix en validación modo desarrollo

= 8.0.0 =
*Fecha de lanzamiento - 08 Nov 2023*

Expand Down Expand Up @@ -72,4 +77,4 @@ Please, read this: https://github.com/abr4xas/instapago/wiki/Capturar-VOUCHER
* Se agrega más información en la orden creada en WooCommerce.
* Modifica el número de versión.
* Actualizado el formulario de pago.
* Actualiza PHPMailer.
* Actualiza PHPMailer.

0 comments on commit 16d93dd

Please sign in to comment.