CodeIgniter Implementation for Authorize.NET Payment Gateway - Code from 2011