Subversion Repositories SmartDukaan

Rev

Rev 424 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 424 Rev 517
Line 129... Line 129...
129
		} catch (ConfigException e1) {
129
		} catch (ConfigException e1) {
130
			// TODO Auto-generated catch block
130
			// TODO Auto-generated catch block
131
			resourceFilePath = "/home/rajveer/shop2020/payments/resource/";
131
			resourceFilePath = "/home/rajveer/shop2020/payments/resource/";
132
			aliasName = "90001194";
132
			aliasName = "90001194";
133
			
133
			
134
			responseURL = "http://74.207.249.10:8080/JSP-Pages/HRedirect.jsp";
134
			responseURL = "http://74.207.248.175:8080/JSP-Pages/HRedirect.jsp";
135
			errorURL = "http://74.207.249.10:8080/JSP-Pages/HError.jsp";
135
			errorURL = "http://74.207.248.175:8080/JSP-Pages/HError.jsp";
136
//			responseURL = "http://securemtp.fssnet.co.in/MerchantDemo/viren/TESTTEST/HRedirect.jsp";
136
//			responseURL = "http://securemtp.fssnet.co.in/MerchantDemo/viren/TESTTEST/HRedirect.jsp";
137
//			errorURL = "http://securemtp.fssnet.co.in/MerchantDemo/viren/TESTTEST/HError.jsp";
137
//			errorURL = "http://securemtp.fssnet.co.in/MerchantDemo/viren/TESTTEST/HError.jsp";
138
			e1.printStackTrace();
138
			e1.printStackTrace();
139
		}
139
		}
140
		
140
		
Line 184... Line 184...
184
//		UDF 1 - Order details
184
//		UDF 1 - Order details
185
//		UDF 2 - Email ID
185
//		UDF 2 - Email ID
186
//		UDF 3 - Contact Number. 
186
//		UDF 3 - Contact Number. 
187
//		UDF 4 - Billing Address
187
//		UDF 4 - Billing Address
188
//		UDF 5 - Merchant specific
188
//		UDF 5 - Merchant specific
189
		
189
		/*
190
		pipe.setUdf1(orderDetails);
190
		pipe.setUdf1(orderDetails);
191
		pipe.setUdf2(email);
191
		pipe.setUdf2(email);
192
		pipe.setUdf3(contactNumber);
192
		pipe.setUdf3(contactNumber);
193
		pipe.setUdf4(billingAddress);
193
		pipe.setUdf4(billingAddress);
194
        pipe.setUdf5(merchantInfo);
194
        pipe.setUdf5(merchantInfo);
-
 
195
		 */
195
 
196
		
196
		try {
197
		try {
197
			if(pipe.performPaymentInitialization() != e24PaymentPipe.SUCCESS) 
198
			if(pipe.performPaymentInitialization() != e24PaymentPipe.SUCCESS) 
198
				{
199
				{
199
					System.out.println("Error sending Payment Initialization Request: ");
200
					System.out.println("Error sending Payment Initialization Request: ");
200
					response.sendRedirect(response.encodeRedirectURL( errorURL + "?ErrorText="+pipe.getErrorMsg()));
201
					response.sendRedirect(response.encodeRedirectURL( errorURL + "?ErrorText="+pipe.getErrorMsg()));