fix: code that uses Config::get in model/message.php
fix: logical error in payments managment