Explore a full, working code sample of an integration with Stripe Checkout and the customer portal. The client- and server-side code redirects to a prebuilt payment page hosted on Stripe. Included are some basic build and run scripts you can use to start up the application.
- Build the server
pip3 install -r requirements.txt
- Run the server
export FLASK_APP=server.py
python3 -m flask run --port=4242