Jump to content


Corporate Sponsors


Latest News: (loading..)

Fixed Authorize.net AIM Uploaded


1 reply to this topic

#1 cdi-buy.com

  • Community Member
  • 659 posts
  • Real Name:D.

Posted 29 July 2008, 06:37

Hey guys, I figured out what was wrong with Vger's contribution and why it won't work in live mode. Or at least, why it wasn't working for me. I've fixed it and uploaded a complete package that works right out of the box:

http://addons.oscommerce.com/info/4091

I don't know a thing about Ponce's version, but this one works now.

For those who already installed this, the fix is extremely simple:

in includes/modules/payment/authorizenet_aim.php around line 301 change this:

		  if (MODULE_PAYMENT_AUTHORIZENET_AIM_TESTMODE == 'Test') {
	  $url = 'https://secure.authorize.net/gateway/transact.dll'; // If this does not work then change 'secure' to 'certification' on this line
	  } else {
	  //$url = 'https://secure.authorize.net/gateway/transact.dll';
		  $url = 'https://test.authorize.net/gateway/transact.dll';
	  }

to this:
		  if (MODULE_PAYMENT_AUTHORIZENET_AIM_TESTMODE == 'Test') {
	  $url = 'https://secure.authorize.net/gateway/transact.dll'; // If this does not work then change 'secure' to 'certification' on this line
	  } else {
	  $url = 'https://secure.authorize.net/gateway/transact.dll';
	  //$url = 'https://test.authorize.net/gateway/transact.dll';
	  }

Enjoy. :)

#2 cdi-buy.com

  • Community Member
  • 659 posts
  • Real Name:D.

Posted 29 July 2008, 06:43

Oh and make sure you do this at Authorize.net (the actual website) in your admin/settings, especially if you're getting kicked back to the login page after hitting Confirm Order:

http://forums.oscommerce.com/index.php?sho...mp;#entry858160

Edited by cdi-buy.com, 29 July 2008, 06:44.