Minor update in plugin

This commit is contained in:
Rene V. Vergara A. 2022-12-26 17:10:06 -05:00
parent bb6c7b5f08
commit 1839a253d2
2 changed files with 16 additions and 9 deletions

View file

@ -1,6 +1,13 @@
*** Changelog *** *** Changelog ***
# ZGo Payment Plugin for WooCommerce # 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 ## Version 0.2 - 2022-11-07
* Initial alpha release * Initial alpha release
Uses test authentication and payent REST API () Uses test authentication and payent REST API ()

View file

@ -2,12 +2,14 @@
/** /**
* Plugin Name: ZGo Payment Gateway * Plugin Name: ZGo Payment Gateway
* Plugin URI: https://vergara.tech' * Plugin URI: https://vergara.tech'
* Description: ZGo latest payment processing solution. Accept payments using Zcash. * Description: ZGo latest payment processing solution for Woocommerce. Accept payments using Zcash.
* Text Domain: zgopmtgwy * Version: 0.8
* Version: 0.5 * Requires at least: 5.2
* Author: Vergara Tech * Requires PHP: 7.2
* Author: Vergara Tech LLC
* Author URI: https://vergara.tech * Author URI: https://vergara.tech
* * License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
**/ **/
if ( ! defined( 'ABSPATH' ) ) { if ( ! defined( 'ABSPATH' ) ) {
@ -71,7 +73,7 @@ function zgopmt_init() {
$this->siteURL = get_site_url(); $this->siteURL = get_site_url();
$this->console_log("Site URL: " . $this->siteURL); $this->console_log("Site URL: " . $this->siteURL);
$this->domain = 'zgopmt'; $this->domain = 'zgopmtgwy';
$this->id = "zgo_payment"; $this->id = "zgo_payment";
$this->icon = $iconurl; $this->icon = $iconurl;
@ -395,9 +397,7 @@ function zgopmt_init() {
public function base64url_encode($data) { public function base64url_encode($data) {
$edata = str_replace('=','',strtr(base64_encode($data), '+/', '-_')); $edata = str_replace('=','',strtr(base64_encode($data), '+/', '-_'));
// $this->console_log('data -> ' . $data); return $edata;
// $this->console_log('edata -> ' . $edata);
return $edata;
} }
} }