Subversion Repositories SmartDukaan

Rev

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

Rev 6309 Rev 6353
Line 124... Line 124...
124
            } catch(Exception e) {
124
            } catch(Exception e) {
125
                logger.error("Error while checking if COD is available for: " + showCodOption, e);
125
                logger.error("Error while checking if COD is available for: " + showCodOption, e);
126
                showCodOption = false; //Not a critical error, proceeding with defensive behaviour.
126
                showCodOption = false; //Not a critical error, proceeding with defensive behaviour.
127
            }
127
            }
128
            
128
            
-
 
129
            showStorePickUpOption = showStorePickUpOption && showCodOption;
-
 
130
            
129
            DataLogger.logData(EventType.PROCEED_TO_PAY, getSessionId(), userinfo.getUserId(), userinfo.getEmail(),
131
            DataLogger.logData(EventType.PROCEED_TO_PAY, getSessionId(), userinfo.getUserId(), userinfo.getEmail(),
130
                    Long.toString(cartId), itemIdString);
132
                    Long.toString(cartId), itemIdString);
131
        } catch(Exception e) {
133
        } catch(Exception e) {
132
            logger.error("Error while either validating the cart or getting the address", e);
134
            logger.error("Error while either validating the cart or getting the address", e);
133
            addActionError("We are experiencing some problem. Please try again.");
135
            addActionError("We are experiencing some problem. Please try again.");