From 32f379cc8aee3bebf0b9061f96df00adf9e1bc3d Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 13 Jul 2017 10:41:02 -0400 Subject: [PATCH] Updated production addresses for Authorize.net. --- glmAuthNetRelay/AuthNetRelayProduction.php | 2 +- glmAuthNetRelay/AuthNetRelayTest.php | 2 +- glmAuthNetRelay/debug.txt | 41 +++++++++++----------- 3 files changed, 22 insertions(+), 23 deletions(-) diff --git a/glmAuthNetRelay/AuthNetRelayProduction.php b/glmAuthNetRelay/AuthNetRelayProduction.php index a6fed36..fd2f12a 100644 --- a/glmAuthNetRelay/AuthNetRelayProduction.php +++ b/glmAuthNetRelay/AuthNetRelayProduction.php @@ -51,7 +51,7 @@ $debug = true; $VERIFY_PEER = true; $certPEM = '/var/www/server/ws6.gaslightmedia.com/AuthorizeNetRelay/ssl/cacert.pem'; $PostURLs = array( - 'Production' => 'https://secure.authorize.net/gateway/transact.dll', + 'Production' => 'https://secure2.authorize.net/gateway/transact.dll', 'Test' => 'https://test.authorize.net/gateway/transact.dll' ); diff --git a/glmAuthNetRelay/AuthNetRelayTest.php b/glmAuthNetRelay/AuthNetRelayTest.php index d36b413..097a554 100644 --- a/glmAuthNetRelay/AuthNetRelayTest.php +++ b/glmAuthNetRelay/AuthNetRelayTest.php @@ -51,7 +51,7 @@ $debug = true; $VERIFY_PEER = true; $certPEM = '/var/www/server/ws6.gaslightmedia.com/AuthorizeNetRelay/ssl/cacert.pem'; $PostURLs = array( - 'Production' => 'https://secure.authorize.net/gateway/transact.dll', + 'Production' => 'https://secure2.authorize.net/gateway/transact.dll', 'Test' => 'https://test.authorize.net/gateway/transact.dll' ); diff --git a/glmAuthNetRelay/debug.txt b/glmAuthNetRelay/debug.txt index d953352..846fc80 100644 --- a/glmAuthNetRelay/debug.txt +++ b/glmAuthNetRelay/debug.txt @@ -1,7 +1,7 @@ -Date: 05/24/2016 11:42:49 +Date: 07/13/2017 10:31:50 Submitted Array Array @@ -11,31 +11,30 @@ Array [x_delim_data] => TRUE [x_relay_response] => FALSE [x_encap_char] => | - [x_test_request] => 1 - [x_amount] => 48 - [x_card_num] => 4007000000027 - [x_card_code] => 123 - [x_exp_date] => 2/2017 - [x_first_name] => John - [x_last_name] => Smith - [x_address] => 120 E. Lake St., Apt 2 - [x_city] => Petoskey - [x_state] => MI - [x_zip] => 49770 + [x_amount] => 70 + [x_card_num] => 4430930090036625 + [x_card_code] => 089 + [x_exp_date] => 2/2020 + [x_first_name] => Rosanne + [x_last_name] => Parady + [x_address] => 2000 Speaker Rd + [x_city] => Evansville + [x_state] => IN + [x_zip] => 47712 [x_country] => US - [x_invoice_num] => 13d1d7e29e8f27ab7e8f - [x_description] => Star Line Mackinaw City - Event Tickets - [x_email] => info@gaslightmedia.com - [x_email_customer] => - [x_phone] => 231-487-0692 + [x_invoice_num] => 12dd8d4efb651a7cce8e + [x_description] => Soo Locks Boat Tours - Event Tickets + [x_email] => Rosanne55@juno.com + [x_email_customer] => 1 + [x_phone] => 812-604-0890 [x_type] => AUTH_CAPTURE - [x_login] => 44pvQ8D7d - [x_tran_key] => 8rj6ME772K9Pe9pJ + [x_login] => 9aU4a3KS + [x_tran_key] => 3v7j8yMvPCe522fe ) Post String -x_version=3.1&x_delim_char=%2C&x_delim_data=TRUE&x_relay_response=FALSE&x_encap_char=%7C&x_test_request=1&x_amount=48&x_card_num=4007000000027&x_card_code=123&x_exp_date=2%2F2017&x_first_name=John&x_last_name=Smith&x_address=120+E.+Lake+St.%2C+Apt+2&x_city=Petoskey&x_state=MI&x_zip=49770&x_country=US&x_invoice_num=13d1d7e29e8f27ab7e8f&x_description=Star+Line+Mackinaw+City+-+Event+Tickets&x_email=info%40gaslightmedia.com&x_email_customer=&x_phone=231-487-0692&x_type=AUTH_CAPTURE&x_login=44pvQ8D7d&x_tran_key=8rj6ME772K9Pe9pJ +x_version=3.1&x_delim_char=%2C&x_delim_data=TRUE&x_relay_response=FALSE&x_encap_char=%7C&x_amount=70&x_card_num=4430930090036625&x_card_code=089&x_exp_date=2%2F2020&x_first_name=Rosanne&x_last_name=Parady&x_address=2000+Speaker+Rd&x_city=Evansville&x_state=IN&x_zip=47712&x_country=US&x_invoice_num=12dd8d4efb651a7cce8e&x_description=Soo+Locks+Boat+Tours+-+Event+Tickets&x_email=Rosanne55%40juno.com&x_email_customer=1&x_phone=812-604-0890&x_type=AUTH_CAPTURE&x_login=9aU4a3KS&x_tran_key=3v7j8yMvPCe522fe Response -|1|,|1|,|1|,|(TESTMODE) This transaction has been approved.|,|000000|,|P|,|0|,|13d1d7e29e8f27ab7e8f|,|Star Line Mackinaw City - Event Tickets|,|48.00|,|CC|,|auth_capture|,||,|John|,|Smith|,||,|120 E. Lake St., Apt 2|,|Petoskey|,|MI|,|49770|,|US|,|231-487-0692|,||,|info@gaslightmedia.com|,||,||,||,||,||,||,||,||,||,||,||,||,||,|9EF4754875042B8F1C7304DED51DCBAC|,||,||,||,||,||,||,||,||,||,||,||,||,|XXXX0027|,|Visa|,||,||,||,||,||,||,||,||,||,||,||,||,||,||,||,|| \ No newline at end of file +|1|,|1|,|1|,|This transaction has been approved.|,|405619|,|Y|,|60590353002|,|12dd8d4efb651a7cce8e|,|Soo Locks Boat Tours - Event Tickets|,|70.00|,|CC|,|auth_capture|,||,|Rosanne|,|Parady|,||,|2000 Speaker Rd|,|Evansville|,|IN|,|47712|,|US|,|812-604-0890|,||,|Rosanne55@juno.com|,||,||,||,||,||,||,||,||,||,||,||,||,||,|FCA3C4872F6B1C0F7B42EB3F5D3D90FD|,|M|,||,||,||,||,||,||,||,||,||,||,||,|XXXX6625|,|Visa|,||,||,||,||,||,||,||,||,||,||,||,||,||,||,||,||,|| \ No newline at end of file -- 2.17.1