forked from segsalerty2013/opay-merchant-cashier-php
/
initialize.html
180 lines (177 loc) · 7.49 KB
/
initialize.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Initialize</title>
</head>
<link rel="stylesheet" href="style.css" type="text/css">
<script src="jquery.js"></script>
<body>
<div>
<div class="tabs">
<div class="tab-2">
<label for="tab2-1">Token</label>
<input id="tab2-1" name="tabs-two" type="radio"
value="http://localhost/opay-sdk-php/http_example/transaction/Transaction.php?action=token&type=init">
<div>
<form>
Amount:<br>
<input type="text" name="Amount" value="100">
<br>
CustomerPhone:<br>
<input type="text" name="Phone" value="+2348686868686">
<br>
Email:<br>
<input type="text" name="Email" value="abc@gmail.com">
<br>
Reason:<br>
<input type="text" name="Reason" value="transaction reason message">
<input type="hidden" name="type" value="token">
</form>
</div>
</div>
<div class="tab-2">
<label for="tab2-2">Bankcard</label>
<input id="tab2-2" name="tabs-two" type="radio" checked="checked"
value="http://localhost/opay-sdk-php/http_example/transaction/Transaction.php?action=bankcard&type=init">
<div>
<form>
Currency:<br>
<input type="text" name="Currency" value="USD">
<br>
Country:<br>
<input type="text" name="Country" value="USA">
<br>
Amount:<br>
<input type="text" name="Amount" value="100">
<br>
CardNumber:<br>
<input type="text" name="CardNumber" value="5061460410121111105">
<br>
CardDateMonth:<br>
<input type="text" name="CardDateMonth" value="12">
<br>
CardDateYear:<br>
<input type="text" name="CardDateYear" value="22">
<br>
CardCVC:<br>
<input type="text" name="CardCVC" value="561">
<br>
BankAccountNumber:<br>
<input type="text" name="BankAccountNumber" value="256620112018025">
<br>
BankCode:<br>
<input type="text" name="BankCode" value="057">
<br>
Reason:<br>
<input type="text" name="Reason" value="100">
<input type="hidden" name="type" value="bankcard">
</form>
</div>
</div>
<div class="tab-2">
<label for="tab2-3">Bankcard(USD)</label>
<input id="tab2-3" name="tabs-two" type="radio"
value="http://localhost/opay-sdk-php/http_example/transaction/Transaction.php?action=bankcard_usd&type=init">
<div>
<form>
Currency:<br>
<input type="text" name="Currency" value="USD">
<br>
Country:<br>
<input type="text" name="Country" value="USA">
<br>
Amount:<br>
<input type="text" name="Amount" value="100">
<br>
CardNumber:<br>
<input type="text" name="CardNumber" value="5061460410121111105">
<br>
CardDateMonth:<br>
<input type="text" name="CardDateMonth" value="12">
<br>
CardDateYear:<br>
<input type="text" name="CardDateYear" value="22">
<br>
CardCVC:<br>
<input type="text" name="CardCVC" value="561">
<br>
BankAccountNumber:<br>
<input type="text" name="BankAccountNumber" value="256620112018025">
<br>
BankCode:<br>
<input type="text" name="BankCode" value="057">
<br>
Reason:<br>
<input type="text" name="Reason" value="Reason">
<br>
Billing Zip code:<br>
<input type="text" name="BillingZip" value="Zip code or postal card registered with the card">
<br>
Billing City:<br>
<input type="text" name="BillingCity" value="The city registered with the card">
<br>
Billing Address:<br>
<input type="text" name="BillingAddress" value="The house/building address registered with the card">
<br>
Billing State:<br>
<input type="text" name="BillingState" value="The state registered with the card. e.g. NY for New York, CA for California, etc">
<br>
Billing Country:<br>
<input type="text" name="BillingCountry" value="The country registered with the card. e.g. US, CA, AU, etc">
<br>
<input type="hidden" name="type" value="bankcard">
</form>
</div>
</div>
<div class="tab-2">
<label for="tab2-4">Bankaccount</label>
<input id="tab2-4" name="tabs-two" type="radio"
value="http://localhost/opay-sdk-php/http_example/transaction/Transaction.php?action=bankaccount&type=init">
<div>
<form>
Amount:<br>
<input type="text" name="Amount" value="100">
<br>
CustomerPhone:<br>
<input type="text" name="CustomerPhone" value="+2348686868686">
<br>
Bvn:<br>
<input type="text" name="Bvn" value="1234567890">
<br>
DobDay:<br>
<input type="text" name="DobDay" value="20">
<br>
DobMonth:<br>
<input type="text" name="DobMonth" value="04">
<br>
DobYear:<br>
<input type="text" name="DobYear" value="2021">
<br>
BankAccountNumber:<br>
<input type="text" name="BankAccountNumber" value="22445566787">
<br>
BankCode:<br>
<input type="text" name="BankCode" value="057">
<br>
Reason:<br>
<input type="text" name="Reason" value="transaction reason message">
<input type="hidden" name="type" value="bankaccount">
</form>
</div>
</div>
</div>
<div style="margin-right: 10%;margin-top: -30%;float: right">
<button style="margin-left: 30%;width: 80px;height: 40px;text-align: center;font-size: 20px;" id="submit">submit
</button>
</div>
</div>
<script>
$(function () {
$('#submit').click(function () {
window.location.href = $("input[type='radio']:checked").val();
});
});
</script>
</body>
</html>