Get the book

Go Back   Zen Cart Support > Upgrading Your Zen Cart > Upgrading from 1.2 to 1.3.x

Upgrading from 1.2 to 1.3.x Questions and challenges related to upgrading from the 1.2.x series to v1.3.x series

Reply
 
Thread Tools Display Modes
Old 15th October 2009, 07:14 PM   #1
drziegler
New Zenner
 
Join Date: Jan 2009
Posts: 3
Default Authorize.net Sends Response "1" but Zen Cart Throws Error

Hello!
I've been using Zen Cart for a while on an older installation (1.2.7) but just this week managed to upgrade to 1.3.8a. It took a while to do the upgrade, but everything was straight forward and worked well, until I did my first test transaction. I'm using the Authorize.net SIM module with all the correct settings (I have verified this with Authorize).

I'm in production mode on both sites and when I run a card (I've tried four cards, two active Visas and a Discover and an inactive Visa) I get the correct response from Authorize either accepted or declined (see logfile below for accepted card) but either way Zen Cart throws the "There has been an error processing your credit card. Please try again." error in response and the order is not saved.

I do notice that the Hash fails, but I have confirmed that I have the correct Hash in both Authorize and Zen Cart.

I hope that's enough information to diagnose the problem. Thanks!

Code:
Oct-15-2009 12:07:48
=================================

Response Code: 1.
Response Text: This transaction has been approved.

Results Received back from Authorizenet: Array
(
    [x_response_code] => 1
    [x_response_subcode] => 1
    [x_response_reason_code] => 1
    [x_response_reason_text] => This transaction has been approved.
    [x_auth_code] => 060713
    [x_avs_code] => Y
    [x_trans_id] => 2657055350
    [x_invoice_num] => 
    [x_description] => Website Purchase from Good Steward Books
    [x_amount] => 0.85
    [x_method] => CC
    [x_type] => auth_capture
    [x_cust_id] => 2333
    [x_first_name] => Daniel R.
    [x_last_name] => Ziegler
    [x_company] => 
    [x_address] => 9827 Rosedale-Milford Center Rd.
    [x_city] => Irwin
    [x_state] => Ohio
    [x_zip] => 43029
    [x_country] => United States
    [x_phone] => 740.604.1316
    [x_fax] => 
    [x_email] => drziegler######################
    [x_ship_to_first_name] => Daniel R.
    [x_ship_to_last_name] => Ziegler
    [x_ship_to_company] => 
    [x_ship_to_address] => 9827 Rosedale-Milford Center Rd.
    [x_ship_to_city] => Irwin
    [x_ship_to_state] => Ohio
    [x_ship_to_zip] => 43029
    [x_ship_to_country] => United States
    [x_tax] => 0.0000
    [x_duty] => 0.0000
    [x_freight] => 0.0000
    [x_tax_exempt] => FALSE
    [x_po_num] => 
    [x_MD5_Hash] => E2AE1BDD4243E2994DBCB107FB7C1A98
    [x_cavv_response] => 
    [x_test_request] => false
    [x_relay_form] => TRUE
    [zenid] => 758fae8e7219ebcf25338e605b5f390a
    [HashValidationValue] => FD2651ADAAFD97EEBC29A52F78F7641D
    [HashMatchStatus] => FAIL
    [url] => https://secure.authorize.net/gateway/transact.dll
)
drziegler is offline   Reply With Quote
Old 15th October 2009, 07:26 PM   #2
DrByte
Sensei
 
DrByte's Avatar
 
Join Date: Jan 2004
Location: Ontario, Canada
Posts: 38,609
Default Re: Authorize.net Sends Response "1" but Zen Cart Throws Error

Whatever you use for a hash code must be less than 20 characters. I suggest choosing another shorter word/phrase for your md5-hash value.
__________________
Zen Cart - putting the dream of business ownership within reach of anyone!
DrByte is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Mail Gift Certificate" sends twice mel150 Gift Certificate Configuration 6 5th January 2009 10:11 PM
Checkout button sends me back to "login" as a customer chachab General Questions 5 31st May 2008 07:35 AM
Shopping cart - trying to turn off "Total Items" "Weight" and "Price" deshojo First Steps & General Customization Issues 3 10th January 2008 12:45 AM
Authorize.net (AIM), "The transaction cannot be found." error-- HELP! luvsealssoaps Shipping and Payment Modules 5 31st July 2006 11:20 PM


All times are GMT +1. The time now is 11:35 PM.

Learn tips, tricks & secrets for your Zen Cart™
Sign up for our FREE Newsletter

Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content and Graphics Copyright (c) 2006, 2007, 2008, 2009 Zen Ventures, LLC - all rights reserved
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads