Authorize.net AIM not responsive.
Authorize.Net AIM is not working properly.
Symptom:
After CC information entered into Auth.net AIM box "Continue" button is not responsive at Step 2 of 3 - Payment Information stage.
Affected Zen-cart versions:
v1.5.8 on PHP Version: 8.1.12 (Zend: 4.1.12).
v1.5.7d clean install on PHP 8.0.
I have tested v1.5.8 with following plug-ins:
- 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
This glitch persists with the clean installs of both versions. It is not likely to be an hosting/server side issue since I know v1.5.5 is working on the same server.
Here's the CURL testing results:
Quote:
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.
Here's the log created during check out process:
Quote:
[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.
Re: Authorize.net AIM not responsive.
Is there helpful information in the following "related" thread?
https://www.zen-cart.com/showthread....problems-1-5-8
Or is the issue different and needs to be addressed in this separate thread?
Re: Authorize.net AIM not responsive.
This is to elevate the issue as a bug since no meaningful clue was found in the logs.
I'm also going to explore the previous releases including v1.5.6 and v1.5.7 to see if I can duplicate this problem.
Re: Authorize.net AIM not responsive.
Re: Authorize.net AIM not responsive.
Running 1.5.8a on PHP 8.2.4 and having the same problem. Is there a solution to this issue?
Thank you,
John
Re: Authorize.net AIM not responsive.
I found the thread mentioned by MC above, then the github link from swguy. It looks like lat9 made some changes to 1.5.8a about a month after I downloaded and began working on 1.5.8a. I have replaced zcAjaxPayment.php and authorizenet_aim.php with updated files. Everything seems to be working now.
Thank you,
John