-
Notifications
You must be signed in to change notification settings - Fork 0
/
invoiceDemo.aspx
180 lines (176 loc) · 11.1 KB
/
invoiceDemo.aspx
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
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="invoiceDemo.aspx.cs" Inherits="invoiceDemo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Payline demo</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="text-align: center">
<h2 style="text-align: left">
<span style="color: #ff6600">
<asp:HyperLink ID="HyperLink2" runat="server" Font-Size="Medium" NavigateUrl="~/Index.aspx">Back to Index</asp:HyperLink></span><span
style="font-family: Arial"> </span></h2>
<h2>
<span style="color: #ff6600">
<asp:Image ID="Image1" runat="server" ImageUrl="~/logo.gif" /></span> </h2>
<h2>
<span style="color: #5f5f5f; font-family: Arial">Get web payment details</span></h2>
<span style="color: #ff6600"></span>
<hr style="font-family: Arial" />
<p>
<asp:Label ID="LabelError" runat="server" Font-Bold="True" ForeColor="Red" Text="Error"
Visible="False" Font-Names="Arial"></asp:Label><span style="font-family: Arial"> </span>
</p>
<p>
<span style="color: #ff6600">
<table style="width: 698px; text-align: center; font-family: Arial;">
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<strong><span style="color: #97cb00">Result</span></strong></td>
<td style="width: 638px; height: 21px"></td>
</tr>
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<span style="color: black">Code:</span></td>
<td style="width: 638px; height: 21px">
<asp:TextBox ID="TextBoxResultCode" runat="server" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<span style="color: #000000">Short message:</span></td>
<td style="width: 638px; height: 21px">
<asp:TextBox ID="TextBoxResultShortMessage" runat="server" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<span style="color: #000000">Long message:</span></td>
<td style="width: 638px; height: 21px">
<asp:TextBox ID="TextBoxResultLongMessage" runat="server" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
</table>
</span>
</p>
<p>
<span style="color: #5f5f5f"></span><strong></strong>
<hr style="font-family: Arial" />
</p>
<p>
<span style="font-weight: bold; font-family: Arial"> Returned results</span></STRONG></SPAN>
</p>
<p>
<span style="color: #ff6600">
<table style="width: 640px; text-align: center; font-family: Arial;">
<tr>
<td style="width: 369px; height: 21px; text-align: left">
<span style="color: #ff6600"><strong style="color: #97cb00; font-family: Arial">Transaction</strong></span></td>
<td style="width: 638px; height: 21px"></td>
</tr>
<tr>
<td style="width: 369px; text-align: left; color: black; font-family: Arial;">Date:
</td>
<td style="width: 638px">
<asp:TextBox ID="TextBoxDate" runat="server" ReadOnly="True" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 369px; text-align: left; color: black; font-family: Arial;">ID:
</td>
<td style="width: 638px">
<asp:TextBox ID="TextBoxTransactionID" runat="server" ReadOnly="True" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 369px; height: 21px"></td>
<td style="width: 638px; height: 21px"></td>
</tr>
<tr>
<td style="width: 369px; height: 21px; text-align: left">
<span style="color: #ff6600"><strong style="color: #97cb00; font-family: Arial">Payment</strong></span></td>
<td style="width: 638px; color: #000000; height: 21px"></td>
</tr>
<tr style="color: #000000">
<td style="width: 369px; color: black;">
<div id="result_box" dir="ltr" style="text-align: left; font-family: Arial;">
Amount :
</div>
</td>
<td style="width: 638px">
<asp:TextBox ID="TextBoxAmount" runat="server" ReadOnly="True" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 369px; text-align: left; color: black;">Currency :</td>
<td style="width: 638px; font-family: Times New Roman;">
<asp:TextBox ID="TextBoxCurrency" runat="server" ReadOnly="True" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 369px; height: 21px">
</td>
<td style="width: 638px; height: 21px">
</td>
</tr>
<tr>
<td style="width: 369px; height: 21px; text-align: left">
<span style="color: #ff6600"><strong style="color: #97cb00; font-family: Arial">Buyer</strong></span></td>
<td style="width: 638px; color: #000000; height: 21px">
</td>
</tr>
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<span style="color: #000000">CustomerId:</span></td>
<td style="width: 638px; height: 21px">
<asp:TextBox ID="TextBoxBuyerCustomerId" runat="server" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<span style="color: #000000">Mobile Phone:</span></td>
<td style="width: 638px; height: 21px">
<asp:TextBox ID="TextBoxBuyerMobilePhone" runat="server" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<span style="color: #000000">Email:</span></td>
<td style="width: 638px; height: 21px">
<asp:TextBox ID="TextBoxBuyerEmail" runat="server" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<span style="color: #000000">Legal Status:</span></td>
<td style="width: 638px; height: 21px">
<asp:TextBox ID="TextBoxBuyerLegalStatus" runat="server" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<span style="color: #000000">Legal Document:</span></td>
<td style="width: 638px; height: 21px">
<asp:TextBox ID="TextBoxBuyerLegalDocument" runat="server" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 435px; height: 21px; text-align: left">
<span style="color: #000000">Birth Date:</span></td>
<td style="width: 638px; height: 21px">
<asp:TextBox ID="TextBoxBuyerBirthDate" runat="server" Width="373px" Font-Names="Arial"></asp:TextBox></td>
</tr>
</table>
</span>
</p>
<hr style="font-family: Arial" />
<p>
<span style="color: #ff6600"></span>
</p>
<p>
<span style="color: #ff6600"><span style="color: #000000; font-family: Arial">Payment token : </span>
<asp:TextBox ID="TextBoxToken" runat="server" Font-Names="Arial"></asp:TextBox><span
style="font-family: Arial"> <span style="color: #000000">(Required)<br />
</span>
<br />
</span>
<asp:Button ID="ButtonGetPaymentDetails" runat="server" OnClick="ButtonDoPayment_Click"
Text="Get Web payment details" /><span style="font-family: Arial"> </span>
</span><span style="font-family: Arial"> </span>
</p>
</div>
</div>
</form>
</body>
</html>