* 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);
* 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
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
== 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
= 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...
e-Solutions gateway and details of all responses. DO NOT enable this
option in production mode.
-== A brief Markdown Example ==