1.    Revenue Terminal integration. 

- log more message for diagnose if error happened in processing messages from terminal.

- some code changes to prevent not receiving 'Approved' message from terminal.