[TEST] Major refactoring + testing of payments, notifications, transactions