
Originally Posted by
haggis0929
Under Modules/Payment, authorize.net is RED (not green), and there's the following error listed at the top (x's are replaced to conceal the path):
Fatal error: Call to a member function add_session() on a non-object in /home/xxxxx/xxxxx/xxxxx/includes/modules/payment/authorizenet_aim.php on line 86
Any suggestions?
That error is from a small bug which only shows up when another error occurs. The Authorize.net module requires that CURL be enabled on your server. If it's not, an error message about CURL missing is normally displayed. However, since there's a small bug in the code that's used to display that error message, you're seeing a secondary error instead.
That particular error ONLY affects the admin area.
If you really want to fix that tiny display issue, do the following:
Edit /includes/modules/payment/authorizenet_aim.php
Around line 75 you should see the following:
Code:
function authorizenet_aim() {
global $order;
Change it as follows:
Code:
function authorizenet_aim() {
global $order, $messageStack;
You'll still need to get CURL working on your server before you'll be able to use the Authorize.net modules though.