Jun 28 - Implement payment functions (Stripe)

This commit is contained in:
2026-06-28 12:01:25 -04:00
parent 61ede27093
commit f292c8fb7b
21 changed files with 1112 additions and 18 deletions
+15
View File
@@ -0,0 +1,15 @@
"""
app/billing/__init__.py
-----------------------
MT-8 Stripe billing package. Blueprint registered at /billing/.
All routes are CSRF-exempt (billing.bp is exempted individually in
app/__init__.py). The webhook route specifically requires raw POST body
access — CSRF tokens are never sent by Stripe.
"""
from flask import Blueprint
bp = Blueprint('billing', __name__, url_prefix='/billing')
from app.billing import routes # noqa: F401, E402 — registers routes on bp