Public portal — payments #5

Öppen
öppnade 2026-07-09 23:03:14 +00:00 av supernaut · 2 kommentarer
Ägare

Paid plans through an EU payment provider (Mollie, ADR 0011).

A billing service with customers and subscriptions, behind a provider-neutral interface. Tier changes flow payment → Keycloak role (bitborg-billing client) → reconciler (ADR 0017, ADR 0040), never writing Forgejo directly.

Horizon: Now (minimum checkout, roadmap decision 2026-09-24).

Status 2026-10-12: billing v0.11.2 runs on production with payments disabled. Checkout, withdrawal, chargeback handling, dunning and complimentary grants are built and proven in test mode on staging. Remaining: the refund rules, the legal answer on early renewal, the accountant's sign-off, the last staging step, the billing alerts, and the live switch.

Tasks

Invoicing is manual at launch, so invoice numbering (bitborg/bitborg-payment#52), credit notes (#63) and invoice delivery (#161) are not part of this epic. They sit in the payment Backlog.

Paid plans through an EU payment provider (Mollie, ADR 0011). A billing service with customers and subscriptions, behind a provider-neutral interface. Tier changes flow payment → Keycloak role (`bitborg-billing` client) → reconciler (ADR 0017, ADR 0040), never writing Forgejo directly. **Horizon:** Now (minimum checkout, roadmap decision 2026-09-24). **Status 2026-10-12:** billing v0.11.2 runs on production with payments disabled. Checkout, withdrawal, chargeback handling, dunning and complimentary grants are built and proven in test mode on staging. Remaining: the refund rules, the legal answer on early renewal, the accountant's sign-off, the last staging step, the billing alerts, and the live switch. ### Tasks - [x] gitborg/gitborg-web#34 — Payments: customers/subscriptions schema - [x] gitborg/gitborg-web#35 — Payments: Klarna (SE) / Mollie (EU) integration - [x] gitborg/gitborg-infra#46 — payment → tier → reconciler flow (implemented in the billing service) - [x] bitborg/bitborg-web#145 — the portal's upgrade surface and typed calls into the payment service - [x] bitborg/bitborg-web#259 — withdrawal function and consent to start at once - [x] ~~bitborg/bitborg-web#149 — flag-gated paid account option in sign-up~~ (obsolete: no account type in sign-up) - [x] ~~bitborg/bitborg-infra#270: trial downgrade with 30-day notice~~ (obsolete: trial removed) - [x] bitborg/bitborg-payment#138 — follow Mollie's next charge date after a retried renewal - [x] bitborg/bitborg-payment#139 — validate the webhook payment id and never log it - [x] bitborg/bitborg-payment#140 — flag a refund that fails at the provider - [x] bitborg/bitborg-payment#141 — cancel a pending provider refund when a chargeback lands - [x] bitborg/bitborg-payment#142 — detect a subscription Mollie cancelled or suspended - [x] bitborg/bitborg-payment#143 — report a failed checkout for a returning customer - [x] bitborg/bitborg-web#375 — show a failed renewal and its grace end - [x] bitborg/bitborg-payment#133 — what a refund outside a withdrawal does to access - [x] bitborg/bitborg-payment#146 — refunds made in the Mollie dashboard on settled charges - [ ] bitborg/bitborg-payment#150 — withdrawal window for an early one-time renewal - [x] bitborg/bitborg-payment#180 — one-time yearly payment by card and Apple Pay - [x] bitborg/bitborg-web#393 — offer one-time yearly payment by card and Apple Pay - [ ] bitborg/bitborg-infra#579 — staging payment test checklist - [x] bitborg/bitborg-infra#692 — alerts on billing webhook, refund and sweep failures - [x] bitborg/bitborg-infra#693 — the live-key checklist - [ ] bitborg/bitborg-infra#496 — the live switch - [x] bitborg/bitborg-payment#155 — count the grace period in calendar days - [x] bitborg/bitborg-payment#156 — let a customer buy again after Mollie stops their subscription Invoicing is manual at launch, so invoice numbering (bitborg/bitborg-payment#52), credit notes (#63) and invoice delivery (#161) are not part of this epic. They sit in the payment Backlog.
supernaut lade till detta till projektet Bitborg Roadmap 2026-07-10 09:30:04 +00:00
Upphovsperson
Ägare

Scope update — 2026-09-24

Cut to a minimum checkout so the first sale is not waiting on everything else:

  • One paid product, annual billing shown first, monthly second.
  • The provider's hosted checkout. No card form of our own.
  • A webhook that grants the paid tier through the identity provider and the reconciler (ADR 0017).
  • Cancellation stops renewal at period end.

Remaining work in the public repos:

The service itself is tracked internally. Legal and operator prerequisites are in #106.

## Scope update — 2026-09-24 Cut to a minimum checkout so the first sale is not waiting on everything else: - One paid product, annual billing shown first, monthly second. - The provider's hosted checkout. No card form of our own. - A webhook that grants the paid tier through the identity provider and the reconciler (ADR 0017). - Cancellation stops renewal at period end. Remaining work in the public repos: - [ ] bitborg/bitborg-infra#46 — payment → Kanidm group → reconciler flow - [ ] bitborg/bitborg-infra#496 — deploy the billing service - [ ] bitborg/bitborg-web#145 — the portal's upgrade surface - [ ] bitborg/bitborg-web#149 — flag-gated paid option at sign-up The service itself is tracked internally. Legal and operator prerequisites are in #106.
Upphovsperson
Ägare

Added: bitborg/bitborg-web#259 (withdrawal function and consent to start at once). Required by law before paid checkout goes live.

Added: bitborg/bitborg-web#259 (withdrawal function and consent to start at once). Required by law before paid checkout goes live.
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-docs#5
Ingen beskrivning angiven.