refactor handle_paga_transaction method, create notification for test/development environment and added preferences for paga script