Subversion Repositories SmartDukaan

Rev

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

Rev 4905 Rev 4907
Line 637... Line 637...
637
	    		
637
	    		
638
	    		long orderId = (long) row.getCell(indexOrderId).getNumericCellValue();
638
	    		long orderId = (long) row.getCell(indexOrderId).getNumericCellValue();
639
	    		double amount = row.getCell(indexAmount).getNumericCellValue();
639
	    		double amount = row.getCell(indexAmount).getNumericCellValue();
640
	    		
640
	    		
641
	    		try {
641
	    		try {
642
					transactionClient.saveCODPaymentSettlement(orderId, settlementDate, amount);
642
					transactionClient.savePaymentSettlements(settlementDate, 4, orderId, 0.0, 0.0, amount);
643
					countSuccessfulSaves += 1;
643
					countSuccessfulSaves += 1;
644
					
644
					
645
				} catch (TransactionServiceException e) {
645
				} catch (TransactionServiceException e) {
646
					logger.error("Transaction Service Exception while getting order for id, " + orderId, e);
646
					logger.error("Transaction Service Exception while getting order for id, " + orderId, e);
647
					addActionError("Transaction Service Exception while getting order for id, " + orderId);	
647
					addActionError("Transaction Service Exception while getting order for id, " + orderId);