Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Feb 2012
    Posts
    106
    Plugin Contributions
    0

    Default My Authorize.net module stopped working on September 11 2016

    Quote Originally Posted by lat9 View Post
    You'll need to copy the following files and directories from the Zen Cart 1.5.5a distribution to like-named files/directories for your Zen Cart 1.3.9h store:
    1. /includes/languages/english/modules/payment/authorizenet_aim.php
    2. /includes/modules/payment/authorizenet_aim.php
    3. /includes/modules/payment/authorizenet/*.*
    Thank you, I updated those files from the 1.5.5a distribution. I am still getting the same error that I was getting before so perhaps the problem was not in updating the AIM module.

    The error message I get is: A valid amount is required. - Your credit card could not be authorized for this reason. Please correct the information and try again or contact us for further assistance.

    And when I check the log file, I see this:

    Sending to Authorizenet: Array
    (
    [x_login] => *******
    [x_tran_key] => *******
    [x_relay_response] => FALSE
    [x_delim_data] => TRUE
    [x_delim_char] => |
    [x_encap_char] => *
    [x_version] => 3.1
    [x_solution_id] => A1000003
    [x_method] => CC
    [x_amount] => 0.00
    [x_currency_code] => USD
    [x_market_type] => 0

    Not sure why the dollar amount is $0.00.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Authorize.Net Technical Updates

    assuming that you are doing an authorization, the code is:

    Code:
    'x_amount' => number_format($order->info['total'], 2),
    so the question is whether your order class has been modified so that you are not getting the info['total'] updated?

    do you see any of the billing address or delivery address information in the log?
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Feb 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Authorize.Net Technical Updates

    Yes, I was running an authorization to test it out and both billing and shipping addresses are there. Authorize.net was working until September 11 (that's when I received the last successful order through Authorize.net). PayPal works just fine. I didn't make any changes to the site that I'm aware of so I was thinking something was changed on the Authorize.net side.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Authorize.Net Technical Updates

    how much was the authorization for?

    because it looks like your order total is $0. which apparently authorize.net is not liking...

  5. #5
    Join Date
    Feb 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Authorize.Net Technical Updates

    I ran the authorization for different amounts, $1.50, $2.50, and every time, the order total in the log file is $0.

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Authorize.Net Technical Updates

    we could try things... insert this line after line 339 on includes/modules/payment/authorizenet_aim.php (i have included line 339 for reference):

    Code:
        // Populate an array that contains all of the data to be sent to Authorize.net
    error_log(print_r($order, true) . PHP_EOL, 3, DIR_FS_LOGS . '/aim_debug.log');
    then run a transaction. if we have done everything correctly, we would have a new file in your logs directory called aim_debug.log

    if you have that file, post the contents and lets see what's going with that order.

  7. #7
    Join Date
    Feb 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Authorize.Net Technical Updates

    Okay, I've added the code and ran a transaction. Where is this "logs directory"?

  8. #8
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Authorize.Net Technical Updates

    ok... i think "we" made a mistake....

    you are running 1.3.9? true? if so, the variable DIR_FS_LOGS is not defined. so we probably generated an apache error. i apologize.

    please change DIR_FS_LOGS to DIR_WS_ADMIN.

    then you should see the file in your admin directory. i'm assuming you can track that file down.....

    let me know... again sorry about the mistake...

    at some point it would behoove you to upgrade to the latest version....

  9. #9
    Join Date
    Feb 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Authorize.Net Technical Updates

    I found a file that is just called "logs" in my cPanel, but the file aim_debug.log was not in there. Would it be somewhere else? Or should I be looking for something called DIR_FS_LOGS?

  10. #10
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Authorize.Net Technical Updates

    read my last post....

    DIR_FS_LOGS was introduced in a later version of ZC.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h My Authorize.net module stopped working on September 11 2016
    By DrByte in forum Built-in Shipping and Payment Modules
    Replies: 15
    Last Post: 5 Oct 2016, 04:57 PM
  2. v151 Authorize.net module suddenly quit working communications error
    By joem83 in forum General Questions
    Replies: 22
    Last Post: 16 Oct 2015, 05:07 PM
  3. Authorize.net payment module not working
    By patwithds in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 13 Aug 2009, 06:21 PM
  4. Authorize.net module not working properly for me
    By braggweb in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 19 Sep 2008, 09:08 PM
  5. Authorize.Net SIM Module not working right for us
    By chaoscube in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 12 Sep 2008, 09:53 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR