Format code
This commit is contained in:
parent
1768f700bb
commit
46fc016dc7
1 changed files with 194 additions and 194 deletions
|
@ -1,16 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* 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.0 beta
|
||||
* Requires at least: 5.2
|
||||
* Requires PHP: 7.2
|
||||
* Author: Vergara Tech LLC
|
||||
* Author URI: https://vergara.tech
|
||||
* License: GPL v2 or later
|
||||
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
**/
|
||||
* 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.0 beta
|
||||
* Requires at least: 5.2
|
||||
* Requires PHP: 7.2
|
||||
* Author: Vergara Tech LLC
|
||||
* Author URI: https://vergara.tech
|
||||
* License: GPL v2 or later
|
||||
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
**/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
|
@ -209,7 +209,7 @@ function zgopmt_init() {
|
|||
global $wpdb;
|
||||
|
||||
$order = wc_get_order( $order_id );
|
||||
// $wc_order = wc_get_product($order_id);
|
||||
// $wc_order = wc_get_product($order_id);
|
||||
$wc_order_key = $order->get_order_key();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue