-
Notifications
You must be signed in to change notification settings - Fork 2
/
refund.php
76 lines (68 loc) · 2.93 KB
/
refund.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
date_default_timezone_set('Asia/Calcutta');
$strCurDate = date('d-m-Y');
if( isset($_SERVER['HTTPS'] ) ) {
$host ='https';
}else{
$host = 'http';
}
?>
<html>
<head>
<title>Refund Process</title>
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1" />
<link rel="stylesheet" href="<?php echo $host."://".$_SERVER["HTTP_HOST"].'/php-checkoutjs/assets/css/bootstrap.min.css';?>">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $host."://".$_SERVER["HTTP_HOST"].'/php-checkoutjs/assets/js/bootstrap.min.js';?>"></script>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>Refund Process :</h2>
<!-- <?php if(isset($_GET['message']) && $_GET['message'] == 'success') { ?>
<div class="alert alert-success">
<strong>Admin Details updated successfully !!</strong>
</div>
<?php } ?> -->
<form method="POST" id="myform" action="refund_request.php">
<table class="table table-bordered table-hover">
<tr class="info">
<th width="40%">Field Name</th>
<th width="60%">Value</th>
</tr>
<tr>
<td><label>Transaction Identifier (Token) <span style="color:red;">*</span></label></td>
<td><input class="form-control" type="text" name="transactionIdentifier" value=""/></td>
</tr>
<tr>
<td><label>Amount <span style="color:red;">*</span></label></td>
<td><input class="form-control" type="number" name="amount" value=""/></td>
</tr>
<tr>
<td><label>Transaction Date <span style="color:red;">*</span></label></td>
<td><input class="form-control" type="date" name="transactionDate" value=""/></td>
</tr>
<tr>
<td colspan=2>
<input class="btn btn-info" type="submit" name="submit" value="Submit" />
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<!-- <?php if(isset($encrypt)){ ?>
<div class="container">
<div class="row">
<div class="col-md-12">
<table class="table table-bordered table-hover">
<?php echo "<pre>";print_r($encrypt);die(); ?>
</table>
</div>
</div>
</div>
<?php } ?> -->
</body>
</html>