⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
AliPay
All Projects
Payment Gateway
»
AliPay
Overview
Activity
Issues
Spent time
Gantt
Calendar
News
Documents
Wiki
Files
Download (1.19 KB)
Files
» alipayProcesses.jsp
response -
Soh Keong
, 09/15/2004 08:11 AM
<%@ page
language=
"java"
pageEncoding=
"UTF-8"
contentType=
"text/html; charset=UTF-8"
import=
"com.ecosway.testpage.conn.ConnUtil,
com.ecosway.alipay.model.ResponseAlipay,
com.ecosway.alipay.service.AlipayService,
com.ecosway.alipay.service.AlipayServiceImpl"
%>
<%!
private
static
final
String
CURRENT_PAGE
=
"alipayProcesses.jsp"
;
%>
<%
try
{
AlipayService
service
=
new
AlipayServiceImpl
();
ResponseAlipay
res
=
service
.
updateTransaction
(
ConnUtil
.
getConn
(),
request
);
%>
<div
align=
"center"
>
<h1>
ALIPAY Response
</h1>
<table
align=
"center"
border=
"1"
>
<tr>
<td>
OrderID :
</td>
<td><%=
res
.
getAOrderID
()
%></td>
</tr>
<tr>
<td>
Amount :
</td>
<td><%=
res
.
getAAmount
()
%></td>
</tr>
<tr>
<td>
Valid :
</td>
<td><%=
res
.
getAValid
()
%></td>
</tr>
<tr>
<td>
TransactionNo :
</td>
<td><%=
res
.
getATransactionNo
()
%></td>
</tr>
<tr>
<td>
TransactionStatus :
</td>
<td><%=
res
.
getATransactionStatus
()
%></td>
</tr>
<tr>
<td>
PayDate :
</td>
<td><%=
res
.
getAPayDate
()
%></td>
</tr>
</table>
</form>
</div>
<%
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
CURRENT_PAGE
+
" - "
+
e
.
getMessage
());
}
finally
{
ConnUtil
.
closeConnection
();
}
out
.
println
(
"success"
);
%>
« Previous
1
2
3
4
5
Next »
(2-2/5)
Loading...