fix
This commit is contained in:
@@ -71,9 +71,13 @@ class Paymnt extends Users_Controller {
|
||||
|
||||
if ($res == PHP_API_OK) {
|
||||
// we are good
|
||||
$this->session->set_flashdata('in',1);
|
||||
redirect("paymnt/cardreciepts");
|
||||
|
||||
} else {
|
||||
|
||||
// we still have error
|
||||
$this->session->set_flashdata('in',1);
|
||||
redirect("paymnt/cardreciepts");
|
||||
}
|
||||
|
||||
} // no error(s) from card test PHP model
|
||||
@@ -88,4 +92,11 @@ class Paymnt extends Users_Controller {
|
||||
return $this->paymus();
|
||||
}
|
||||
}
|
||||
|
||||
public function cardreciepts(){
|
||||
echo "ameye olu";
|
||||
$data = array();
|
||||
|
||||
$this->RenderUserPage('users/view_payreciepts', $data); // return back to card page
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user