Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fixed Authorize.net AIM Uploaded


cdi-buy.com

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...