Skip to content

dawondyifraw/codeigniter-authorize.net-aim-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codeigniter Authorize.NET AIM Integration

A quick way to add Authorize.NET AIM integration with just 3 lines of code.

Requires Philip Sturgeon's cURL lib (included).

Installation

  1. Copy the /config/authorize_net.php file into your application's config/ folder and make sure to change the values!
  2. Copy /libraries/Authorize_net.php and /libraries/Curl.php into your application's libraries/ folder.

Usage

You can do an authorize and capture on a card in just three lines from your controller:

$this->load->library('authorize_net');
$this->authorize_net->setData($credit_card_data);
$this->authorize_net->authorizeAndCapture();

For a full example with more values and error handling, check out /controllers/example.php

Enjoy! SammyK

About

Library for Authorize.NET AIM API integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%