If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / Authorize.net AIM not responsive.

Authorize.net AIM not responsive.

Started by icemint on 22 Dec 2022, 12:57 AM · Views: 1,454

Results 1 to 6 of 6
22 Dec 2022, 12:57 AM
#1
icemint avatar

icemint

New Zenner

Join Date:
Jan 2008
Posts:
32
Plugin Contributions:
0

Post #1 by icemint

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:

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:

[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.

22 Dec 2022, 12:47 PM
#3
icemint avatar

icemint

New Zenner

Join Date:
Jan 2008
Posts:
32
Plugin Contributions:
0

Post #3 by icemint

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.

16 Apr 2023, 4:36 AM
#5
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Post #5 by bumba000

Running 1.5.8a on PHP 8.2.4 and having the same problem. Is there a solution to this issue?

Thank you,
John

16 Apr 2023, 6:22 AM
#6
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Post #6 by bumba000

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