forked from MercuryPay/WebServices.PHP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·152 lines (135 loc) · 5.12 KB
/
index.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
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
<html>
<head>
<title>MercuryGift Web Services Sample</title>
</head>
<body>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="1">
<!-- Credit Transactions -->
<tr>
<td>
<form name="form1" method="post" action="ProcessTransaction.php">
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td width="100%" colspan="4"><h2>Credit Transactions</h2></td>
</tr>
<tr>
<td width="15%">MerchantID:</td>
<td width="30%"><input name="MerchantID" type="text" id="MerchantID" size="50" value="023358150511666"></td>
<td width="15%">Password:</td>
<td width="30%"><input name="Password" type="text" id="Password" size="50" value="xyz"></td>
</tr>
<tr>
<td width="15%">TranType:</td>
<td width="30%"><input name="TranType" type="text" id="TranType" size="50" value="Credit"></td>
<td width="15%">TranCode:</td>
<td width="30%">
<select name="TranCode" id="TranCode">
<option>Sale</option>
<option>Return</option>
</select>
</td>
</tr>
<tr>
<td width="15%">InvoiceNo:</td>
<td width="30%"><input name="InvoiceNo" type="text" id="InvoiceNo" size="50" value="12345"></td>
<td width="15%">RefNo:</td>
<td width="30%"><input name="RefNo" type="text" id="RefNo" size="50" value="12345"></td>
</tr>
<tr>
<td width="15%">AcctNo:</td>
<td width="30%"><input name="AcctNo" type="text" id="AcctNo" size="50" value="5499990123456781"></td>
<td width="15%">ExpDate:</td>
<td width="30%"><input name="ExpDate" type="text" id="ExpDate" size="50" value="1215"></td>
</tr>
<tr>
<td width="15%">Purchase:</td>
<td width="30%"><input name="Purchase" type="text" id="Purchase" size="50" value="2.25"></td>
<td width="15%">Memo:</td>
<td width="30%"><input name="Memo" type="text" id="Memo" size="50" value="Testing WebServices PHP"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="Submit" value="Submit"> <input type="reset" name="reset" value="Reset"></td>
<td> </td>
<td> </td>
</table>
</form>
</td>
</tr>
<!-- Gift Transactions -->
<tr>
<td>
<form name="form2" method="post" action="ProcessTransaction.php">
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td width="100%" colspan="4"><h2>Gift Transactions</h2></td>
</tr>
<tr>
<td width="15%">MerchantID:</td>
<td width="30%"><input name="MerchantID" type="text" id="MerchantID" size="50" value="023358150511666"></td>
<td width="15%">Password:</td>
<td width="30%"><input name="Password" type="text" id="Password" size="50" value="xyz"></td>
</tr>
<tr>
<td width="15%">TranType:</td>
<td width="30%"><input name="TranType" type="text" id="TranType" size="50" value="PrePaid"></td>
<td width="15%">TranCode:</td>
<td width="30%">
<select name="TranCode" id="TranCode">
<option>Balance</option>
<option>Sale</option>
<option>Reload</option>
<option>Issue</option>
</select>
</td>
</tr>
<tr>
<td width="15%">InvoiceNo:</td>
<td width="30%"><input name="InvoiceNo" type="text" id="InvoiceNo" size="50" value="12345"></td>
<td width="15%">RefNo:</td>
<td width="30%"><input name="RefNo" type="text" id="RefNo" size="50" value="12345"></td>
</tr>
<tr>
<td width="15%">AcctNo:</td>
<td width="30%"><input name="AcctNo" type="text" id="AcctNo" size="50" value="6050110010021824998"></td>
<td width="15%">Memo:</td>
<td width="30%"><input name="Memo" type="text" id="Memo" size="50" value="Testing WebServices PHP"></td>
</tr>
<tr>
<td width="15%">Purchase:</td>
<td width="30%"><input name="Purchase" type="text" id="Purchase" size="50" value="2.25"></td>
<td width="15%"> </td>
<td width="30%"> </td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="Submit" value="Submit"> <input type="reset" name="reset" value="Reset"></td>
<td> </td>
<td> </td>
</table>
</form>
</td>
</tr>
<!-- Close Batch -->
<tr>
<td>
<form name="form3" method="post" action="CloseBatch.php">
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td width="100%" colspan="4"><h2>Close Batch</h2></td>
</tr>
<tr>
<td width="15%">MerchantID:</td>
<td width="30%"><input name="MerchantID" type="text" id="MerchantID" size="50" value="023358150511666"></td>
<td width="15%">Password:</td>
<td width="30%"><input name="Password" type="text" id="Password" size="50" value="xyz"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="Submit" value="Close Batch"></td>
<td> </td>
<td> </td>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>