Instamojo Payment gateway library for Codeigniter ( Tested with 2.x ).
This library helps you to do easily integrate Instamojo payment gateway and your Application through simple methods.
-
Activate database support by setting
$config['mojo_db'] = true ;
onconfig/instamojo.php
-
Set table name on
$config['mojo_table'] = 'table_name' ;
-
That's it !
Read more on config/instamojo.php
Copy the three folders into application directory
Edit config/instamojo.php with your credentials
Initializing instamojo library
$this->load->library('instamojo');
Fetching all the payment request details.
$result = $this->instamojo->all_payment_request();
print_r($result);
NB: Please go through controller/example.php to try basic checkout
Note to contributers: The refund API from Instamojo is not implemented, welcoming your proposals.