<html> <body onload="byPassWebpay()"> <form id="frmPayment" method="POST" action="{{ $url_action }}" style="display: none;"> <input type="hidden" name="token_ws" value="{{ $token }}" /> </form> </body> <script> function byPassWebpay(){ document.getElementById('frmPayment').submit(); } </script> </html>