Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,107
    Plugin Contributions
    11

    Default Authorize.net AIM problems 1.5.8

    Recent move to 1.5.8 from 1.5.1 with all new files and db upgrade.
    all mods current as of today
    1.5.8 current as of yesterday

    OPC
    bootstrap
    Edit Orders
    Clone a Template
    Sitemap XML
    Mod List

    Made a successful order on 1 December witht the production server.

    Only changes since then are updates to include new merges for 1.5.8 and minor changes to bootstrap and OPC

    Can no longer make test or production orders

    Getting the following error
    Code:
    [05-Dec-2022 09:53:10 America/Denver] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 255.255.255.255, Language id 1
    #1 zcAjaxPayment->prepareConfirmation() called at [/ajax.php:85]
    --> PHP Warning: Undefined array key "cc_id" in /includes/classes/ajax/zcAjaxPayment.php on line 129.
    
    [05-Dec-2022 09:53:10 America/Denver] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 255.255.255.255, Language id 1
    #1 zcAjaxPayment->prepareConfirmation() called at [/ajax.php:85]
    --> PHP Warning: Undefined variable $authorizenet_aim in /includes/classes/ajax/zcAjaxPayment.php on line 166.
    
    [05-Dec-2022 09:53:10 America/Denver] PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /includes/classes/ajax/zcAjaxPayment.php:166
    Stack trace:
    #0 /includes/classes/ajax/zcAjaxPayment.php(166): method_exists(NULL, 'alterShippingEd...')
    #1 /ajax.php(85): zcAjaxPayment->prepareConfirmation()
    #2 {main}
    thrown in /includes/classes/ajax/zcAjaxPayment.php on line 166
    
    [05-Dec-2022 09:53:10 America/Denver] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 216.177.186.199
    --> PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /includes/classes/ajax/zcAjaxPayment.php:166
    Stack trace:
    #0 /includes/classes/ajax/zcAjaxPayment.php(166): method_exists(NULL, 'alterShippingEd...')
    #1 /ajax.php(85): zcAjaxPayment->prepareConfirmation()
    #2 {main}
    thrown in /includes/classes/ajax/zcAjaxPayment.php on line 166.
    We did attempt to load the add customers from admin mod during that time but it failed due to the new language file styling. All files were removed and the uninstall MySQL was run successfully.

    site is hornedlizardcreationsDOTcom

    Hopefully all needed info is provided.

    THANX

  2. #2
    Join Date
    Jan 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net AIM problems 1.5.8

    I have the same issue.
    I have a fresh install of v1.5.8 with following plugins:

    ZCA-Bootstrap-Template-3.4.1 added
    backup_mysql_plugin_v1-5g
    Ultimate URLs v3.0.11
    Image Handler 5 (Zen Cart 1.5.7+)
    ColorBox for Zen Cart - Version: 2.1.2

    Regardless of the correct AIM keys entered, the "Continue" button in check out Step 2 of 3 does not proceed.

  3. #3
    Join Date
    Jan 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net AIM problems 1.5.8

    I see only following error in CURL testing:

    Error 28 suggests that a DNS lookup was taking too long. This might suggest a problem, but could be a result of this script testing multiple connections in a row.
    If ALL destinations report this error, then you have a server DNS resolution problem; if only ONE destination consistently reports this, then you may have an outdated DNS source: in both cases your server administrator will need to assist you with diagnosing.

    Error 28: Connection timeout after 5000 ms

    Connecting to Canada Post REST API (SSL) ...
    GOOD: CURL Connection successful.

    Connecting to PayPal IPN (port 443)...
    GOOD: Socket established

    GOOD: CURL Connection successful.

    Connecting to PayPal IPN (port 443) Sandbox ...
    GOOD: Socket established

    GOOD: CURL Connection successful.

    Connecting to PayPal Express/Pro Server ...
    GOOD: CURL Connection successful.

    Connecting to PayPal Express/Pro Sandbox ...
    GOOD: CURL Connection successful.

    Connecting to PayPal Payflowpro Server ...
    GOOD: CURL Connection successful.

    Connecting to PayPal Payflowpro Pilot/Sandbox Server ...
    GOOD: CURL Connection successful.

    Connecting to Cardinal Commerce 3D-Secure Server ...
    GOOD: CURL Connection successful.

    Connecting to Square Payments Server ...
    GOOD: CURL Connection successful.

    Connecting to AuthorizeNet Production Server ...
    GOOD: CURL Connection successful.

    Connecting to AuthorizeNet API Production Server ...
    GOOD: CURL Connection successful.

    Connecting to AuthorizeNet Developer/Sandbox Server ...
    GOOD: CURL Connection successful.

    Connecting to AuthorizeNet API Developer/Sandbox Server ...
    GOOD: CURL Connection successful.
    Last edited by icemint; 13 Dec 2022 at 07:20 PM.

  4. #4
    Join Date
    Jan 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net AIM problems 1.5.8

    Here's the log:
    HTML Code:
    [14-Dec-2022 11:45:35 America/Boise] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 255.255.255.55
    #0 /home/includes/init_includes/init_sessions.php(125): zen_debug_error_handler()
    #1 /home/includes/autoload_func.php(40): require_once('/home/...')
    #2 /home/includes/application_top.php(237): require('/home/...')
    #3 /home/ajax.php(25): require('/home/...')
    --> PHP Warning: Undefined array key "SSL_SESSION_ID" in /home/includes/init_includes/init_sessions.php on line 125.
    
    [14-Dec-2022 11:45:35 America/Boise] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 255.255.255.55
    #0 /home/includes/classes/ajax/zcAjaxPayment.php(128): zen_debug_error_handler()
    #1 /home/ajax.php(85): zcAjaxPayment->prepareConfirmation()
    --> PHP Warning: Undefined array key "cc_id" in /home/includes/classes/ajax/zcAjaxPayment.php on line 128.
    
    [14-Dec-2022 11:45:35 America/Boise] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 255.255.255.55
    #0 /home/includes/classes/ajax/zcAjaxPayment.php(165): zen_debug_error_handler()
    #1 /home/ajax.php(85): zcAjaxPayment->prepareConfirmation()
    --> PHP Warning: Undefined variable $authorizenet_aim in /home/includes/classes/ajax/zcAjaxPayment.php on line 165.
    
    [14-Dec-2022 11:45:35 America/Boise] PHP Fatal error:  Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /home/includes/classes/ajax/zcAjaxPayment.php:165
    Stack trace:
    #0 /home/includes/classes/ajax/zcAjaxPayment.php(165): method_exists(NULL, 'alterShippingEd...')
    #1 /home/ajax.php(85): zcAjaxPayment->prepareConfirmation()
    #2 {main}
      thrown in /home/includes/classes/ajax/zcAjaxPayment.php on line 165
    
    [14-Dec-2022 11:45:35 America/Boise] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 255.255.255.55
    --> PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /home/includes/classes/ajax/zcAjaxPayment.php:165
    Stack trace:
    #0 /home/includes/classes/ajax/zcAjaxPayment.php(165): method_exists(NULL, 'alterShippingEd...')
    #1 /home/ajax.php(85): zcAjaxPayment->prepareConfirmation()
    #2 {main}
      thrown in /home/includes/classes/ajax/zcAjaxPayment.php on line 165.

  5. #5
    Join Date
    Jan 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net AIM problems 1.5.8

    I'm testing Zencart v1.5.8 on PHP Version: 8.1.12 (Zend: 4.1.12).

    I also tested Authorize.net AIM on 1.5.7d clean install on PHP 8.0. The same issue - "Continue" button is not responsive at Step 2 of 3 - Payment Information stage.

    This is a critical issue and should be addressed ASAP. The last known working version was Zencart v1.5.5 and PHP Version: 5.6.40.

    These are done on the same hosting, Bluehost.

  6. #6
    Join Date
    Apr 2019
    Posts
    242
    Plugin Contributions
    0

    Default Re: Authorize.net AIM problems 1.5.8

    I *guess* the issue is related to the php vs the plug-in, not the zen cart nor the server.

    You can probably downgrade your php to 7.4 (if there is an option) or so and see how it works.

    Since php 8.0, lots of codes (?) have been changed so it is likely the some function may not work (from the previous plug-in?).

  7. #7
    Join Date
    Jan 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Authorize.net AIM problems 1.5.8

    Great suggestion!

    I tested Zen-cart v1.5.8 running with PHP 7.4, unfortunately couldn't resolve Authorize AIM freeze issue.
    However, I was able to get Auth.net AIM working on Zen-cart v1.5.7 with PHP 7.4 worked fine. I agree with your *guess*.

    I believe the payment modules are the most critical part in a cart programming and look forward to seeing this addressed soon.

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,623
    Plugin Contributions
    123

    Default Re: Authorize.net AIM problems 1.5.8

    Reproduced issue. Investigating.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,623
    Plugin Contributions
    123

    Default Re: Authorize.net AIM problems 1.5.8

    Noticed that doing this workflow with the latest OPC enabled *does* work. So this might be a workaround at least for some.
    Continuing to investigate.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,623
    Plugin Contributions
    123

    Default Re: Authorize.net AIM problems 1.5.8

    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Authorize.net AIM Problems
    By jimh3768 in forum Addon Payment Modules
    Replies: 9
    Last Post: 6 Dec 2007, 09:02 PM
  2. Authorize.Net AIM problems
    By fright-rags in forum General Questions
    Replies: 12
    Last Post: 29 May 2007, 03:31 AM

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