Forums / Built-in Shipping and Payment Modules / Authorize.net is approving cards, but my store says "There has been an error..."

Authorize.net is approving cards, but my store says "There has been an error..."

Started by dr_tweak on 12 Jan 2012, 8:06 PM · Views: 1,228

Results 1 to 3 of 3
12 Jan 2012, 8:06 PM
#1
dr_tweak avatar

dr_tweak

New Zenner

Join Date:
May 2008
Posts:
25
Plugin Contributions:
0

Authorize.net is approving cards, but my store says "There has been an error..."

This problem started after signing up for a new account with Authorize.net. Orders processed using Paypal go though fine. However, when a customer chooses to pay with a credit card, they get the error "There has been an error processing your credit card. Please try again." But the payment WAS approved by authorize.net, so they usually try again (two or three times sometimes) and then they give up, only to find that their credit card was charged multiple times.

In my email I get the approval from authorize.net but the order doesn't come through from Zencart, and the order never shows up in the admin panel.

Anyone know how I can fix this?

Here is a copy of the debug log from an order I attempted to put through:

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] => Y
[x_auth_code] => 258584
[x_trans_id] => 4107244459
[x_method] => CC
[x_card_type] => Visa
[x_account_number] => XXXX2016
[x_first_name] => Joshua
[x_last_name] =>
[x_company] =>
[x_address] =>
[x_city] =>
[x_state] =>
[x_zip] =>
[x_country] => United States
[x_phone] =>
[x_fax] =>
[x_email] => [email protected]
[x_invoice_num] =>
[x_description] => Website Purchase from Tweak'd Performance Online
Store
[x_type] => auth_capture
[x_cust_id] => 872
[x_ship_to_first_name] => Joshua
[x_ship_to_last_name] =>
[x_ship_to_company] =>
[x_ship_to_address] =>
[x_ship_to_city] =>
[x_ship_to_state] =>
[x_ship_to_zip] =>
[x_ship_to_country] => United States
[x_amount] => 22.94
[x_tax] => 0.00
[x_duty] => 0.00
[x_freight] => 0.00
[x_tax_exempt] => FALSE
[x_po_num] =>
[x_MD5_Hash] => 5CF7266A9AC16AA039B4CE59EAC094D4
[x_cvv2_resp_code] => M
[x_cavv_response] =>
[x_test_request] => false
[x_relay_form] => TRUE
[zenid] => gticb3f1k6bsjquk7j9qmjoke2
[HashValidationValue] => 558AD3E884C11D85FBACE6E58F848D49
[HashMatchStatus] => FAIL
[url] => https://secure.authorize.net/gateway/transact.dll
)

Using version 1.3.8a. Any help would be awesome!

-Joshua

12 Jan 2012, 8:10 PM
#2
dr_tweak avatar

dr_tweak

New Zenner

Join Date:
May 2008
Posts:
25
Plugin Contributions:
0

Re: Authorize.net is approving cards, but my store says "There has been an error..."

Nevermind. I forgot to set the hash value in authorize.net to match the setting in Zen Cart.

Cheers.

12 Jan 2012, 9:40 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Authorize.net is approving cards, but my store says "There has been an error..."

Dr Tweak:

Using version 1.3.8a.
YOU NEED TO UPGRADE A.S.A.P!

Seriously.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.