Subversion Repositories SmartDukaan

Rev

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

Rev 9201 Rev 9202
Line 604... Line 604...
604
					in.shop2020.model.v1.order.Attribute attribute = new in.shop2020.model.v1.order.Attribute();
604
					in.shop2020.model.v1.order.Attribute attribute = new in.shop2020.model.v1.order.Attribute();
605
					attribute.setName("Buyer Name");
605
					attribute.setName("Buyer Name");
606
					attribute.setValue(buyerName);
606
					attribute.setValue(buyerName);
607
					attributeList.add(attribute);
607
					attributeList.add(attribute);
608
					try {
608
					try {
609
						/*if(transaction_client == null){
609
						//if(transaction_client == null){
610
							transaction_client = new TransactionClient().getClient();
610
							transaction_client = new TransactionClient().getClient();
611
						}*/
611
						//}
612
						transaction_client.createFlipkartOrder(flipkartOrder);
612
						transaction_client.createFlipkartOrder(flipkartOrder);
613
						transaction_client.setOrderAttributes(flipkartOrder.getOrderId(),attributeList);
613
						transaction_client.setOrderAttributes(flipkartOrder.getOrderId(),attributeList);
614
						logger.info("transaction id : " + Long.valueOf(transactionId) + " Payment id : " + paymentId);
614
						logger.info("transaction id : " + Long.valueOf(transactionId) + " Payment id : " + paymentId);
615
						new PaymentClient().getClient().updatePaymentDetails(paymentId, null, null, null, null, null, null, subOrderId, null, PaymentStatus.SUCCESS, null, null);
615
						new PaymentClient().getClient().updatePaymentDetails(paymentId, null, null, null, null, null, null, subOrderId, null, PaymentStatus.SUCCESS, null, null);
616
						orders_processed++;
616
						orders_processed++;