From 15584ca7b1f5a13a8d69410597a645cc131e4e99 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Mon, 26 Jun 2023 10:42:37 -0500 Subject: [PATCH] Production release --- CHANGELOG.md | 5 ++++- zgopmtgwy.php | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29a1f6a..b15985e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/zgopmtgwy.php b/zgopmtgwy.php index 34f4389..3499079 100644 --- a/zgopmtgwy.php +++ b/zgopmtgwy.php @@ -1,9 +1,9 @@ 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: