<form method="post" action="{{$formData['gateway']}}" class="redirect-form" name="redirectForm" role="form">
    @foreach ($formData['inputs'] as $key => $value)
        <input type="hidden" name="{{$key}}" value="{{$value}}">
    @endforeach
    <div style="text-align: center;position: relative;">
        <img style="position: absolute; top: 65%" src="/img/redirecting.gif" />
        <img src="/img/redirect-bank.png" />
    </div>
</form>
<script type="text/JavaScript">document.forms["redirectForm"].submit();</script>
