Subversion Repositories SmartDukaan

Rev

Rev 2263 | Rev 2511 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2263 Rev 2419
Line 46... Line 46...
46
	
46
	
47
	public String index() throws IOException, SecurityException, PaymentException, TException, TransactionServiceException{
47
	public String index() throws IOException, SecurityException, PaymentException, TException, TransactionServiceException{
48
		this.message = "Payment failed at the payment gateway. Please pay again.";
48
		this.message = "Payment failed at the payment gateway. Please pay again.";
49
		
49
		
50
    	merchantPaymentId = Long.parseLong(this.request.getParameter("paymentId"));
50
    	merchantPaymentId = Long.parseLong(this.request.getParameter("paymentId"));
51
    	DataLogger.logData(EventType.PAYMENT_FAILURE.name(), session.getId(), Long.toString(userinfo.getUserId()), userinfo.getEmail(),  Long.toString(merchantPaymentId));
51
    	DataLogger.logData(EventType.PAYMENT_FAILURE, session.getId(), userinfo.getUserId(), userinfo.getEmail(),  Long.toString(merchantPaymentId));
52
    	return "index";
52
    	return "index";
53
	}
53
	}
54
	
54
	
55
	
55
	
56
	public String getMessage(){
56
	public String getMessage(){