cms-token/@core/resources/views/frontend/payment/paytm.blade.php

27 lines
619 B
PHP

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{{get_static_option('site_'.get_user_lang().'_title')}} - {{get_static_option('site_'.get_user_lang().'_tag_line')}}</title>
</head>
<body>
<form action="{{ $paytm_txn_url }}" method="post" id="payment_form">
<?php
foreach($paramList as $name => $value) {
echo '<input type="hidden" name="' . $name .'" value="' . $value . '">';
}
?>
<input type="hidden" name="CHECKSUMHASH" value="<?php echo $checkSum ?>">
</form>
<script>
document.getElementById("payment_form").submit();
</script>
</body>
</html>