diff --git a/zgopmtgwy.php b/zgopmtgwy.php index fdab68e..d1d5d75 100644 --- a/zgopmtgwy.php +++ b/zgopmtgwy.php @@ -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 .