Cleanup for Initial Public Release
authorChuck Scott <cscott@gaslightmedia.com>
Fri, 14 Jul 2017 15:45:47 +0000 (11:45 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Fri, 14 Jul 2017 15:45:47 +0000 (11:45 -0400)
NOTES.txt [deleted file]
classes/MesTridentGateway.php
defines.php
glm-woocommerce-merchant-e-solutions-gateway.php
readme.txt

diff --git a/NOTES.txt b/NOTES.txt
deleted file mode 100644 (file)
index 860210c..0000000
--- a/NOTES.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Development Notes
------------------
-
-
-* Do I need the following???
-
index 2d57a56..6442efe 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+// This code supplied by Merchant s-Solutions
+
 class TpgTransaction
 {
 
@@ -460,4 +462,4 @@ class TpgRemoveData extends TpgTransaction
     }
 }
 
-?>
\ No newline at end of file
+?>
index 1700ed1..240a186 100644 (file)
@@ -5,37 +5,30 @@
  * Set standard defined parameters
  */
 
-define('GLM_MES_NAME', 'Gaslight Media WooCommerce Merchant e-Solutions Gateway');
-define('GLM_MES_SHORT_NAME', 'GLM Merchant e-Solutions');
-define('GLM_MES_DESCRIPTION', 'A Merchant e-Solutions payment Gateway plug-in for WooCommerce.');
-define('GLM_MES_ID', 'glm-merchant_e_solutions');
-define('GLM_MES_SLUG', 'glm_woocommerce_merchant_e_solutions_gateway');
-
-// Plugin Versions
-define('GLM_MES_VERSION', 0.1);
-define('GLM_MES_REQUIRED_WOO_VERSION', "2.3");
+define('GLM_MES_NAME',                  'Gaslight Media WooCommerce Merchant e-Solutions Gateway');
+define('GLM_MES_SHORT_NAME',            'GLM Merchant e-Solutions');
+define('GLM_MES_DESCRIPTION',           'A Merchant e-Solutions payment Gateway plug-in for WooCommerce.');
+define('GLM_MES_ID',                    'glm-merchant_e_solutions');
+define('GLM_MES_SLUG',                  'glm_woocommerce_merchant_e_solutions_gateway');
 
 // Directories
-define('GLM_MES_DIR', 'glm-woocommerce-merchant-e-solutions-gateway');
-define('GLM_MES_PATH', dirname(__FILE__));
-define('GLM_MES_CLASS_PATH', GLM_MES_PATH.'/classes');
-define('GLM_MES_ASSETS_PATH', GLM_MES_PATH.'/assets');
-define('GLM_MES_INCLUDES_PATH', GLM_MES_PATH.'/includes');
-define('GLM_MES_LANGUAGE_PATH', GLM_MES_PATH.'/i18n/languages');
+define('GLM_MES_DIR',                   'glm-woocommerce-merchant-e-solutions-gateway');
+define('GLM_MES_PATH',                  dirname(__FILE__));
+define('GLM_MES_CLASS_PATH',            GLM_MES_PATH.'/classes');
+define('GLM_MES_ASSETS_PATH',           GLM_MES_PATH.'/assets');
+define('GLM_MES_INCLUDES_PATH',         GLM_MES_PATH.'/includes');
+define('GLM_MES_LANGUAGE_PATH',         GLM_MES_PATH.'/i18n/languages');
 
 // Get various pieces of the URL
 $urlParts = parse_url(get_bloginfo('url'));
 $pageUri = explode('?', $_SERVER['REQUEST_URI']);               // Bust this up to access URL path and script name only
 
-
 // URLs
 $pUrl = plugins_url( GLM_MES_DIR );
 define('GLM_MES_URL', $pUrl.'/wp-content/plugins/'.GLM_MES_DIR);
 //define('GLM_MES_ASSETS_URL', plugins_url( 'assets', __FILE__ ));
 define('GLM_MES_ASSETS_URL', plugins_url( GLM_MES_DIR.'/assets' ));
 
-
-
 // Optional Gateway Icon
 //define('GLM_MES_ICON', GLM_MES_ASSETS_URL.'/{place_icon_filename_here');
 define('GLM_MES_ICON', null);
index 211a8c4..a53936a 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+// Plugin Versions
+define('GLM_MES_VERSION',               1.0.5);
+define('GLM_MES_REQUIRED_WOO_VERSION',  "2.3");
+
 if( !defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
 require_once('woo-includes/woo-functions.php');
 
 // Get standard defined parameters
 require_once('defines.php');
 
-/**
- * *******************************************************************************
- *
- * *** Directory and File Structure ***
- *
- * index.php
- *
- * Index file for this plugin. All plugin processing starts here. (See
- * "Process Flow" below.)
- *
- * ********************************************************************************
- */
-
 /*
  *
  * Activate, Deactivate, Uninstall hooks
index 6dc4512..f0528ba 100644 (file)
@@ -3,7 +3,7 @@ Contributors: cscott@gaslightmedia.com
 Donate link: http://www.gaslightmedia.com
 Tags: Gaslight Media,Plugin,WooCommerce,Merchant e-Solutions,Mes Payment Gateway,Credit Card
 Requires at least: 3.0.1
-Tested up to: 4.2.4
+Tested up to: 4.8
 Stable tag: 4.3
 License: GPLv2 or later
 License URI: http://www.gaslightmedia.com/WordPress/plugin/license
@@ -104,6 +104,10 @@ Code             Result
 
 == Changelog ==
 
+= 1.0.5 =
+* Initial Public Release
+* Misc comment cleanup 
+
 = 1.0.3 =
 * Added adjustable maximum payment attempts to stop checkout form abuse
 * Cleared up issues with address validation before transaction 
@@ -111,11 +115,6 @@ Code             Result
 = 1.0.0 = 
 * Original production version
 
-== Upgrade Notice ==
-
-= 1.0.3 =
-Versions prior to this should not be used due to issues with pre-validation code.
-
 == Arbitrary section ==
 
 Description of setup options...
@@ -172,4 +171,3 @@ Enable Verbose Debug            Checking this option will result in additional d
                                 e-Solutions gateway and details of all responses. DO NOT enable this 
                                 option in production mode.
                                 
-== A brief Markdown Example ==