Virtual Mrchant API integration using php in CodeIgniter(CI). Here a separate lib has been created to have all the transaction controll