Subversion Repositories SmartDukaan

Rev

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

Rev 9087 Rev 9088
Line 549... Line 549...
549
					in.shop2020.model.v1.order.Attribute attribute = new in.shop2020.model.v1.order.Attribute();
549
					in.shop2020.model.v1.order.Attribute attribute = new in.shop2020.model.v1.order.Attribute();
550
					attribute.setName("Buyer Name");
550
					attribute.setName("Buyer Name");
551
					attribute.setValue(buyerName);
551
					attribute.setValue(buyerName);
552
					attributeList.add(attribute);
552
					attributeList.add(attribute);
553
					try {
553
					try {
554
						transaction_client.createFlipkartOrder(flipkartOrder);
554
						new TransactionClient().getClient().createFlipkartOrder(flipkartOrder);
555
						transaction_client.setOrderAttributes(flipkartOrder.getOrderId(),attributeList);
555
						new TransactionClient().getClient().setOrderAttributes(flipkartOrder.getOrderId(),attributeList);
556
						orders_processed++;
556
						orders_processed++;
557
					} catch (TException e) {
557
					} catch (TException e) {
558
						logger.error("Could not create flipkart order");
558
						logger.error("Could not create flipkart order");
559
						sb.append(orderId+" "+subOrderId + " Could not create flipkart order"+"\n");
559
						sb.append(orderId+" "+subOrderId + " Could not create flipkart order"+"\n");
560
						continue;
560
						continue;