cdi-buy.com Posted July 29, 2008 Share Posted July 29, 2008 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. :) Quote Link to comment Share on other sites More sharing options...
cdi-buy.com Posted July 29, 2008 Author Share Posted July 29, 2008 (edited) 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://www.oscommerce.com/forums/index.php?sho...mp;#entry858160 Edited July 29, 2008 by cdi-buy.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.