Template for integrating stripe into your FastAPI application 💸, Useful to generate a checkout session needed to save customers payment methods for recurring payments (in particular SEPA debits).
pip install -e .
uvicorn app.main:app --reload --workers 1 --host 0.0.0.0 --port 8000
bash scripts/test.sh
NOTES: You need to have a .env
file in the root of the project with the following variables:
STRIPE_API_KEY= sk_test_* # Your stripe API key