public function getRedirectResponse()
    {
        $output = <<<ENDHTML
<!DOCTYPE html>
<html>
    <head>
        <title>Redirecting...</title>
        <meta http-equiv="refresh" content="0;url=%1\$s" />
    </head>
    <body>
        <p>Redirecting to <a href="%1\$s">payment complete page</a>...</p>
        <script type="text/javascript" charset="utf-8">
            window.location="%1\$s";
        </script>
    </body>
</html>
ENDHTML;

        $output = sprintf(
            $output,
            htmlentities($this->getRedirectUrl(), ENT_QUOTES, 'UTF-8', false)
        );

        return HttpResponse::create($output);
    }