Version 1.0.0 beta - url fixed in process_payment() function

This commit is contained in:
Rene V. Vergara A. 2023-01-10 22:34:53 -05:00
parent 2ae4e3bc4d
commit 60573da2b0

View file

@ -3,7 +3,7 @@
* Plugin Name: ZGo Payment Gateway
* Plugin URI: https://vergara.tech'
* Description: ZGo latest payment processing solution for Woocommerce. Accept payments using Zcash.
* Version: 1.0 beta
* Version: 1.0.0 beta
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Vergara Tech LLC
@ -190,7 +190,7 @@ function zgopmt_init() {
$oid = json_decode($body);
$isvalid = $oid->{'authorized'};
break;
case 202:
case 202:git
$body = wp_remote_retrieve_body($response );
$oid = json_decode($body);
break;
@ -213,7 +213,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 .