Production release

This commit is contained in:
Rene Vergara 2023-06-26 10:42:37 -05:00
parent 640911a1e2
commit 15584ca7b1
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2
2 changed files with 8 additions and 5 deletions

View file

@ -3,8 +3,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.1] - 2023-06-26
## [Unreleased]
- Updates for production release
## [1.0.0] - 2023-06-26
- Security hardening changes to plugin queries.
- Re-design of ZGo API callback to support WooCommerce 7.8.0

View file

@ -1,9 +1,9 @@
<?php
/**
* Plugin Name: ZGo Payment Gateway
* Plugin URI: https://vergara.tech'
* Plugin URI: https://zgo.cash/
* Description: ZGo latest payment processing solution for Woocommerce. Accept payments using Zcash.
* Version: 1.0.0
* Version: 1.0.1
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Vergara Tech LLC
@ -181,7 +181,7 @@ function zgopmt_init() {
if ( isset($this->zgoownerid) &&
($this->zgoownerid !== '') ) {
$url = 'https://test.zgo.cash/auth?ownerid=' .
$url = 'https://api.zgo.cash/auth?ownerid=' .
$this->zgoownerid . '&token=' .
$this->zgotoken . '&siteurl=' .
$this->base64url_encode($this->siteURL);
@ -272,7 +272,7 @@ function zgopmt_init() {
return array(
'result' => 'success',
'redirect' => 'https://dev.zgo.cash/invoice/' . $zgoOrderid . '?token=' . $zgoOrderToken,
'redirect' => 'https://app.zgo.cash/invoice/' . $zgoOrderid . '?token=' . $zgoOrderToken,
);
break;
case 202: