public function redirect()
    {
        $this->execute();
        
        if ($this->gatewayUrl) {
            $code = 302;
            $message = $code . " Found";
            
            header("HTTP/1.1 " . $message, true, $code);
            header("Status: " . $message, true, $code);
            header("Location: {$this->gatewayUrl}");
            exit;
        }
    }