Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Security Hash Error Authorize.net 1.3.8a

Security Hash Error Authorize.net 1.3.8a

Locked

Views: 3,506

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
1 Oct 2010, 12:20 PM
#1
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Security Hash Error Authorize.net 1.3.8a

I cant seem to get Authorize.net working

Security Hash Error

I am running 1.3.8a

Went though all the steps...
Checked: Curl is working

Someone said there may have been a bug thats in the new upgrade, however Right now I cannot upgrade the whole site while I am in my season.

Need help ASAP! Please Advise....

2 Oct 2010, 2:29 AM
#3
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

I am using AIM

I tried every step. I even had it double checked.

But Still get

Security Hash Error

2 Oct 2010, 2:32 AM
#4
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

If you can help me with this, I am in a very tough spot!
I sell costumes...

This having to process orders manually is madding!

Thanks

2 Oct 2010, 4:31 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Security Hash Error Authorize.net 1.3.8a

The hash code you type into your authnet account profile must be the SAME as what you type into the hash field in your ZC admin module settings. And must be LESS THAN 20 characters.

2 Oct 2010, 11:23 AM
#6
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

I checked that too...

I also tried leaving it Blank on the site.

Because I read that I can either match perfectly or leave blank that it wouldn't matter...

2 Oct 2010, 12:08 PM
#7
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

Dr Byte

The cart works perfectly fine using the off line method.

The thing is I have tried looking through all the threads.
I tried and checked every thing I could.

I even tried replacing the authorize aim module

I want to know if there would be other files that I should try replacing.

2 Oct 2010, 4:01 PM
#8
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

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

At the Top

and in the middle

Error 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.

2 Oct 2010, 4:51 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Security Hash Error Authorize.net 1.3.8a

Assuming you're still using the AIM module, turn on debug logging and post the details from a failed transaction.

3 Oct 2010, 4:38 PM
#10
thunder2010 avatar

thunder2010

New Zenner

Join Date:
Aug 2010
Location:
Egypt - USA
Posts:
86
Plugin Contributions:
0

Re: Security Hash Error Authorize.net 1.3.8a

Hello Zenner,
I am helping in this problem with milobloom and i think i finished Hash error and it's working now fine without the Hush error. But there is still another Error.
at first milobloom plz delet your browser cash and you 'll never see the Hush error msg again

about the last error we have you can see it in the pic :

we already resived orders and the mod work for some costomers and not work for another.
when the mod work and we recive the order in the admin aria and we think it's fine ... we go to auth site and cheek for the money !!!!!! But we don't get any money ???
so the mod work when he like to do that :)

I think the mod accept some kind of cards [ maybe visa only or some thing ] and don't accept other cards ??
but i don't know why he make the order correct in the admin aria and don't get the money to auth site ??
also is auth site don't accept all kind of cards ? or the mod did that ??

3 Oct 2010, 4:42 PM
#11
thunder2010 avatar

thunder2010

New Zenner

Join Date:
Aug 2010
Location:
Egypt - USA
Posts:
86
Plugin Contributions:
0

Re: Security Hash Error Authorize.net 1.3.8a

About Communications Error do you think it's between the mod and auth account [ maybe the information in the mod don't look good for the mod ]
or he can't Communicat with the auth site coz of some thing in the hosting ????

3 Oct 2010, 6:42 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Security Hash Error Authorize.net 1.3.8a

I've already asked you to post the log details.
Without those all I can do is guess.

5 Oct 2010, 12:31 AM
#13
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

Where do I go to pick up the log file?

5 Oct 2010, 11:20 AM
#14
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

Below is my Debug Result

Comm results: 6 Couldn't resolve host 'secure.authorize.net'

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_ONLY
[x_method] => CC
[x_amount] => 0.01
[x_currency_code] => USD
[x_card_num] => XXXXXXXXXXXXXXXXX9809
[x_exp_date] => 0716
[x_card_code] => ****
[x_email_customer] => FALSE
[x_email_merchant] => FALSE
[x_cust_id] => 52
[x_invoice_num] => 8099-exToBq
[x_first_name] => ****
[x_last_name] => *****
[x_company] =>
[x_address] => *************
[x_city] => *************
[x_state] => **********
[x_zip] => ********
[x_country] => United States
[x_phone] => **********
[x_email] => @**
[x_ship_to_first_name] =>
[x_ship_to_last_name] =>
[x_ship_to_address] =>
[x_ship_to_city] =>
[x_ship_to_state] =>
[x_ship_to_zip] =>
[x_ship_to_country] =>
[x_description] => abcdef (qty: 1)
[x_recurring_billing] => NO
[x_customer_ip] => 74.105.152.153
[x_po_num] => Oct-05-2010 07:15:17
[x_freight] => 0.00
[x_tax_exempt] => FALSE
[x_tax] => 0.00
[x_duty] => 0
[Date] => October 5, 2010, 7:15 am
[IP] => 74.105.152.153
[Session] => fb8b641bc1e853bf62a83f3ddfec57ba
[url] => https://secure.authorize.net/gateway/transact.dll
)

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

CURL communication info: Array
(
[url] => https://secure.authorize.net/gateway/transact.dll
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0
[connect_time] => 0
[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
)

RAW data received:

5 Oct 2010, 11:39 AM
#15
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

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

I double checked to make sure they were both the same!

I Turned off CURL in the one above...
This one I tried with Curl On.

Oct-05-2010 07:37:23

Comm results: 6 Couldn't resolve host 'secure.authorize.net'

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] => 42.25
[x_currency_code] => USD
[x_card_num] => XXXXXXXXXXXXXXXXX9809
[x_exp_date] => 0716
[x_card_code] => ****
[x_email_customer] => FALSE
[x_email_merchant] => FALSE
[x_cust_id] => 52
[x_invoice_num] => 8101-bYDOMR
[x_first_name] =>
[x_last_name] =>
[x_company] =>
[x_address] =>
[x_city] =>
[x_state] =>
[x_zip] =>
[x_country] => United States
[x_phone] =>
[x_email] =>
[x_ship_to_first_name] =>
[x_ship_to_last_name] =>
[x_ship_to_address] =>
[x_ship_to_city] =>
[x_ship_to_state] =>
[x_ship_to_zip] =>
[x_ship_to_country] => United States
[x_description] => Nun From The Town Movie Quality Halloween Mask
Halloween Costume (qty: 1)
[x_recurring_billing] => NO
[x_customer_ip] => 74.105.152.153
[x_po_num] => Oct-05-2010 07:37:22
[x_freight] => 8.75
[x_tax_exempt] => FALSE
[x_tax] => 0.00
[x_duty] => 0
[Date] => October 5, 2010, 7:37 am
[IP] => 74.105.152.153
[Session] => fb8b641bc1e853bf62a83f3ddfec57ba
[url] => https://secure.authorize.net/gateway/transact.dll
)

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

CURL communication info: Array
(
[url] => https://secure.authorize.net/gateway/transact.dll
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0
[connect_time] => 0
[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
)

Using CURL Proxy: [/usr/bin/curl] with Proxy Tunnel: On

RAW data received:

5 Oct 2010, 12:14 PM
#16
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

From Auth...

Brandon S: Hello Mark! How can I help you today?
Mark Rones: I am having a problem with my gate way.... Using an error logging program this is what I get
Mark Rones: Results Received back from Authorizenet: Array
(
[0] => Response from gateway
[1] =>
[Expected-MD5-Hash] => B25DC03E#########9B5916D11DA1DB1
[HashMatchStatus] => FAIL
)
Milo Bloom: Now i double checked the Hash code!
Milo Bloom: I made it 12345 on both ends
Milo Bloom: I tried leaving it blank
Mark Rones: I am Running Zen Cart
Brandon S: I am sorry to hear that. The only reason you would be receiving this error is if your shopping cart was not creating the MD5 hash code correctly with the hash value you have supplied. You can try removing the hash value from your script since this is not required.
Milo Bloom: If I was giving you the Hash Value incorrectly. would it cause a Communications Error?
Brandon S: No it would not cause a communication order. This order would still be passed to us with no problems.

5 Oct 2010, 3:53 PM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Security Hash Error Authorize.net 1.3.8a

milobloom:

Comm results: 6 Couldn't resolve host 'secure.authorize.net'THAT is your problem. Your hosting company needs to fix CURL so that it can actually look up the domain name in its name resolver so that it can make the connection to the outside server.
milobloom:

Results Received back from Authorizenet: Array
(
[0] => Response from gateway
[1] =>
[Expected-MD5-Hash] => AF49CA4296A62ED365C45A4D375A5EE0
[HashMatchStatus] => FAIL
)That blank response shows that nothing came back from the gateway. The Expected vs Status fields are added to the message for reference. THEY DO NOT SUGGEST THAT YOU ACTUALLY GOT A RESPONSE.
milobloom:

CURL communication info: Array
(
[url] => https://secure.authorize.net/gateway/transact.dll
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0
[connect_time] => 0
[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
)All those zeros and ones confirm that NOTHING came back, since the connection failed, as indicated in the error message at the top.> milobloom:

RAW data received:
Since that is followed by nothing, it confirms there was NO data received. Further confirming that the problem is broken communications.

Your hosting company needs to configure CURL to work properly, including resolving name lookups and able to operate using SSL.
And turn CURL Proxy off, since you're not using a proxy.

5 Oct 2010, 5:24 PM
#18
thunder2010 avatar

thunder2010

New Zenner

Join Date:
Aug 2010
Location:
Egypt - USA
Posts:
86
Plugin Contributions:
0

Re: Security Hash Error Authorize.net 1.3.8a

i think that problem now really from the hosting coz when i tryed this on my localhost it work fine now without no problems.
i hope he talk to the host and they correct that :)

5 Oct 2010, 9:40 PM
#19
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

Thank you so much!

I showed them what you said and they told me they have to re-install easyapache and that would solve the problem.

Well I am hoping...

If that works should I or should I not have CURL running?

6 Oct 2010, 12:37 PM
#20
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Security Hash Error Authorize.net 1.3.8a

They say they re-configured easy apache
But I still got the error.
Then they say they opened up oppen ssl

I still get this:

But looks like I am getting some response this time...

Comm results: 56 Proxy CONNECT aborted due to timeout

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] => 42.25
[x_currency_code] => USD
[x_card_num] => XXXXXXXXXXXXXXXXX9809
[x_exp_date] => 0716
[x_card_code] => ****
[x_email_customer] => FALSE
[x_email_merchant] => FALSE
[x_cust_id] => 52
[x_invoice_num] => 8133-0OE6Yk
[x_first_name] =>
[x_last_name] =>
[x_company] =>
[x_address] =>
[x_city] =>
[x_state] =>
[x_zip] =>
[x_country] => United States
[x_phone] =>
[x_email] =>
[x_ship_to_first_name] => milo
[x_ship_to_last_name] => bloom
[x_ship_to_address] =>
[x_ship_to_city] =>
[x_ship_to_state] =>
[x_ship_to_zip] =>
[x_ship_to_country] => United States
[x_description] => Nun From The Town Movie Quality Halloween Mask
Halloween Costume (qty: 1)
[x_recurring_billing] => NO
[x_customer_ip] => 74.105.152.153
[x_po_num] => Oct-06-2010 08:30:06
[x_freight] => 8.75
[x_tax_exempt] => FALSE
[x_tax] => 0.00
[x_duty] => 0
[Date] => October 6, 2010, 8:30 am
[IP] => 74.105.152.153
[Session] => fb8b641bc1e853bf62a83f3ddfec57ba
[url] => https://secure.authorize.net/gateway/transact.dll
)

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

CURL communication info: Array
(
[url] => https://secure.authorize.net/gateway/transact.dll
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 107
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 15.132598
[namelookup_time] => 0.075813
[connect_time] => 0.132567
[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
)

Using CURL Proxy: [/usr/bin/curl] with Proxy Tunnel: On

RAW data received:

This email address was given to us by you or by one of our customers. If you
feel that you have received this email in error, please send an email to
customer service <helpvioletsea######################>
This email is sent in accordance with the US CAN-SPAM Law in effect
01/01/2004. Removal requests can be sent to this address and will be honored
and respected.