_CI = & get_instance(); $this->api_config = $this->_CI->paymentsetting_model->getActiveMethod(); $this->currency = $this->_CI->setting_model->getCurrency(); } function create_payment($data){ return $data; } }