Setup the Authorize.net stuff into GLM_HOST_ID parts.
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Sep 2017 19:46:45 +0000 (15:46 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Sep 2017 19:46:45 +0000 (15:46 -0400)
So we can have different setup for development testing.

registrations/setup.php

index 51b140c..dfe9309 100644 (file)
@@ -148,9 +148,9 @@ define('ICONTACT_API_USERNAME', false);
                 define("SECURE_URL", $BASE_URL."/");     // url used for the secur site
             }
             define("CONN_STR","user=nobody host=devdb dbname=cslewisfestival");
-            define("OWNER_EMAIL", "ove@gaslightmedia.com");     // site owner's email address
-            define("FROM_NEWS_EMAIL", "ove@gaslightmedia.com");     // site owner's email address
-            define("REPLY_TO", "ove@gaslightmedia.com");            // the reply-to field for email's
+            define("OWNER_EMAIL", "steve@gaslightmedia.com");     // site owner's email address
+            define("FROM_NEWS_EMAIL", "steve@gaslightmedia.com");     // site owner's email address
+            define("REPLY_TO", "steve@gaslightmedia.com");            // the reply-to field for email's
             define("SI_DEBUG_VIEW", false );
             define( 'SI_AUTH_TEST',                 'TRUE' );// Must be "FALSE" for production! Otherwise "TRUE" or "LOCAL_TEST" (don't transmit)
 
@@ -159,6 +159,8 @@ define('ICONTACT_API_USERNAME', false);
             define( 'SI_AUTH_TEST',                         'FALSE' );
             define( 'SI_AUTH_SEND_CONF',            'FALSE' );
             define( 'SI_AUTH_MERCHANT_EMAIL',       'FALSE' );
+            define( 'SI_AUTH_LOGIN',                '6E9qS4fH' );                                                   // Authorize.Net Customer Login                     -- UNIQE FOR EACH CUSTOMER --
+            define( 'SI_AUTH_TRAN_KEY',             '9Z38NA9Dzy4C2Pv4');                                           // Authorize.Net Customer Transaction Key       -- UNIQE FOR EACH CUSTOMER --
             break;
 
         case "PRODUCTION":
@@ -186,6 +188,8 @@ define('ICONTACT_API_USERNAME', false);
             define( 'SI_AUTH_TEST',                         'FALSE' );
             define( 'SI_AUTH_SEND_CONF',            'FALSE' );
             define( 'SI_AUTH_MERCHANT_EMAIL',       'FALSE' );
+            define( 'SI_AUTH_LOGIN',                '3uaA59As' );                                                   // Authorize.Net Customer Login                     -- UNIQE FOR EACH CUSTOMER --
+            define( 'SI_AUTH_TRAN_KEY',             '2Mq3Sh38S63ys8R2' );                                           // Authorize.Net Customer Transaction Key       -- UNIQE FOR EACH CUSTOMER --
             break;
 
         default:    // There should be no need for any settings here
@@ -2624,8 +2628,6 @@ define( 'AUTH_CURL',            '/usr/bin/curl' );                      // Curl
 //define( 'AUTH_URL',           'https://secure.authorize.net/gateway/transact.dll' );      // Authorization URL
 define( 'AUTH_URL',         'http://ws6.gaslightmedia.com/AuthorizeNetRelay/glmAuthNetRelay/AuthNetRelayProduction.php' );      // Authorization URL
 // define( 'SI_AUTH_TEST',      'LOCAL_TEST' );                         // Must be "FALSE" for production! Otherwise "TRUE" or "LOCAL_TEST" (don't transmit)
-define( 'SI_AUTH_LOGIN',                '3uaA59As' );                                                   // Authorize.Net Customer Login                     -- UNIQE FOR EACH CUSTOMER --
-define( 'SI_AUTH_TRAN_KEY',             '2Mq3Sh38S63ys8R2' );                                           // Authorize.Net Customer Transaction Key       -- UNIQE FOR EACH CUSTOMER --
 define( 'SI_AUTH_SEND_CONF',        'TRUE' );                           // TRUE to have customer's receive E-Mail confirmation
 define( 'SI_AUTH_MERCHANT_EMAIL',   'FALSE' );                          // TRUE to have merchant receive E-Mail convirmation of customer charges
 define( 'SI_AUTH_SECRET',       '' );                               // MD5 Hash secret used by Authorize.Net to generate MD5 response verification data