Subversion Repositories SmartDukaan

Rev

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

Rev 20278 Rev 22520
Line 459... Line 459...
459
            try {
459
            try {
460
                firstSrcTime = Long.parseLong(getCookie(TrackingInterceptor.SRC_TIME_COOKIE, false, null));
460
                firstSrcTime = Long.parseLong(getCookie(TrackingInterceptor.SRC_TIME_COOKIE, false, null));
461
            } catch (Exception e) {
461
            } catch (Exception e) {
462
                log.warn("Unable to parse session src time cookie.", e);
462
                log.warn("Unable to parse session src time cookie.", e);
463
            }
463
            }
464
            txnId = userClient.createOrders(currentCartId, sessionSrc, sessionTime, firstSrc, firstSrcTime, currentUserId, emiSchemeId, OrderSource.WEBSITE.getValue());
464
            txnId = userClient.createOrders(currentCartId, sessionSrc, sessionTime, firstSrc, firstSrcTime, currentUserId, emiSchemeId, OrderSource.WEBSITE.getValue(), false);
465
		} catch (ShoppingCartException e1) {
465
		} catch (ShoppingCartException e1) {
466
			log.error("Error while creating orders from cart.", e1);
466
			log.error("Error while creating orders from cart.", e1);
467
			return false;
467
			return false;
468
		} catch (TException e) {
468
		} catch (TException e) {
469
			log.error("Thrift exception while creating orders from cart.", e);
469
			log.error("Thrift exception while creating orders from cart.", e);