Add finance app with Stripe Checkout subscriptions (#21)
CI / test (pull_request) Successful in 9s
Unit Tests / test (pull_request) Successful in 10s

Introduce Invoice/Payment ledger models, $10/mo settings-backed pricing,
hosted Checkout + signed webhooks, Django admin, and authenticated list APIs.
This commit is contained in:
2026-07-26 19:16:34 -05:00
parent 9984d1c340
commit f92bd268b3
23 changed files with 1540 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
from django.urls import path
from finance.views import (
CreateCheckoutSessionView,
InvoiceListView,
PaymentListView,
StripeWebhookView,
)
urlpatterns = [
path(
"checkout/",
CreateCheckoutSessionView.as_view(),
name="finance_checkout",
),
path(
"invoices/",
InvoiceListView.as_view(),
name="finance_invoices",
),
path(
"payments/",
PaymentListView.as_view(),
name="finance_payments",
),
path(
"webhooks/stripe/",
StripeWebhookView.as_view(),
name="finance_stripe_webhook",
),
]