Skip to content

[billing] Stripe charge/collection is a stub — wire + test in test mode #33

Description

@MrTig-afk

Problem. Invoice math is built and test-covered, but actual Stripe charge/collection is a stub (api/services/stripe_service.py, needs test keys). Invoices compute but no money moves — the biggest billing gap, distinct from the calculation.

Fix.

  • Wire stripe_service to create/charge invoices in Stripe TEST mode.
  • Handle webhooks (invoice.paid / payment_failed) → reconcile to invoices.status.
  • Rotate all dev secrets (incl. Stripe keys) before any real/paid use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions