Jump to content
Sign in to follow this  
cdi-buy.com

Fixed Authorize.net AIM Uploaded

Recommended Posts

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. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×