<!DOCTYPE html>
<html>
<head>
    <title>Redirecting to CCAvenue...</title>
</head>
<body>
    <center>
        <form method="post" name="redirectForm" action="{{ config('payment.payurl') }}">
            <input type="hidden" name="encRequest" value="{{ $encRequest }}">
            <input type="hidden" name="access_code" value="{{ $accessCode }}">
            <input type="hidden" name="service_id" value="{{ $serviceId }}">
            <input type="hidden" name="id" value="{{ $id }}">
        </form>
        <p>Redirecting to payment gateway, please wait...</p>
    </center>

    <script type="text/javascript">
        document.redirectForm.submit();
    </script>
</body>
</html>
