Skip to content
Derek Jones edited this page Jul 5, 2012 · 5 revisions

Category:Libraries::External

Authorize.net provides multiple services and APIs to integrate with your systems. One of those is CIM ( Customer Information Manager ). This service allows a system to store ID's related to a customer and charge credit cards related to those ID's without having to store sensitive data on their own systems.

Using this CI library you can begin to integrate CIM into your site.

To get started you will need to add some variable to your config file. At the bottom of your config, add the following:

/*
Authorize.net CIM Credentials and Info
-------------------------------------------------------------------------
*/
$config['authorize_cim_in_test_mode'] = "1";

$config['authorize_cim_login_name'] = ""; $config['authorize_cim_transaction_key'] = ""; $config['authorize_cim_api_host'] = "api.authorize.net"; $config['authorize_cim_api_path'] = "/xml/v1/request.api";

$config['authorize_cim_test_login_name'] = ""; $config['authorize_cim_test_transaction_key'] = ""; $config['authorize_cim_test_api_host'] = "apitest.authorize.net"; $config['authorize_cim_test_api_path'] = "/xml/v1/request.api";

/*

*/

As you can see from the authorize_cim_in_test_mode variable, you can easily switch between test and production mode.

The library will be uploaded once the wiki stops telling me that my zip has an invalid mime type.

Clone this wiki locally