Subversion Repositories SmartDukaan

Rev

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

Rev 13505 Rev 13521
Line 138... Line 138...
138
    	 
138
    	 
139
    	long currentCartId = userinfo.getCartId();
139
    	long currentCartId = userinfo.getCartId();
140
    	long currentUserId = userinfo.getUserId();
140
    	long currentUserId = userinfo.getUserId();
141
    	
141
    	
142
    	if(paymentOption.equals(IPaymentService.COD)){
142
    	if(paymentOption.equals(IPaymentService.COD)){
143
    	    if(!verifyCaptcha()){
143
    	    if(!userinfo.isPrivateDealUser() && !verifyCaptcha()){
144
    	        addActionError("Invalid captcha");
144
    	        addActionError("Invalid captcha");
145
    	        log.info("Invalid captcha error msg has been added");
145
    	        log.info("Invalid captcha error msg has been added");
146
    	        return "proceed-to-pay-redirect";    
146
    	        return "proceed-to-pay-redirect";    
147
    	    }
147
    	    }
148
    	    
148
    	    
Line 163... Line 163...
163
                return "proceed-to-pay-redirect";
163
                return "proceed-to-pay-redirect";
164
            }
164
            }
165
    	}
165
    	}
166
    	
166
    	
167
    	if(paymentOption.equals(IPaymentService.COUPON)) {
167
    	if(paymentOption.equals(IPaymentService.COUPON)) {
168
    	    if(!verifyCaptcha()){
168
    		if(!userinfo.isPrivateDealUser() && !verifyCaptcha()){
169
                addActionError("Invalid captcha");
169
                addActionError("Invalid captcha");
170
                log.info("Invalid captcha error msg has been added");
170
                log.info("Invalid captcha error msg has been added");
171
                return "proceed-to-pay-redirect";    
171
                return "proceed-to-pay-redirect";    
172
            }
172
            }
173
	    	UserClient userServiceClient = null;
173
	    	UserClient userServiceClient = null;