Subversion Repositories SmartDukaan

Rev

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

Rev 9193 Rev 9194
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
						if(transaction_client == null){
-
 
608
							transaction_client = new TransactionClient().getClient();
-
 
609
						}
607
						transaction_client.createFlipkartOrder(flipkartOrder);
610
						transaction_client.createFlipkartOrder(flipkartOrder);
608
						transaction_client.setOrderAttributes(flipkartOrder.getOrderId(),attributeList);
611
						transaction_client.setOrderAttributes(flipkartOrder.getOrderId(),attributeList);
609
						orders_processed++;
612
						orders_processed++;
610
					} catch (TException e) {
613
					} catch (TException e) {
611
						logger.error("Could not create flipkart order ",e);
614
						logger.error("Could not create flipkart order ",e);