fixed flake8 issues
added payment views