From 1839a253d2a0e49778b9c7ecc416d5f3ca77ea1f Mon Sep 17 00:00:00 2001 From: Rene Vergara A Date: Mon, 26 Dec 2022 17:10:06 -0500 Subject: [PATCH] Minor update in plugin --- changelog.md | 7 +++++++ zgopmtgwy.php | 18 +++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/changelog.md b/changelog.md index a2775f1..742c06a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,13 @@ *** Changelog *** # ZGo Payment Plugin for WooCommerce +## Version 0.8 - 2022-12-26 +ZGo's WooCommerce backend API in test mode +Set licence to GPL v2 or later + +## Version 0.5 - 2022-11-18 +integration to ZGo's Authentication End Point in test mode + ## Version 0.2 - 2022-11-07 * Initial alpha release Uses test authentication and payent REST API () diff --git a/zgopmtgwy.php b/zgopmtgwy.php index e90a057..964a9fd 100644 --- a/zgopmtgwy.php +++ b/zgopmtgwy.php @@ -2,12 +2,14 @@ /** * Plugin Name: ZGo Payment Gateway * Plugin URI: https://vergara.tech' -* Description: ZGo latest payment processing solution. Accept payments using Zcash. -* Text Domain: zgopmtgwy -* Version: 0.5 -* Author: Vergara Tech +* Description: ZGo latest payment processing solution for Woocommerce. Accept payments using Zcash. +* Version: 0.8 +* Requires at least: 5.2 +* Requires PHP: 7.2 +* Author: Vergara Tech LLC * Author URI: https://vergara.tech -* +* License: GPL v2 or later +* License URI: https://www.gnu.org/licenses/gpl-2.0.html **/ if ( ! defined( 'ABSPATH' ) ) { @@ -71,7 +73,7 @@ function zgopmt_init() { $this->siteURL = get_site_url(); $this->console_log("Site URL: " . $this->siteURL); - $this->domain = 'zgopmt'; + $this->domain = 'zgopmtgwy'; $this->id = "zgo_payment"; $this->icon = $iconurl; @@ -395,9 +397,7 @@ function zgopmt_init() { public function base64url_encode($data) { $edata = str_replace('=','',strtr(base64_encode($data), '+/', '-_')); - // $this->console_log('data -> ' . $data); - // $this->console_log('edata -> ' . $edata); - return $edata; + return $edata; } }