index.phtml
429 Bytes
<html>
<head>
</head>
<body>
{{#reqPars}}
<form action="{{pay_url}}" method="post" id="payForm">
{{#each pars}}
<input type="hidden" name="{{@key}}" value="{{.}}"/>
{{/each}}
</form>
{{/reqPars}}
<script type="text/javascript">
document.getElementById('payForm').submit();
</script>
</body>
</html>