Knowledge Base
payment gateway indiapayment gateway
Login

Knowledge Base >> Transecute Merchants >> Integration Process

Search | |

Integration Kit

Depending upon the platform in which you are developing your website, download the appropriate Integration Kit:

ASP Integration Kit ver 2.0.zip (last updated on 13th October, 2006)
JSP Integration Kit ver 2.0.zip (last updated on 13th October, 2006)
PHP Integration Kit ver 2.0.zip (last updated on 13th October, 2006)

Upon extraction, check whether the following files are present:

ASP Integration Kit

functions.asp - functions necessary for calculating checksum
checkout.asp - sample code for your ASP checkout page
redirecturl.asp - sample code for your ASP redirect page

JSP Integration Kit

functions.class, functions.java - functions necessary for calculating checksum
checkout.jsp - sample code for your JSP checkout page
redirecturl.jsp - sample code for your JSP redirect page

PHP Integration Kit

functions.php3 - functions necessary for calculating checksum
checkout.php3 - sample code for your PHP checkout page
redirecturl.php3 - sample code for your PHP redirect page
 

IMPORTANT: Must Read for those UPGRADING from any older Kit version

If you have downloaded any of the Payment Gateway Kits prior to 13th October, 2006, then it is recommended that you upgrade to the latest version with MD5 Checksum Algorithm, by following the two step process listed below:-

Step 1: Upgrade your Payment Gateway Integration Kit

1. ASP Integration Kit: If you have already integrated this Kit with your website, then you need to simply download the ASP Integration Kit ver 2.0 and extract the functions.asp file. Then replace the old file that you have uploaded on your server with this new functions.asp file.

2. PHP Integration Kit: If you have already integrated this Kit with your website, then you need to simply download the PHP Integration Kit ver 2.0 and extract the functions.php3 file. Then replace the old file that you have uploaded on your server with this new functions.php3 file.

3. JSP Integration Kit: If you have already integrated this Kit with your website, then you need to download the JSP Integration Kit ver 2.0 and extract the functions.jsp file. Then upload this new functions.jsp file on your server and make the following modifications to your checkout.jsp and redirecturl.jsp.

A. Modifications to checkout.jsp

i. Replace the below code from your checkout.jsp -

<jsp:useBean id="transecute" class="transecute.functions" scope="session" />
Replace the above code in your checkout.jsp with -
<%@ include file="functions.jsp" %>

ii. Replace the below code from your checkout.jsp -

String checksum = transecute.getchecksum(toid,totype,amount,description ,redirecturl,key);

Replace the above code in your checkout.jsp with -

try
{
String checksum = getchecksum(toid,totype,amount,description ,redirecturl,key);
}
catch(Exception e)
{
System.out.println("Error : "+ e.getMessage);
}

B. Modifications to redirecturl.jsp

i. Replace the below code from your redirecturl.jsp -

<jsp:useBean id="transecute" class="transecute.functions" scope="session" />

Replace the above code in your redirecturl.jsp with -

<%@ include file="functions.jsp" %>

ii. Replace the below code from your redirecturl.jsp -

String str = transecute.verifychecksum(desc , amount , status , checksum , key);

Replace the above code in your redirecturl.jsp with -

try
{
String str = verifychecksum(desc , amount , status , checksum , key);
}
catch(Exception e)
{
System.out.println("Error : " + e.getMessage);
}

Step 2: Select the correct Checksum Algorithm within your Merchant Control Panel

1. Login into your Merchant Administration Login from https://secure.transecute.com/merchant

2. Go to Settings -> 3. Customise Transaction Pages

3. Select the Checksum Algorithm as MD5 and submit your changes by clicking on Save.
 


- by  Saurabh Pande
 
Rate this Answer
5

Overall Rating : 3.17 based on 6 votes

Created on:  
Oct 4, 2002 10:04 AM  GMT
Last Updated on:  Oct 13, 2006 3:21 PM  GMT
 
Answer Sign-up Process 
Answer Integration Kit 
Answer Transecute Architecture 
Answer Variables in any Transaction 
Answer Message Exchange 
Answer Steps for Integration 
Category Testing your Integration  (2)
Answer Switching System to LIVE Mode 
Category Customisation  (3)