Files
kulakpos_web/public/restaurant/Modules/Gateways/resources/views/payment/paytm.blade.php

29 lines
838 B
PHP
Raw Normal View History

2026-03-15 17:08:23 +07:00
@extends('payment.layouts.master')
@push('script')
@endpush
@section('content')
<center>
<div class="loader"></div>
</center>
<form method="post" action="<?php echo \Illuminate\Support\Facades\Config::get('paytm_config.PAYTM_TXN_URL'); ?>" id="form">
<table border="1">
<tbody>
@foreach ($paramList as $name => $value)
<input type="hidden" name="{{ $name }}" value="{{ $value }}">
@endforeach
<input type="hidden" name="CHECKSUMHASH" value="{{ $checkSum }}">
</tbody>
</table>
</form>
<script type="text/javascript">
"use strict";
document.addEventListener("DOMContentLoaded", function() {
document.getElementById("form").submit();
});
</script>
@endsection