Subversion Repositories SmartDukaan

Rev

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

Rev 8961 Rev 8962
Line 80... Line 80...
80
 
80
 
81
public class FlipkartDashboardController extends ValidationAwareSupport implements ServletRequestAware ,ServletResponseAware, ServletContextAware{
81
public class FlipkartDashboardController extends ValidationAwareSupport implements ServletRequestAware ,ServletResponseAware, ServletContextAware{
82
	private static Logger logger = LoggerFactory.getLogger(FlipkartDashboardController.class);
82
	private static Logger logger = LoggerFactory.getLogger(FlipkartDashboardController.class);
83
	private static final int FLIPKART_SOURCE_ID = 8;
83
	private static final int FLIPKART_SOURCE_ID = 8;
84
	private static final int FLIPKART_GATEWAY_ID = 18;
84
	private static final int FLIPKART_GATEWAY_ID = 18;
-
 
85
	private static final int FLIPKART_LOGISTICS_ID = 19;
85
	private HttpServletRequest request;
86
	private HttpServletRequest request;
86
	private HttpServletResponse response;
87
	private HttpServletResponse response;
87
	private HttpSession session;
88
	private HttpSession session;
88
	private ServletContext context;
89
	private ServletContext context;
89
	private String url;
90
	private String url;
Line 446... Line 447...
446
					} catch (CatalogServiceException e) {
447
					} catch (CatalogServiceException e) {
447
						logger.error("Exception with Catalog Service for   " + orderId + " " + subOrderId + " while getting item " + lineItem.getItem_id(), e);
448
						logger.error("Exception with Catalog Service for   " + orderId + " " + subOrderId + " while getting item " + lineItem.getItem_id(), e);
448
						sb.append(orderId + " " + subOrderId + " Exception in Catalog Service" + " " + "\n");
449
						sb.append(orderId + " " + subOrderId + " Exception in Catalog Service" + " " + "\n");
449
						continue;
450
						continue;
450
					}
451
					}
451
					t_order.setLogistics_provider_id(37);
452
					t_order.setLogistics_provider_id(FLIPKART_LOGISTICS_ID);
452
					t_order.setAirwaybill_no("");
453
					t_order.setAirwaybill_no("");
453
					t_order.setTracking_id("");
454
					t_order.setTracking_id("");
454
					t_order.setTotal_amount(unitSellingPrice);
455
					t_order.setTotal_amount(unitSellingPrice);
455
					t_order.setOrderType(OrderType.B2C);
456
					t_order.setOrderType(OrderType.B2C);
456
					t_order.setSource(FLIPKART_SOURCE_ID);
457
					t_order.setSource(FLIPKART_SOURCE_ID);