You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
World Wide Web Server edited this page Jul 4, 2012
·
5 revisions
Just add the following config to your application/config/config.php file
[code]
$config['at_login'] = "xxxxxxxxxx"; //your login
$config['at_password'] = "xxxxxxxxxxxx"; //your transaction key
$config['at_test'] = 1; //Set to 0 for live transactions
$config['at_debug'] = 1; //Set to 0 for live transactions
$config['at_site'] = 'https://test.authorize.net/gateway/transact.dll'; //comment for live trans
//$config['at_site'] = 'https://secure.authorize.net/gateway/transact.dll'; //uncomment for live trans
[/code]
Call it from you controller or wherever like this:
[code]
public function validate()
{
$this->load->library('my_payment');