Production release
This commit is contained in:
parent
640911a1e2
commit
15584ca7b1
2 changed files with 8 additions and 5 deletions
|
@ -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).
|
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.
|
- Security hardening changes to plugin queries.
|
||||||
- Re-design of ZGo API callback to support WooCommerce 7.8.0
|
- Re-design of ZGo API callback to support WooCommerce 7.8.0
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Plugin Name: ZGo Payment Gateway
|
* 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.
|
* 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 at least: 5.2
|
||||||
* Requires PHP: 7.2
|
* Requires PHP: 7.2
|
||||||
* Author: Vergara Tech LLC
|
* Author: Vergara Tech LLC
|
||||||
|
@ -181,7 +181,7 @@ function zgopmt_init() {
|
||||||
if ( isset($this->zgoownerid) &&
|
if ( isset($this->zgoownerid) &&
|
||||||
($this->zgoownerid !== '') ) {
|
($this->zgoownerid !== '') ) {
|
||||||
|
|
||||||
$url = 'https://test.zgo.cash/auth?ownerid=' .
|
$url = 'https://api.zgo.cash/auth?ownerid=' .
|
||||||
$this->zgoownerid . '&token=' .
|
$this->zgoownerid . '&token=' .
|
||||||
$this->zgotoken . '&siteurl=' .
|
$this->zgotoken . '&siteurl=' .
|
||||||
$this->base64url_encode($this->siteURL);
|
$this->base64url_encode($this->siteURL);
|
||||||
|
@ -272,7 +272,7 @@ function zgopmt_init() {
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'result' => 'success',
|
'result' => 'success',
|
||||||
'redirect' => 'https://dev.zgo.cash/invoice/' . $zgoOrderid . '?token=' . $zgoOrderToken,
|
'redirect' => 'https://app.zgo.cash/invoice/' . $zgoOrderid . '?token=' . $zgoOrderToken,
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case 202:
|
case 202:
|
||||||
|
|
Loading…
Reference in a new issue