Files
JQC_multi_tenant/app/billing/__init__.py
T

16 lines
478 B
Python

"""
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