Country no longer required for Authorize.net payment gateway unless international...
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 11 Sep 2018 17:57:48 +0000 (13:57 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 11 Sep 2018 17:57:48 +0000 (13:57 -0400)
index.php [changed mode: 0644->0755]
lib/paymentProcessors/Authorize.Net/paymentGateway.php [changed mode: 0644->0755]
readme.txt [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index e0d57bc..8bf6970
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Associate - Members Plugin
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media GLM Associate core plugin and Members database.
- * Version: 2.10.42
+ * Version: 2.10.43
  * Author: Gaslight Media
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersDatabase
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 2.10.42
+ * @version 2.10.43
  */
 
 $GLOBALS['glmAssociateMemTracker'] = memory_get_usage();
@@ -47,7 +47,7 @@ if (!defined('ABSPATH')) {
  *
  */
 
-define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.42');
+define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.43');
 define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.38');
 
 // Check if plugin version is not current in WordPress option and if needed updated it
old mode 100644 (file)
new mode 100755 (executable)
index e998e8d..0c7fb15
@@ -291,9 +291,10 @@ class PaymentGateway
                     if (!isset($customer['zip']) || trim($customer['zip']) == '') {
                         $errorMsg[] = 'Required Customer ZIP/Postal Code not provided';
                     }
-                    if (!isset($customer['country']) || trim($customer['country']) == '') {
-                        $errorMsg[] = 'Required Customer Country not provided';
-                    }
+// Not requiring country at this time. - See    https://developer.authorize.net/api/reference/ and search for "Country"
+//                    if (!isset($customer['country']) || trim($customer['country']) == '') {
+//                        $errorMsg[] = 'Required Customer Country not provided';
+//                    }
                     if (!isset($payment['charge']) || (trim($payment['charge'])-0) <= 0) {
                         $errorMsg[] = 'Required Charge Amount not provided';
                     }
old mode 100644 (file)
new mode 100755 (executable)
index b6d56a4..6f1bc5d
@@ -66,7 +66,10 @@ There is of course much more to this.
 (none)
 
 == Changelog ==
-= (pending) =
+= 2.10.43 =
+* Country is no longer required for Authorize.net Payment Gateway unless International payment
+
+= ? =
 * Added Leaflet Mapping alternative to Google Maps JAVAScript API
 
 = 2.10.34 =