ZenCart v1.5.3
Authorize.net AIM
Host - Dreamhost

We are switching or store to Authorize.net (AIM) and ran our first test and got these errors:

Error 1: "WARNING: Security hash problem. Please contact store-owner immediately. Your order has *not* been fully authorized."

Error 2:"Communications Error - Please notify webmaster. - Your credit card could not be authorized for this reason.
Please correct the information and try again or contact us for further assistance."

I found one forum posting with the same name (I borrowed the name) and I checked to be sure I don't have the cURL Proxy on. I'm in Test mode and I used the Visa#: 4007000000027 card from the Automatic Approval Credit Card Numbers list.

I have checked the Transaction ID and the MD5 Hash several times to make sure that they match. Here is the .log file of one of the failed transactions:

Feb-06-2015 09:55:52
=================================

Comm results: 35 error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

Response Code: .
Response Text:

Sending to Authorizenet: Array
(
[x_login] => *******
[x_tran_key] => *******
[x_relay_response] => FALSE
[x_delim_data] => TRUE
[x_delim_char] => |
[x_encap_char] => *
[x_version] => 3.1
[x_type] => AUTH_CAPTURE
[x_method] => CC
[x_amount] => 127.50
[x_currency_code] => USD
[x_card_num] => XXXXXXXXXXXXX0027
[x_exp_date] => ****
[x_card_code] => ****
[x_email_customer] => FALSE
[x_email_merchant] => TRUE
[x_cust_id] => 1
[x_invoice_num] => TEST-1-eMKkZH
[x_first_name] => James
[x_last_name] => Daniel
[x_company] =>
[x_address] => 12059 Osborne St
[x_city] => Sylmar
[x_state] => California
[x_zip] => 91342
[x_country] => United States
[x_phone] => 818.692.6091
[x_email] => [email protected]
[x_ship_to_first_name] => James
[x_ship_to_last_name] => Daniel
[x_ship_to_address] => 12059 Osborne St
[x_ship_to_city] => Sylmar
[x_ship_to_state] => California
[x_ship_to_zip] => 91342
[x_ship_to_country] => United States
[x_description] => MEMOIRS OF A GEISHA [Movie-2005] (qty: 1)
[x_recurring_billing] => NO
[x_customer_ip] => 98.112.18.53
[x_po_num] => Feb-06-2015 09:55:52
[x_freight] => 2.50
[x_tax_exempt] => FALSE
[x_tax] => 0.00
[x_duty] => 0
[x_allow_partial_Auth] => FALSE
[Date] => February 6, 2015, 9:55 am
[IP] => 98.112.18.53
[Session] => 7gfFskTasOb2rnY10NhLN2
[x_test_request] => TRUE
[url] => https://secure.authorize.net/gateway/transact.dll
)


Results Received back from Authorizenet: Array
(
[0] => Response from gateway
[1] =>
[Expected-MD5-Hash] => 33BC2642E70CDA0AF7FC179474246ADB
[HashMatchStatus] => FAIL
)


CURL communication info: Array
(
[url] => https://secure.authorize.net/gateway/transact.dll
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.055229
[namelookup_time] => 0.00519
[connect_time] => 0.05528
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
[certinfo] => Array
(
)

[primary_ip] => 64.94.118.32
[primary_port] => 443
[local_ip] => 208.113.233.48
[local_port] => 40824
[redirect_url] =>
)


RAW data received: