-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (77 loc) · 3.25 KB
/
index.html
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Web Payment Test</title>
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h2>Web Payment Test</h2>
<p>This page is for testing web payment.</p>
<div id="inputSection">
<form class="form-horizontal">
<div class="form-group row">
<label class="control-label col-xs-3" for="amount">Amount:</label>
<div class="col-xs-9">
<input class="form-control" type="number" id="amount" value="10.01">
</div>
</div>
<div class="form-group row">
<label class="control-label col-xs-3" for="pa">Payee VPA (pa):</label>
<div class="col-xs-9">
<input class="form-control" type="text" id="pa" value="merchant3@icici">
</div>
</div>
<div class="form-group row">
<label class="control-label col-xs-3" for="pn">Payee Name (pn):</label>
<div class="col-xs-9">
<input class="form-control" type="text" id="pn" value="test merchant">
</div>
</div>
<div class="form-group row">
<label class="control-label col-xs-3" for="tn">Txn Note (tn):</label>
<div class="col-xs-9">
<input class="form-control" type="text" id="tn" value="test note">
</div>
</div>
<div class="form-group row">
<label class="control-label col-xs-3" for="mc">Merchant Code (mc):</label>
<div class="col-xs-9">
<input class="form-control" type="text" id="mc" value="1234">
</div>
</div>
<div class="form-group row">
<label class="control-label col-xs-3" for="tid">Txn ID (tid):</label>
<div class="col-xs-9">
<input class="form-control" type="text" id="tid" value="">
</div>
</div>
<div class="form-group row">
<label class="control-label col-xs-3" for="tr">Txn Ref ID (tr):</label>
<div class="col-xs-9">
<input class="form-control" type="text" id="tr" value="test reference id">
</div>
</div>
<div class="form-group row">
<label class="control-label col-xs-3" for="url">Ref URL (url):</label>
<div class="col-xs-9">
<input class="form-control" type="url" id="url" value="https://teztytreats.com/demo">
</div>
</div>
</form>
<div class="form-group row clearfix">
<div class="col-xs-12">
<button class="btn btn-info pull-right" onclick="onBuyClicked()">make pay</button>
</div>
</div>
</div>
<div id="outputSection" style="display:none">
<pre id="response"></pre>
</div>
</div>
<script src="demo.js"></script>
</body>
</html>