Post by iWood » Thu Sep 10, 2015 3:01 am

OpenCart 1.5.3.1

Forum Search Results For This Issue

"+akamai +authorize.net" produced two results, and only this one - http://forum.opencart.com/viewtopic.php ... horize.net - had a reply. Unfortunately, it's been so long since I've been in the OpenCart code, I couldn't use the information. There is also an external resource here - http://www.authorize.net/support/akamaifaqs/ - but that didn't help much.

The Issue

Authorize.net is using three new transaction URLs:

https://api2.authorize.net/xml/v1/request.api
https://api2.authorize.net/soap/v1/Service.asmx
https://secure2.authorize.net/gateway/transact.dll

My Problem

I have no idea where to make these changes. As I said, it's been awhile - at least two years - since I've mucked about in the OpenCart code. Back then I did some basic .php tweaking here and there, changed some labels and values, so I'm familiar in principle with what needs to be done.

But I need specifics. For example: "1) Find this file: //path/filename; 2) Find and replace this with that."

I'm good at following instructions, I just need to know where to make the changes. If anyone could provide that guidance I'd be most grateful.

Thanks for your time,

~Ian

Newbie

Posts

Joined
Wed Jun 27, 2012 8:39 am

Post by kirkhall » Thu Sep 10, 2015 6:21 am

I'm using 1.5.6.4. with Authorize.Net (AIM)

The changes were made to \catalog\controller\payment\authorizenet_aim.php
back up your current version and
find

Code: Select all

	public function send() {
		if ($this->config->get('authorizenet_aim_server') == 'live') {
			$url = 'https://secure.authorize.net/gateway/transact.dll';
and just change the $url= line to one of the new urls. We did the last one on your list. Test it out to make sure it works.

Active Member

Posts

Joined
Thu May 22, 2014 11:31 am

Post by tom327 » Thu Mar 24, 2016 11:40 am

I'm using OC 1.5.5.1

A few weeks ago I started having problems with Authorize.net AIM. The order was being processed in checkout, and you get success page, BUT the money is not being transferred to my account.

I tried the fix suggested in this post with the new url, updating the authorizenet_aim.php controller
in appropriate spot with new URL:
https://secure2.authorize.net/gateway/transact.dll

But, after the change, I tried a test order and on last step in checkout I got a pop up error message:
"Internal Server Error"
and could not complete the transaction.

I am using OC 1.5.5.1
Could I just grab a newer version of the authorizenet_aim.php file?
Such as from OC 1.5.6.4, or the newer 2.0 version?

Or can someone suggest a possible fix?

Active Member

Posts

Joined
Thu Feb 16, 2012 7:33 am

Post by Qphoria » Thu Mar 24, 2016 11:42 am

AFAIK, a few months all of their legacy urls will also point to akamai anyway so you don't really need to change anything other than to test early.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by tom327 » Thu Mar 24, 2016 12:51 pm

OK. So since I did change to one of the new URLs in the authorizenet_aim.php controller, and it caused an internal server error, (I switched it back to original URL), BUT then does that mean when they just point the old URL to Akamai it will be same problem and not work at all?

I still don't know why switching to the new secrure2 URL did not work. Is there anything I can do so my store WILL work with the new Akamai URL?

Is there an updated Opencart file that can be used for authorize.net AIM payments or an extension I can buy?

Or, could this be an issue related to something else like PCI compliance of my host, or that I am using outdated PHP version on my host?

Active Member

Posts

Joined
Thu Feb 16, 2012 7:33 am

Post by Qphoria » Thu Mar 24, 2016 10:01 pm

Internal service error means you made a typo when you made the change.. likely deleted the apostrophe or something.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by williamhazel » Mon Jul 11, 2016 8:39 pm

I've updated to the new URLs and originally (ie - the last 2 months) hadn't had any issue with it whatsoever. Orders were processed exactly as they were in the past. However, more recently I get maybe 1 in 5 orders that are submitted and paid for but when you look at the order - either shipping or payment information is completely blank. I have fairly tight controls on my AVS so obviously blank data should be automatically rejected and yet even the authorize.net receipt I get back from them will have the blank data in it as well. I've went back through my log file and there is nothing at all for the last 3 orders I've had issue with (nothing at all for the day, let alone for the order). Any ideas?

Newbie

Posts

Joined
Tue Mar 29, 2016 12:57 pm
Who is online

Users browsing this forum: No registered users and 69 guests