Page 1 of 1

authorize.net emulator

Posted: Sat Mar 02, 2013 12:27 am
by cao
I am looking for following url "https://secure.authorize.net/gateway/transact.dll "
in all the authozine.net template in order to emulate it.

In /catalog/controller/payment/authorizenet_sim.php
I see the following code.

Code: Select all

<?php
class ControllerPaymentAuthorizeNetSim extends Controller {
	protected function index() {
    	$this->data['button_confirm'] = $this->language->get('button_confirm');
		
		$this->data['action'] = $this->config->get('authorizenet_sim_url');
them at the bottom

Code: Select all

if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/payment/authorizenet_sim_index.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/payment/authorizenet_sim_index.tpl';
		} else {
			$this->template = 'default/template/payment/authorizenet_sim_index.tpl';
In /default/template/payment/authorizenet_sim.tpl
I see the following

Code: Select all

<form action="<?php echo $action; ?>" method="post">
but where is the 'authorizenet_sim_url'

on the admin/lang/en/payment there is a url but that is for the relay response

$_['entry_callback'] = 'Relay Response URL:<br /><span class="help">Please login and set this at <a href="https://secure.authorize.net" target="_blank" class="txtLink">https://secure.authorize.net</a>.</span>';


I found the following link:
http://www.goemerchant.com/wiki/Print.a ... rt%20Guide

Authorize.net Emulator Quick Start Guide
DESCRIPTION: The Authorize.Net Emulator allows merchants to use the Authorize.Net payment module that is available in most third party shopping carts. Simply change the ‘POST TO’ URL within the Authorize.Net payment module to point to eProcessingNetwork’s gateway and your account will be up and running within minutes.

INSTRUCTIONS: Locate the Authorize.Net Aim Payment Module in your shopping cart and change the ‘POST TO’ URL: FROM: https://secure.authorize.net/gateway/transact.dll
TO: https://www.eProcessingNetwork.Com/cgi-bin/an/order.pl


In OpenCart:
Modify the existing Authorize.Net payment module located at:
/catalog/controller/payment/authorizenet_aim.php

Change the ‘POST TO’ URL:

FROM: https://secure.authorize.net/gateway/transact.dll
TO: https://www.eProcessingNetwork.Com/cgi-bin/an/order.pl

Re: authorize.net emulator

Posted: Fri Apr 05, 2013 7:25 pm
by crunchyroll
did you end up getting your anet emulator to successfully work with eprocessing?

Re: authorize.net emulator

Posted: Wed Apr 10, 2013 9:14 am
by Valentine88
I'm having issues getting this to work as well.. Did you get it to work?

Re: authorize.net emulator

Posted: Fri May 03, 2013 8:50 am
by crunchyroll
I haven't got the merchant account, but I was told this was my only option. I can let you know how it turns out for me. I looked at the instructions and it seemed straight forward, if it's having issues for both of you guys, I don't know if I would have much luck then...

Re: authorize.net emulator

Posted: Thu Feb 06, 2014 10:43 am
by Gunner5607
So how did you guys resolve this issue? I've looked at the code in the referenced area and I don't see a web address to change.

Re: authorize.net emulator

Posted: Thu Feb 13, 2014 8:00 pm
by Valentine88
Replace your file with attached file in /public_html/catalog/controller/payment

Then go to payment in admin and then authorize.net aim and put your id and transaction key in

This works for me

Re: authorize.net emulator

Posted: Fri Feb 14, 2014 10:08 am
by Gunner5607
Valentine88 wrote:Replace your file with attached file in /public_html/catalog/controller/payment

Then go to payment in admin and then authorize.net aim and put your id and transaction key in

This works for me
This work great!

Re: authorize.net emulator

Posted: Tue Aug 11, 2015 9:43 am
by pledgedplugins
The easiest way to get eProcessing Network working on your OpenCart site is to use the extension:

https://pledgedplugins.com/products/epr ... -opencart/