migrate to gtea from bistbucket
This commit is contained in:
28
public/restaurant/resources/views/payment/paytm.blade.php
Normal file
28
public/restaurant/resources/views/payment/paytm.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user