Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

    Quote Originally Posted by AvaAdorn View Post
    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.
    carlwhat is helping you confirm that the problem is not in the authnet module, but instead somewhere else in your site.

    I recommend doing a complete site analysis as though you were hacked, to prove that you weren't. ... cuz it seems something is interfering with the proper handling of order data ... and I suspect files in your /includes/classes folder have been tampered with ... and perhaps elsewhere as well.

    See: http://www.zen-cart.com/wiki/index.p...ing_From_Hacks
    .

    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.

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

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

    Okay, I added the new code (yes I did find the AIM debug in the Cache directory). I got a bunch of stuff on the screen:

    order Object ( [info] => Array ( [order_status] => 2 [currency] => USD [currency_value] => 1.00000000 [payment_method] => [payment_module_code] => [coupon_code] => [shipping_method] => Zone Rates (Shipping to US) [shipping_module_code] => zones_zones [shipping_cost] => 0 [subtotal] => 2.5 [shipping_tax] => 0 [tax] => 0 [total] => 0 [tax_groups] => Array ( [0] => 0 ) [comments] => [ip_address] => xxx [cc_type] => MasterCard [cc_owner] => Ava xxx [cc_number] => XXXXXXXXXXXX9509 [cc_expires] => [cc_cvv] => *** ) [totals] => Array ( ) [products] => Array ( [0] => Array ( [qty] => 1 [my_stock_id] => USPS-DOM-SC-250 [name] => Signature Confirmation [model] => USPS-DOM-SC-250 [tax] => 0 [tax_groups] => Array ( [0] => Sales Tax ) [tax_description] => Sales Tax [price] => 2.5000 [final_price] => 2.5 [onetime_charges] => 0 [weight] => 0 [products_priced_by_attribute] => 0 [product_is_free] => 0 [products_discount_type] => 0 [products_discount_type_from] => 0 [id] => 414 [rowClass] => rowEven ) ) [customer] => Array ( [firstname] => xxx [lastname] => xxx [company] => [street_address] => xxx [suburb] => [city] => xxx [postcode] => xxx [state] => California [zone_id] => 12 [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [format_id] => 2 [telephone] => xxx [email_address] => xxx ) [delivery] => Array ( [firstname] => xxx [lastname] => xxx [company] => [street_address] => xxx [suburb] => [city] => xxx [postcode] => xxx [state] => California [zone_id] => 12 [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) [content_type] => physical [email_low_stock] => [products_ordered_attributes] => [products_ordered] => [products_ordered_email] => [attachArray] => [billing] => Array ( [firstname] => xxx [lastname] => xxx [company] => [street_address] => xxx [suburb] => [city] => xxx [postcode] => xxx [state] => xxx [zone_id] => 12 [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) ) /home2/xxx/public_html/includes/modules/payment/authorizenet_aim.php:311

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

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

    great!

    something is wrong with your:

    includes/classes/order.php

    from the info that you posted, we can see that the:

    order->info['subtotal'] = 2.50

    but yet:

    order->info['total'] = 0

    which is why authnet is failing because of a $0 charge.

    i would follow the link that drByte posted. something is wrong within that file and perhaps you were hacked.... or did you make a change to that file?

    good luck! let us know what you find out.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

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

    Probably hacked because I did not make a change to the file. I'll follow Dr. Byte's instructions. Thanks for the help!

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

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

    I went back to a previous backup before September 11 and the issue with Authorize.net still persisted. So now I'm not so sure if the site was hacked. I used the old orders.php file and it didn't change anything. I also consulted with my hosting company and they said they were not aware of any hacks to the server. Could it be something else?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

    Did you check ALL files? Or only those 2? There are hundreds of files used, even just to get "to" the two files you mentioned. And several directories auto-load "all" files in them, even if they're unauthorized or unwanted, which is what hackers often try to exploit. Hence the guidance to do a *complete* compare of everything, including unexpected/new files that weren't published with original ZC files.
    .

    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.

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

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

    i agree that it is worth while to look at all your files.

    you were successfully authorizing cards on the 10th, and then it stopped working on the 11th. there has been no change to authorize.net; so something must have happened on your site.

    the value for $order->info['total'] is updated in numerous spots so the problem could have happened anywhere.

    good luck!

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

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

    What is the best way to compare files? What do you use?

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

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

    i like to use meld:

    http://meldmerge.org/

    i run linux on most of computers. but it does look like they have a windows version.

    i'm sure there are other tools out there....
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

    Quote Originally Posted by AvaAdorn View Post
    What is the best way to compare files? What do you use?
    A few posts back I gave you this link:
    http://www.zen-cart.com/wiki/index.p...ing_From_Hacks
    ... which in one of its steps has a link to: https://www.zen-cart.com/wiki/index....Obscure_Issues
    ... in which the two most popular tools, WinMerge and Beyond Compare are listed.
    But if you want even more, see: http://www.zen-cart.com/wiki/index.php/Useful_Tools
    Last edited by DrByte; 4 Oct 2016 at 07:49 PM. Reason: updated links
    .

    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 2 12 LastLast

Similar Threads

  1. 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
  2. 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
  3. 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
  4. 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
  5. Replies: 1
    Last Post: 15 Jun 2007, 04:45 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