Subversion Repositories SmartDukaan

Rev

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

Rev 762 Rev 829
Line 277... Line 277...
277
			if(pipe.performPaymentInitialization() != e24PaymentPipe.SUCCESS) 
277
			if(pipe.performPaymentInitialization() != e24PaymentPipe.SUCCESS) 
278
				{
278
				{
279
					System.out.println("Error sending Payment Initialization Request: ");
279
					System.out.println("Error sending Payment Initialization Request: ");
280
					paymentServiceClient.getClient().updatePaymentDetails(Long.parseLong(merchantPaymentId), null, "", "", pipe.getErrorMsg(), "", "", "", "", PaymentStatus.INIT, attributes);
280
					paymentServiceClient.getClient().updatePaymentDetails(Long.parseLong(merchantPaymentId), null, "", "", pipe.getErrorMsg(), "", "", "", "", PaymentStatus.INIT, attributes);
281
					response.sendRedirect(response.encodeRedirectURL( errorURL + "?ErrorText="+pipe.getErrorMsg()+"&paymentId="+merchantPaymentId));
281
					response.sendRedirect(response.encodeRedirectURL( errorURL + "?ErrorText="+pipe.getErrorMsg()+"&paymentId="+merchantPaymentId));
282
					redirectURL = errorURL + "?ErrorText="+pipe.getErrorMsg();
282
					redirectURL = errorURL + "?paymentId="+merchantPaymentId + "&ErrorText="+pipe.getErrorMsg();
283
					response.setHeader("Location", redirectURL);
283
					response.setHeader("Location", redirectURL);
284
					response.setStatus(HttpServletResponse.SC_FOUND);
284
					response.setStatus(HttpServletResponse.SC_FOUND);
285
				}
285
				}
286
			else
286
			else
287
				{
287
				{