Removed unused parameter $mcc from setDynamicData() function - was missing in call...
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 7 Aug 2017 18:06:05 +0000 (14:06 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 7 Aug 2017 18:06:05 +0000 (14:06 -0400)
classes/MesTridentGateway.php
classes/glmMesGateway.php
glm-woocommerce-merchant-e-solutions-gateway.php

index 6442efe..3ef11b9 100644 (file)
@@ -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;
     }
 }
index fe96f08..bfa9463 100644 (file)
@@ -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
             );
 
index 892b28d..13d41fc 100644 (file)
@@ -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 <a href="https://www.merchante-solutions.com/">https://www.merchante-solutions.com/</a>.
- * 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 <cscott@gaslightmedia.com>
  * @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');