From: Chuck Scott Date: Mon, 7 Aug 2017 18:06:05 +0000 (-0400) Subject: Removed unused parameter $mcc from setDynamicData() function - was missing in call... X-Git-Tag: v1.1.2^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ba4de11278e1e3aedb5d46c638e0a9d9922fec23;p=WP-Plugins%2Fglm-woocommerce-merchant-e-solutions-gateway.git Removed unused parameter $mcc from setDynamicData() function - was missing in call and not used anyway. --- diff --git a/classes/MesTridentGateway.php b/classes/MesTridentGateway.php index 6442efe..3ef11b9 100644 --- a/classes/MesTridentGateway.php +++ b/classes/MesTridentGateway.php @@ -285,13 +285,14 @@ class TpgTransaction $this->Post = $bool; } - function setDynamicData ($name, $city, $state, $zip, $mcc, $phone) +// function setDynamicData ($name, $city, $state, $zip, $mcc, $phone) + function setDynamicData ($name, $city, $state, $zip, $phone) { $this->RequestFields['merchant_name'] = $name; $this->RequestFields['merchant_city'] = $city; $this->RequestFields['merchant_state'] = $state; $this->RequestFields['merchant_zip'] = $zip; - $this->RequestFields['merchant_category_code'] = $mcc; +// $this->RequestFields['merchant_category_code'] = $mcc; $this->RequestFields['merchant_phone'] = $phone; } } diff --git a/classes/glmMesGateway.php b/classes/glmMesGateway.php index fe96f08..bfa9463 100644 --- a/classes/glmMesGateway.php +++ b/classes/glmMesGateway.php @@ -863,9 +863,10 @@ class GlmMesGateway extends WC_Payment_Gateway // Send billing information $trans->setAvsRequest($this->cust_order->billing_address_1, $this->cust_order->billing_postcode); $trans->setDynamicData( - $this->cust_order->billing_first_name . ' ' . - $this->cust_order->billing_last_name, $this->cust_order->billing_city, - $this->cust_order->billing_state, $this->cust_order->billing_postcode, + $this->cust_order->billing_first_name . ' ' . $this->cust_order->billing_last_name, + $this->cust_order->billing_city, + $this->cust_order->billing_state, + $this->cust_order->billing_postcode, $this->cust_order->billing_phone ); diff --git a/glm-woocommerce-merchant-e-solutions-gateway.php b/glm-woocommerce-merchant-e-solutions-gateway.php index 892b28d..13d41fc 100644 --- a/glm-woocommerce-merchant-e-solutions-gateway.php +++ b/glm-woocommerce-merchant-e-solutions-gateway.php @@ -3,7 +3,7 @@ * Plugin Name: GLM WooCommerce Merchant e-Solutions Gateway * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Merchant e-Solutions support for WooCommerce. Provides a payment gateway that will process WooCommerce payments and refunds through Merchant e-Solutions. For more information on Merchant e-Solutions see their Website at https://www.merchante-solutions.com/. - * Version: 1.1.1 + * Version: 1.1.2 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * Text Domain: glm-woocommerce-merchant-e-solutions-gateway @@ -21,7 +21,7 @@ * @package glmMerchantESolutions * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.1.1 + * @version 1.1.2 */ /* @@ -42,8 +42,8 @@ */ // Plugin Versions -define('GLM_MES_VERSION', "1.1.1"); -define('GLM_MES_REQUIRED_WOO_VERSION', "2.3"); +define('GLM_MES_VERSION', "1.1.2"); +define('GLM_MES_REQUIRED_WOO_VERSION', "3.1.1"); if( !defined( 'ABSPATH' ) ) exit; // Exit if accessed directly. require_once('woo-includes/woo-functions.php');