Zen Cart Logo
Forums / Addon Payment Modules / Authorizenet SIM error

Authorizenet SIM error

Locked

Views: 1,165

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Jul 2010, 8:05 PM
#1
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Authorizenet SIM error

Hi
We are using authorizenet sim on a zencart which has been upgraded from 1.3.8a to 1.3.9d

When we try to checkout using authorizenet we get an error that says, There has been an error processing your credit card. Please try again.

The log says there is a hash match fail. We generated a new hash number, and also put the new number in zen cart and we still get this same error.

We have tried with two different credit cards.

We receive a customer notice/confirmation email but no order shows up in zen cart admin.

The transactions show up in authorize net account under, unsettled transactions.

I removed and reinstalled the sim mod. That didn't help.

I read through another thread and tried the temporary fix posted by Dr.Byte

I also downloaded the zip file, posted by Dr.Byte, and put those files in place. These fixes haven't stopped the problem.

These are the contents of the log files with personal info X'ed out. Any ideas? We're stumped. Thanks.

Sent to Authorizenet: Array
(
    [x_login] => *******
    [x_amount] => 0.10
    [x_version] => 3.1
    [x_method] => CC
    [x_type] => AUTH_CAPTURE
    [x_cust_ID] => 13
    [x_email_customer] => TRUE
    [x_company] => 
    [x_first_name] => XXXXXXXX
    [x_last_name] => XXXXXXXX
    [x_address] => XXXXXXXX
    [x_city] => XXXXXXXX
    [x_state] => XXXXXXXX
    [x_zip] => XXXXXXXX
    [x_country] => United States
    [x_phone] => XXXXXXXX
    [x_fax] => 
    [x_email] => XXXXXXXX
    [x_ship_to_company] => 
    [x_ship_to_first_name] => XXXXXXXX
    [x_ship_to_last_name] => XXXXXXXX
    [x_ship_to_address] => XXXXXXXX
    [x_ship_to_city] => XXXXXXXX
    [x_ship_to_state] => XXXXXXXX
    [x_ship_to_zip] => XXXXXXXX
    [x_ship_to_country] => United States
    [x_Customer_IP] => XXXXXXXX
    [x_relay_response] => TRUE
    [x_relay_URL] => https://XXXXXXXX.com/index.php?main_page=checkout_process
    [x_invoice_num] => 
    [x_duplicate_window] => 120
    [x_allow_partial_Auth] => FALSE
    [x_description] => Website Purchase from XXXXXXXX
    [x_fp_sequence] => 181
    [x_fp_timestamp] => 1280083833
    [x_fp_hash] => 864346658920fa3bc79f68b544715030
    [x_show_form] => PAYMENT_FORM
    [x_receipt_link_method] => POST
    [x_receipt_link_text] => Click here to complete your order.
    [x_receipt_link_url] => https://XXXXXXXX.com/index.php?main_page=checkout_process
    [zenid] => 06124fb311a5fa80e9e933882bb2ae1c
    [url] => https://secure.authorize.net/gateway/transact.dll
)
Response Code: 1.
Response Text: This transaction has been approved.

Results Received back from Authorizenet: Array
(
    [x_response_code] => 1
    [x_response_reason_code] => 1
    [x_response_reason_text] => This transaction has been approved.
    [x_avs_code] => Z
    [x_auth_code] => 072519
    [x_trans_id] => 3100655797
    [x_method] => CC
    [x_card_type] => MasterCard
    [x_account_number] => XXXXXXXX
    [x_first_name] => XXXXXXXX
    [x_last_name] => XXXXXXXX
    [x_company] => 
    [x_address] => XXXXXXXX
    [x_city] => XXXXXXXX
    [x_state] => Rhode Island
    [x_zip] => XXXXXXXX
    [x_country] => United States
    [x_phone] => XXXXXXXX
    [x_fax] => 
    [x_email] => XXXXXXXX
    [x_invoice_num] => 
    [x_description] => Website Purchase from XXXXXXXX
    [x_type] => auth_capture
    [x_cust_id] => 13
    [x_ship_to_first_name] => XXXXXXXX
    [x_ship_to_last_name] => XXXXXXXX
    [x_ship_to_company] => 
    [x_ship_to_address] => XXXXXXXX
    [x_ship_to_city] => XXXXXXXX
    [x_ship_to_state] => Rhode Island
    [x_ship_to_zip] => XXXXXXXX
    [x_ship_to_country] => United States
    [x_amount] => 0.10
    [x_tax] => 0.00
    [x_duty] => 0.00
    [x_freight] => 0.00
    [x_tax_exempt] => FALSE
    [x_po_num] => 
    [x_MD5_Hash] => A47E60D87EFDB21E8AFF767D78E6FFEC
    [x_cvv2_resp_code] => M
    [x_cavv_response] => 
    [x_test_request] => false
    [zenid] => 06124fb311a5fa80e9e933882bb2ae1c
    [HashValidationValue] => D3CA12C1EB823553DE38A2428133B1E9
    [HashMatchStatus] => FAIL
    [url] => https://secure.authorize.net/gateway/transact.dll
25 Jul 2010, 8:28 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Authorizenet SIM error

You've not set the hash correctly.

You do NOT "generate" a hash. You simply pick a word/phrase up to 20 characters, and type that into your authnet account and into your zen cart authnet settings, as explained in the setup instructions: https://www.zen-cart.com/tutorials/index.php?article=403

If you "generated" something, that would be a transaction key, which is completely different than the MD5 Hash setting.

25 Jul 2010, 9:08 PM
#3
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Authorizenet SIM error

Ok, I spoke to the cart owner and they corrected me on that. They said they picked out the letters/numbers that make the hash string and confirm the values match.

25 Jul 2010, 9:12 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Authorizenet SIM error

Well if it's telling you there's a hash match failure ... then ... the values don't match.

26 Jul 2010, 12:08 AM
#5
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Authorizenet SIM error

Well I am happy it's figured out and working now. I noticed that the api login ID in the authorizenet account and the zen cart configuration were not identical and it was a case of one letter being uppercase in authorizenet account and lowercase in zen.

The debug error message really was not what it seemed to be, but it did point to settings.

Thanks for your input.