- Create a Web Server with Flask
- URL Building with Flask
- Flask URL Paths and the Flask Debugger
- Python Decorator Functions and the
@
Syntax - Stripe API
- Create sample page with Stripe API DOCS (https://stripe.com/docs/checkout/quickstart)
- Go to [http://localhost:4242/checkout.html]
- Credit Card Numbers for TEST / Payment succeeds (4242 4242 4242 4242)
- Credit Card Numbers for TEST / Payment requires authentication (4000 0025 0000 3155)
- Credit Card Numbers for TEST / Payment is declined (4000 0000 0000 9995)
Stripe Checkout is the fastest way to get started with payments. 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 '''