Page 1 of 7 123 ... LastLast
Results 1 to 10 of 66
  1. #1
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default authorize.net problems

    I am attempting to set up authorize.net AIM with zen-cart. The live purchases are being processed by authorize.net but zen-cart is not reading the response correctly.

    The purchaser receives a confirmation e-mail of the transaction and the transaction appears in the unsettled transactions at authorize.net

    Zen-cart does not record the sale or send an e-mail to the seller.

    This message appears when the confirmation button is pushed:

    "Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance."

    Zen-cart must be mis-reading the response from authorize.net

    Is there a solution?

  2. #2
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default Re: authorize.net problems

    I am using 1.3.6

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: authorize.net problems

    1. Go to your authorizenet AIM module in ZC admin, and turn on the option to "Enable Database Storage"
    2. Do a test transaction
    3. Use phpMyAdmin to view the response/result data in the authorizenet table in your database to determine the cause of the problem
    .

    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.

  4. #4
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default Re: authorize.net problems

    I followed your instructions. I did it live and test mode. The live mode shows the transaction was completed at authorize.net

    This is what Zen-cart displayed:

    "Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance." and returned to step 2 of 3

    The table showed:

    response_code 0

    transaction_id 0

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: authorize.net problems

    1. record your API login name and your Transaction key, and all your other AIM module settings.
    2. "remove" the module by clicking "remove" in the Zen Cart admin.
    3. rename your current /includes/modules/payment/authorizenet_aim.php to authnet.old
    4. upload the attached updated version of the file to your server
    5. go back to Zen Cart admin and "install" the AIM module
    6. edit the module settings and put back your API login name and transaction key, and then scroll to the bottom of the settings list and choose "Log and Email" for the debug mode.

    Then try your test again and report back the results.


    NOTE: ATTACHMENT DELETED -- Code is now included in v1.3.7
    Last edited by DrByte; 7 Jan 2007 at 03:52 AM. Reason: updated note
    .

    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.

  6. #6
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default Re: authorize.net problems

    The live transactions are starting to appear in the bank. I have been using a couple of different credit cards to make $0.50 - $1.00 sample purchases.

    The customer receives a confirmation of the order, the credit card is charged, the money is deposited in the bank but zen-cart displays an error, does not record the order or send the the admin an e-mail of the order.

  7. #7
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default Re: authorize.net problems

    I received this response in Zen-Cart:

    "Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance." and returned to step 2 of 3

    I used a credit card in live mode that I knew would not clear. The denial appeared at authorize.net.

    This is the log and e-mail I received: (all the blanked fields were correct)

    Response Code: Array
    (
    [0] => *2*|*1*|*2*|*This transaction has been
    declined.*|**|*Y*|*1297507907*|*1*|*Brazil Cerrado Natural(qty:
    1)*|*1.00*|*CC*|*auth_capture*|*29*|*First Name*|*Last Name*|**|*Address*|*City*|*State*|*Zip*|*United
    States*|*Phone*|**|*[email protected]*|*First Name*|*Last name*|**|*Address*|*City*|*State*|*Zip*|*United
    States*|**|**|**|**|**|*52C3067353D0E6488836F7BAAD3B81BC*|*M*|**|**|**|**|**|**| **|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|*December
    28 2006 3:14 pm*|*12.10.125.244*|*15c6cabaadc402b309463e12e948dea7*
    )
    Array
    (
    [0] =>
    )
    Sending to Authorizenet: Array
    (
    [x_login] => *******
    [x_tran_key] => *******
    [x_relay_response] => FALSE
    [x_delim_data] => TRUE
    [x_version] => 3.1
    [x_type] => AUTH_CAPTURE
    [x_method] => CC
    [x_amount] => 1.00
    [x_card_num] => *******XXXX
    [x_exp_date] => 0909
    [x_card_code] => *******
    [x_email_customer] => TRUE
    [x_email_merchant] => TRUE
    [x_cust_id] => 29
    [x_invoice_num] => 1
    [x_first_name] => Name
    [x_last_name] => Name
    [x_company] =>
    [x_address] => Address
    [x_city] => City
    [x_state] => State
    [x_zip] => Zip
    [x_country] => United States
    [x_phone] => Phone
    [x_email] => [email protected]
    [x_ship_to_first_name] => Name
    [x_ship_to_last_name] => Name
    [x_ship_to_address] => Address
    [x_ship_to_city] => City
    [x_ship_to_state] => State
    [x_ship_to_zip] => Zip
    [x_ship_to_country] => United States
    [x_description] => Brazil Cerrado Natural(qty: 1)
    [Date] => December 28, 2006, 3:14 pm
    [IP] => XX.XX.XXX.XXX
    [Session] => 15c6cabaadc402b309463e12e948dea7
    [url] => https://secure.authorize.net/gateway/transact.dll
    )


    Result: Array
    (
    [0] => *2*|*1*|*2*|*This transaction has been
    declined.*|**|*Y*|*1297507907*|*1*|*Brazil Cerrado Natural(qty:
    1)*|*1.00*|*CC*|*auth_capture*|*29*|*First Name*|* Last Name*|**|*Address*|*City*|*State*|*Zip*|*United
    States*|*6183431844*|**|*[email protected]*|*First Name*|*Last Name*|**|*Address*|*City*|*State*|*Zip*|*United
    States*|**|**|**|**|**|*52C3067353D0E6488836F7BAAD3B81BC*|*M*|**|**|**|**|**|**| **|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|**|*December
    28 2006 3:14 pm*|*XX.XX.XXX.XXX*|*15c6cabaadc402b309463e12e948dea7*
    )


    CURL info: Array
    (
    [url] => https://secure.authorize.net/gateway/transact.dll
    [content_type] => text/html
    [http_code] => 200
    [header_size] => 359
    [request_size] => 972
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.597503
    [namelookup_time] => 0.000963
    [connect_time] => 0.090349
    [pretransfer_time] => 0.295188
    [size_upload] => 0
    [size_download] => 581
    [speed_download] => 363
    [speed_upload] => 0
    [download_content_length] => 581
    [upload_content_length] => 0
    [starttransfer_time] => 1.597449
    [redirect_time] => 0
    )

  8. #8
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default Re: authorize.net problems

    All of our live transactions have reconciled with the bank. Authorize.net is processing the transactions but Zen-Cart doesn't know about it.

    This was fresh install of Zen-cart 1.3.6 from the zip I downloaded at zen-cart.org

  9. #9
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: authorize.net problems

    Help me replicate your problem.

    1. Fresh install of v1.3.6
    2. Then what ?
    What have you customized? What addons? What languages?
    What currencies?
    What country+zone is your store set to?
    What zones have you created?
    What addresses/zones are your customers using?
    What credit cards are they using?
    Which other admin-side settings have you changed? from what to what?
    How do I set up a test site exactly like yours?




    Who is your webhost? Would be interesting to know their server details.
    .

    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.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: authorize.net problems

    If the data coming back from authorizenet is correct (as per the debug log), then one possibility might be that you have an incompletely-loaded PHP file somewhere causing this...

    One way to find this out is to download everything from your site and compare it with the original fileset on your PC. This article talks about how to do that:
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    Or you could just re-upload all the files and check for failures. SmartFTP is bad for timing out and not telling you about failures. FileZilla is much better.
    .

    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.

 

 
Page 1 of 7 123 ... LastLast

Similar Threads

  1. v151 SSL problems - Authorize.net
    By billc108 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Jan 2014, 01:35 AM
  2. Authorize.net problems
    By golfador in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 16 Jan 2010, 06:02 AM
  3. Authorize.Net AIM problems
    By fright-rags in forum General Questions
    Replies: 12
    Last Post: 29 May 2007, 03:31 AM

Posting Permissions

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