Hi

I have been working on a VPOS module for a Turkish bank I have managed to write all code but I don't know how to redirect user to error page if his/her credit card is denied. Here is a part of my code
PHP Code:
function after_process() {
...
if(
$ret->Msg->Kod == "00"){
        return 
true;
    }else {
        return 
false;
    } 
...

Thanks in advance