Professional Documents
Culture Documents
https://viewer.zoho.com/gettempcontent.do?genurl=eb1...
Business Solutions
Type 1:
The purpose of this document is give the sub merchant the technical aspects about integration with Payment Gateway.
The Sub merchant should congure the front end the same way described below.
All the requests from the sub merchant to Payment Gateway should hit the URL
https://www.tpsl-india.in/PaymentGateway/CheckGatewayEnter.jsp
Description Sr. No 1 2 3 4 5 Parameter Name SRCSITEID CRN AMT ITC PRN Sub merchant Id generated by TPSL to identify a sub merchant in TPSL database. Currency Used (by default INR) Sub merchant Transaction Amount. Extra information/parameters required by sub merchant can be passed in ITC parameter. Payment Reference number (Unique transaction Id generated by Sub merchant for every single transaction)
The sub merchant is not appreciated to send more than these ve parameters specied above.
The SRCSITEID will be given by TPSL for each sub merchant. If the sub merchants want to pass any extra parameters can be passed to TPSL by concatenating them as a single parameter and pass it in ITC parameter. The sub merchant is restricted to use the following symbols for concatenating the extra parameters
1 of 4
https://viewer.zoho.com/gettempcontent.do?genurl=eb1...
Accepted Symbols
> (greater than) < (less than) ^ (raise to) $ (dollar) # (hash) _ (underscore) , (coma) ! (Exclamation) : (Colon) These variables can be passed through hidden variables or using query String. Hidden variable are most appreciable since that is more secure than query string.
The requests from valid sub merchants and urls are entertained.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
String SRCSITEID="T300"; String CRN="INR"; String AMT="1"; String ITC="Item_code"; String PRN="12345";
2 of 4
https://viewer.zoho.com/gettempcontent.do?genurl=eb1...
%> <BODY> <FORM name="frm" action="https://www.tpsl-india.in/PaymentGateway/CheckGatewayEnter.jsp" method="POST"> <table align="Left"> <tr> <TD colspan="3" VALIGN="TOP" ALIGN="center" class="error"> <font><b><input type="hidden" name="SRCSITEID" value="<%=SRCSITEID%>"> </b></font></td> <TD colspan="3" VALIGN="TOP" ALIGN="center" class="error"> <font><b><input type="hidden" name="CRN" value="<%=CRN%>"> </b></font></td> <TD colspan="3" VALIGN="TOP" ALIGN="center" class="error"> <font><b><input type="hidden" name="AMT" value="<%=AMT%>"> </b></font></td> <TD colspan="3" VALIGN="TOP" ALIGN="center" class="error"> <font><b><input type="hidden" name="ITC" value="<%=ITC%>"> </b></font></td> <TD colspan="3" VALIGN="TOP" ALIGN="center" class="error"> <font><b><input type="hidden" name="PRN" value="<%=PRN%>"> </b></font></td> <TD colspan="3" VALIGN="TOP" ALIGN="center" class="error"> </td> </tr> </table> </form> </BODY> </HTML>
<%
if(request.getParameter("btn_pay") !=null) {
response.sendRedirect("https://www.tpsl-india.in/PaymentGateway/CheckGatewayEnter.jsp?SRCSITEID=T300& CRN=INR&AMT=1&ITC=Item_Code&PRN=78688");
%> <html> <body> <form name="form1" method="post" action="Same.jsp"> <input type="submit" name="btn_pay" value="OK" >
3 of 4
https://viewer.zoho.com/gettempcontent.do?genurl=eb1...
After the request send to the TPSL the sub merchant is updated with the below parameters
Description Sr. No 1 2 CRN PRN Parameter Name Currency Used (by default INR) Payment Reference number (Unique transaction Id generated by Sub merchant for every single transaction) Extra information/parameters required by sub merchant can be passed in ITC parameter. Sub merchant Transaction Amount. Bank Name, is the bank selected by the customer in TPSL site. (Y/N) Y indicates Success Transaction and N indicate Failed transaction. TPSL Transaction Id (Payment Reference Number in the TPSL Side)
3 4 5 6 7
These parameters are send to the return url specied by the sub merchant. The Sub merchant has to congure the page to get these parameters.
4 of 4