Example Affirm integration with a python-flask web app