Subversion Repositories SmartDukaan

Rev

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

Rev 9125 Rev 9190
Line 602... Line 602...
602
					in.shop2020.model.v1.order.Attribute attribute = new in.shop2020.model.v1.order.Attribute();
602
					in.shop2020.model.v1.order.Attribute attribute = new in.shop2020.model.v1.order.Attribute();
603
					attribute.setName("Buyer Name");
603
					attribute.setName("Buyer Name");
604
					attribute.setValue(buyerName);
604
					attribute.setValue(buyerName);
605
					attributeList.add(attribute);
605
					attributeList.add(attribute);
606
					try {
606
					try {
-
 
607
						in.shop2020.model.v1.order.TransactionService.Client client = new TransactionClient().getClient();
607
						new TransactionClient().getClient().createFlipkartOrder(flipkartOrder);
608
						client.createFlipkartOrder(flipkartOrder);
608
						new TransactionClient().getClient().setOrderAttributes(flipkartOrder.getOrderId(),attributeList);
609
						client.setOrderAttributes(flipkartOrder.getOrderId(),attributeList);
609
						orders_processed++;
610
						orders_processed++;
610
					} catch (TException e) {
611
					} catch (TException e) {
611
						logger.error("Could not create flipkart order ",e);
612
						logger.error("Could not create flipkart order ",e);
612
						sb.append(orderId+" "+subOrderId + " Could not create flipkart order"+"\n");
613
						sb.append(orderId+" "+subOrderId + " Could not create flipkart order"+"\n");
613
						continue;
614
						continue;