From 9d1d9cc5ae1a6e87ec5650b3e730641066b232b4 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Thu, 20 Jul 2023 13:51:12 -0500 Subject: [PATCH] Fix typo in API call --- CHANGELOG.md | 4 ++++ zgopmtgwy.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b15985e..aa4b5a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ 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.2] - 2023-07-20 + +- Fixed typo in API call + ## [1.0.1] - 2023-06-26 - Updates for production release diff --git a/zgopmtgwy.php b/zgopmtgwy.php index 3499079..517bf68 100644 --- a/zgopmtgwy.php +++ b/zgopmtgwy.php @@ -3,7 +3,7 @@ * Plugin Name: ZGo Payment Gateway * Plugin URI: https://zgo.cash/ * Description: ZGo latest payment processing solution for Woocommerce. Accept payments using Zcash. - * Version: 1.0.1 + * Version: 1.0.2 * Requires at least: 5.2 * Requires PHP: 7.2 * Author: Vergara Tech LLC @@ -220,7 +220,7 @@ function zgopmt_init() { $wc_order_key = $order->get_order_key(); - $url = 'https://test.zgo.cash/woopayment' . + $url = 'https://api.zgo.cash/woopayment' . '?ownerid=' . $this->zgoownerid . '&token=' . $this->zgotoken . '&order_id=' . $order_id .