From: Chuck Scott Date: Thu, 11 Jun 2015 14:59:11 +0000 (-0400) Subject: Temporarily removed card images from checkout till http/https can be sorted out for... X-Git-Tag: v1.0.1~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ee8ffa7abdd06388209e421131086ca5eab85cc3;p=WP-Plugins%2Fglm-woocommerce-merchant-e-solutions-gateway.git Temporarily removed card images from checkout till http/https can be sorted out for those images. --- diff --git a/classes/glmMesGateway.php b/classes/glmMesGateway.php index 53458e5..44ed9e8 100644 --- a/classes/glmMesGateway.php +++ b/classes/glmMesGateway.php @@ -259,6 +259,12 @@ class GlmMesGateway extends WC_Payment_Gateway $this->settings['cvv_required'] = $this->settings['cvv_required']; // Add credit cards available to the description + $this->description .= '

Credit Cards Accepted

' . ($this->settings['visa'] == + 'yes' ? 'VISA  ' : '') . ($this->settings['mastercard'] == + 'yes' ? 'MASTERCARD  ' : '') . ($this->settings['amex'] == + 'yes' ? 'AMEX  ' : '') . ($this->settings['discover'] == + 'yes' ? 'DISCOVER  ' : '') . '

'; +/* $this->description .= '

Credit Cards Accepted

' . ($this->settings['visa'] == 'yes' ? '' : '') . ($this->settings['mastercard'] == 'yes' ? '' : '') . ($this->settings['discover'] == 'yes' ? '' : '') . '

'; +*/ // Check for SSL add_action('admin_notices', array( @@ -1059,4 +1066,4 @@ class GlmMesGateway extends WC_Payment_Gateway } } -?> \ No newline at end of file +?> diff --git a/defines.php b/defines.php index 77bca92..e937608 100644 --- a/defines.php +++ b/defines.php @@ -29,12 +29,13 @@ $pageUri = explode('?', $_SERVER['REQUEST_URI']); // Bust this up // URLs -// $pUrl = plugins_url( GLM_MES_DIR ); -$pUrl = get_bloginfo('url'); +$pUrl = plugins_url( GLM_MES_DIR ); define('GLM_MES_URL', $pUrl.'/wp-content/plugins/'.GLM_MES_DIR); define('GLM_MES_ASSETS_URL', GLM_MES_URL.'/assets'); + + // Optional Gateway Icon //define('GLM_MES_ICON', GLM_MES_ASSETS_URL.'/{place_icon_filename_here'); define('GLM_MES_ICON', null); @@ -42,4 +43,4 @@ define('GLM_MES_ICON', null); // Other Settings define('GLM_MES_EXPIRE_YEARS', 10); -?> \ No newline at end of file +?>