[go: up one dir, main page]

Skip to content

MahdiMajidzadeh/CodeIgniter-Mellat-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

CodeIgniter-Mellat-gateway

StyleCI

This library not maintained eny more

Codeigniter library for Iranian bank, Mellat.

how to install

Copy Mellat.php and nusoap directory to application/libraries of your own project.

how to use

First, load library:

$this->load->library('mellat');

second, set options:

$this->mellat->set_options(
    $terminal = '',
    $username = '',
    $password = '',
    $amount = 0,
    $order = 0,
    $callback = ''
    );

For send data to bank:

$refid = $this->mellat->call_bank();

send user to bank:

$this->mellat->redirect_to_bank($refid);

verify user payment:

$this->mellat->verify_payment($order, $refid)

Contributor

Releases

No releases published

Packages

No packages published

Languages