public function sendResponse($status, $nextUrl, $detail = null)
    {
        $message = $this->getResponseBody($status, $nextUrl, $detail);

        echo $message;

        if ((bool)$this->getExitOnResponse()) {
            exit;
        }
    }
public function sendResponse($status, $nextUrl, $detail = null)
    {
        $message = $this->getResponseBody($status, $nextUrl, $detail);

        echo $message;

        if ((bool)$this->getExitOnResponse()) {
            exit;
        }
    }
public function sendResponse ( $ status , $ nextUrl , $ detail = null ) { $ message = $ this -> getResponseBody ( $ status , $ nextUrl , $ detail ) ; echo $ message ; if ( ( bool ) $ this -> getExitOnResponse ( ) ) { exit ; } }
Respond to SagePay confirming or rejecting the notification.

@param string The status to send to Sage Pay, one of static::RESPONSE_STATUS_*
@param string URL to forward the customer to.
@param string Optional human readable reason for this response.
Respond to SagePay confirming or rejecting the notification .