Forums / Zen Cart Release Announcements / Authorize.net Networking Change Summer 2015

Authorize.net Networking Change Summer 2015

Views: 19,227

Results 1 to 1 of 1
15 Jul 2015, 7:51 PM
#1
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Authorize.net Networking Change Summer 2015

Starting tomorrow, Authorize.net will start emailing merchants to indicate that they're making some changes with the aim of avoiding all future downtime caused by maintenance actions, by switching to using Akamai services to interface with their systems.

Due to the seamless way they're implementing the changes, you could easily make NONE of these changes to your Zen Cart implementation and things will work just fine.

But, IF YOU ARE using Authorize.net for payment processing, you are welcome to make their suggested change so you can benefit from their updates sooner, as follows:

For whichever payment module you're using, the filename is listed below. The change is the same for all files (just change "secure" to "secure2"):

If you're using the AIM module:
/includes/modules/payment/authorizenet_aim.php (AIM module)

Using your text editor (we recommend the free version of Sublime Text) simply search-and-replace this:

    $url = 'https://secure.authorize.net/gateway/transact.dll';

with:

    $url = 'https://secure[B]2[/B].authorize.net/gateway/transact.dll';

If you're using the eCheck module:
The file is: /includes/modules/payment/authorizenet_echeck.php (echeck module), and the change is identical to the one above for the AIM module.

If you're using the SIM module, the file is:
/includes/modules/payment/authorizenet.php (SIM module)
and the change is to replace:

    $this->form_action_url = 'https://secure.authorize.net/gateway/transact.dll';

with:

    $this->form_action_url = 'https://secure[B]2[/B].authorize.net/gateway/transact.dll';

AGAIN: Even if you don't make this change, things will still continue to work, although you might experience a few overnight outages when upgrades are taking place by Authorize.net's maintenance activities (no different than you might have had in the past couple years).

Other plugins:
For the ARB addon, change api.authorize.net to api2.authorize.net
For the CIM addon, add the "2" as shown here: $this->url = "https://" . $subdomain . "2.authorize.net/xml/v1/request.api";

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.