Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Posts
    5
    Plugin Contributions
    0

    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
    )

  2. #2
    Join Date
    Jan 2004
    Posts
    59,773
    Blog Entries
    4
    Plugin Contributions
    133

    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!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 

Similar Threads

  1. Shopping cart - trying to turn off "Total Items" "Weight" and "Price"
    By deshojo in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 4 Apr 2011, 07:15 PM
  2. "Mail Gift Certificate" sends twice
    By mel150 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 6
    Last Post: 5 Jan 2009, 10:11 PM
  3. Checkout button sends me back to "login" as a customer
    By chachab in forum General Questions
    Replies: 5
    Last Post: 31 May 2008, 06:35 AM
  4. Authorize.net (AIM), "The transaction cannot be found." error-- HELP!
    By luvsealssoaps in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 31 Jul 2006, 10:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •