Finally managed to make the TransactionController.