Project

General

Profile

Files » unionPay.jsp

Soh Keong, 11/27/2020 12:16 PM

 
<%@ page language="java" pageEncoding="UTF-8"
contentType="text/html; charset=UTF-8"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<form id="pay_form" action="<%=request.getParameter("url")%>" method="post">
<input type="hidden" name="currencyCode" id="currencyCode" value="<%=request.getParameter("currencyCode")%>" />
<input type="hidden" name="merId" id="merId" value="<%=request.getParameter("merId")%>" />
<input type="hidden" name="backUrl" id="backUrl" value="<%=request.getParameter("backUrl")%>" />
<input type="hidden" name="version" id="version" value="<%=request.getParameter("version") %>" />
<input type="hidden" name="signMethod" id="signMethod" value="<%=request.getParameter("signMethod") %>" />
<input type="hidden" name="encoding" id="encoding" value="<%=request.getParameter("encoding") %>" />
<input type="hidden" name="signature" id="signature" value="<%=java.net.URLDecoder.decode(request.getParameter("signature"),"UTF-8").replace(" ", "+") %>" />
<input type="hidden" name="txnAmt" id="txnAmt" value="<%=request.getParameter("txnAmt") %>" />
<input type="hidden" name="certId" id="certId" value="<%=request.getParameter("certId") %>" />
<input type="hidden" name="txnType" id="txnType" value="<%=request.getParameter("txnType") %>" />
<input type="hidden" name="channelType" id="channelType" value="<%=request.getParameter("channelType") %>" />
<input type="hidden" name="orderId" id="orderId" value="<%=request.getParameter("orderId") %>" />
<input type="hidden" name="txnSubType" id="txnSubType" value="<%=request.getParameter("txnSubType") %>" />
<input type="hidden" name="frontUrl" id="frontUrl" value="<%=request.getParameter("frontUrl") %>" />
<input type="hidden" name="bizType" id="bizType" value="<%=request.getParameter("bizType") %>" />
<input type="hidden" name="txnTime" id="txnTime" value="<%=request.getParameter("txnTime") %>" />
<input type="hidden" name="accessType" id="accessType" value="<%=request.getParameter("accessType") %>" />
</form>
</body>

<script type="text/javascript">
document.all.pay_form.submit();
</script>
</html>

https://101.231.204.80:5000/gateway/api/frontTransReq.do?currencyCode=156&merId=777290058110048&backUrl=http://202.129.164.50/vmstorecn/vm/ProductProcessCreditCardPaymentUnionpay_vm.jsp&version=5.0.0&signMethod=01&encoding=UTF-8&txnAmt=4900&certId=68759663125&txnType=01&channelType=07&orderId=100062139VM&txnSubType=01&frontUrl=http://202.129.164.50/vmstorecn/vm/ProductProcessCreditCardPaymentUnionpay_vm.jsp?allowRedirect=Y&bizType=000201&txnTime=20170802174004&accessType=0



&signature=O0F1SiIevBQGJMYRfb3mdG/qcHwJE0p3+VGtbyCbxhrZBRFJH47Lj2Vrjd7Qy0eUp/eljQIp9XgxfgFisEgAw/+8Gj4kjP502Puy6TmDDX76kyFJkQHdi05I3xAsOaQS4Ceds0U2cZXe+IOKy9JJmpJ7eWPPGNKPgjDpylFWeIG6QRhfUlfHJDm1aBNq2QaKmJvjI2vajYAPGXaSzwV5ie2CS/w/UTfJ9eHGlX4++z1kZqfGPczyZsCefKEZKVYpayXwpwdNvGxiT2w2fWU0PE1dlXtIQpMzmF22ZLnYibOTktOW6gdU2nVHgx8tLCbB+y3lGMjbFlzFoJoHDza/CA==
(2-2/3)