Community Forums

Authorize.Net(AIM) setup?

Support for Payment extensions

Authorize.Net(AIM) setup?

Postby Smokinoakum » Mon Apr 04, 2011 2:30 pm

Hi all...I'm about to have to setup a payment gateway for my fathers store. He has chosen to go with the opencart's Authorize.Net(AIM) gateway. He has finished setting up the account with them and has a Login ID, and a Transaction Key.

I have a few questions before I attempt to go further.

1. MD5 Hash: What do I put here?
2. Transaction Server: Do I leave this on Live?
3. Transaction Mode: Do I leave this on Live?
4. Transaction Method: I would think I need to change this to Capture?
5. Order Status: I would think I need to change this to Complete?

My other question is, do I need to purchase a SSL certificate to go along with the Authorize.Net(AIM) gateway.

I looked online for a tutorial on this and could find nothing. Any help would be great!

Thanks everyone.
Smokinoakum
 
Posts: 31
Joined: Tue Dec 21, 2010 8:52 pm

Re: Authorize.Net(AIM) setup?

Postby Qphoria » Mon Apr 04, 2011 2:40 pm

1. It is optional, only if you have it set in your actual authorize.net account settings
2. Yes
3. Yes
4. Capture
5. Complete or whatever status you want the order to be in when payment is successful

Yes you need SSL for any payment gateway that is hosted and collects card data directly on your site

Q
User avatar
Qphoria
Administrator
 
Posts: 19218
Joined: Mon Jul 21, 2008 2:02 pm
Donate to Qphoria

Re: Authorize.Net(AIM) setup?

Postby Smokinoakum » Mon Apr 04, 2011 3:17 pm

Qphoria wrote:
Yes you need SSL for any payment gateway that is hosted and collects card data directly on your site

Q


Thanks for the fast response Q. Do you suggest buying the certificate though the web host provider or through Authorize.Net? The costs are just about the same.
Smokinoakum
 
Posts: 31
Joined: Tue Dec 21, 2010 8:52 pm

Re: Authorize.Net(AIM) setup?

Postby cmohunter » Sat Apr 16, 2011 12:03 am

I recently purchased the Q add-on for Opencart but its generating an error - ERROR: (TESTMODE) The merchant login ID or password is invalid or the account is inactive. I am using the Authorize.net Sandbox to generate the API Login Id and Transaction Key on OPen Cart v.1.4.9.4.

I could use some help to understand what needs to be modified in order to get this to work properly. Thank you.
cmohunter
 
Posts: 3
Joined: Mon Jan 31, 2011 2:11 pm

Re: Authorize.Net(AIM) setup?

Postby eseaman3 » Fri May 06, 2011 2:55 pm

Hi, guys,

I am getting a consistent "This transaction cannot be accepted." error when I try to check out using the Authorize.net payment module. I purchased the Q product for authorize.net and it also did not work, so I went back to the original module to see if I can't get it to work again. Here is what I have done to troubleshoot:

I have enabled SSL on my host and in my OpenCart. I checked my Authorize.net account against my OpenCart, and my API Login ID, Transaction Key and MD5 hash match between authorize.net and OpenCart. I checked my host against my OpenCart timezones, and my OpenCart is set to Central/Daylight Savings Time and my host is located in Texas, so this is correctly configured as well. I have set up an OpenCart GeoZone to USA, with a Description of USA, and a Zone of All Zones.

I tested with Authorize.net on the phone, and they tell me my tests are not even hitting their server, so the problem is on my end. Next steps, please?

Thanks,
EdS
eseaman3
 
Posts: 9
Joined: Tue Apr 19, 2011 10:53 pm

Re: Authorize.Net(AIM) setup?

Postby eseaman3 » Fri May 06, 2011 4:48 pm

Hey guys/gals,

I just got off the phone with authorize.net- we got it to work. If you have an existing authorize.net API login ID and Transaction Key, you MUST create a new transaction key if you are migrating your shopping cart to a new server.

Would it have value for me to document what I have learned about troubleshooting and making authorize.net (AIM) work and posting it somewhere on the community forum?

Thanks,
EdS
eseaman3
 
Posts: 9
Joined: Tue Apr 19, 2011 10:53 pm

Re: Authorize.Net(AIM) setup?

Postby tonkapark » Wed Dec 07, 2011 11:53 am

Thought I would add a more accurate solution here for the error, "(TESTMODE) The merchant login ID or password is invalid or the account is inactive." when using Authorize.net AIM gateway.

Assuming you have all the right details entered not all accounts have privileges to the test url so you have to use the normal secure subdomain and set the parameter for a test request to true.

A quick and dirty fix is

In file catalog/controller/payment/authorizenet_aim.php
find:
Code: Select all
$url = 'https://test.authorize.net/gateway/transact.dll';      


change to:
Code: Select all
 $url = 'https://secure.authorize.net/gateway/transact.dll';
tonkapark
 
Posts: 1
Joined: Wed Dec 07, 2011 11:46 am

Re: Authorize.Net(AIM) setup?

Postby Demon5 » Thu Dec 08, 2011 10:05 am

You also have to sign up for a separate account on the sandbox server which is completely separate from your regular account.
https://www.lotnllc.com is your one stop shop for all your computer needs!
User avatar
Demon5
 
Posts: 216
Joined: Fri Jun 18, 2010 3:12 pm
Location: Sacramento, CA

Re: Authorize.Net(AIM) setup?

Postby lilpantherpaw » Tue May 29, 2012 11:20 pm

We are using Authorize.Net on OpenCart Version 1.5.1.3.

Registered customers are receiving a "Transaction Invalid" error when trying to submit their payment info. Unregistered users are able to submit their payment without error. We have entered a new Login ID and Transaction Key for the module, without resolve to this issue. Please advise.
lilpantherpaw
 
Posts: 9
Joined: Sat Jan 28, 2012 3:17 pm

Re: Authorize.Net(AIM) setup?

Postby Qphoria » Wed May 30, 2012 8:48 am

Smokinoakum wrote:
Qphoria wrote:
Yes you need SSL for any payment gateway that is hosted and collects card data directly on your site

Q


Thanks for the fast response Q. Do you suggest buying the certificate though the web host provider or through Authorize.Net? The costs are just about the same.


GoDaddy... $25

cmohunter wrote:I recently purchased the Q add-on for Opencart but its generating an error - ERROR: (TESTMODE) The merchant login ID or password is invalid or the account is inactive. I am using the Authorize.net Sandbox to generate the API Login Id and Transaction Key on OPen Cart v.1.4.9.4.

I could use some help to understand what needs to be modified in order to get this to work properly. Thank you.


The "test" server is for developer accounts only. Not for live accounts in test mode.
User avatar
Qphoria
Administrator
 
Posts: 19218
Joined: Mon Jul 21, 2008 2:02 pm
Donate to Qphoria

Re: Authorize.Net(AIM) setup?

Postby oasisfleeting » Thu May 08, 2014 4:00 pm

Using a phrase will work, but that isn't the REAL problem.
The root of the problem is this:
1.) Grab a hash from any site like http://www.adamek.biz/md5-generator.php , an MD5 hash is always 32 characters
2.) Enter the hash into Authorize.net's md5 hash and compare that to the hash you created. You'll notice that on Authorize.net's MD5 hash the field length is limited to 20 characters but the md5 hash field in opencart is not. This is the causing invalid hash collisions.

Solution: Create your hash from a password or for example i_love_lucy.
i_love_lucy will hash into bcd91b9012a23f973cd8baca7eeeb5de but only 20 of those 32 characters will be allowed into the authorize.net md5 hash field.
So in conclusion the hash that needs to be put into opencart auth.net aim is bcd91b9012a23f973cd8

Do not comment out the hash checking code as this will more than likely compromise your shops security.

Ultimately, the true fix for the authorize.net aim module would be to limit the md5 hash field to 20 characters so that it matches the hash entered in to authorize.net

I figured this out while pooping and thinking. I win.

Opencart 1.5.6.4
oasisfleeting
 
Posts: 12
Joined: Wed May 30, 2012 7:21 pm

Re: Authorize.Net(AIM) setup?

Postby Qphoria » Fri May 09, 2014 7:41 am

oasisfleeting wrote:I figured this out while pooping and thinking. I win.


Quote of the Week! :)
But really this is the best place to do thinking...
User avatar
Qphoria
Administrator
 
Posts: 19218
Joined: Mon Jul 21, 2008 2:02 pm
Donate to Qphoria


Return to Payments

Who is online

Users browsing this forum: No registered users and 17 guests

Hosted by Arvixe Web Hosting