runtime: HTTP server, Mollie checkout and webhook, tier grant #51
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-payment#51
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Problem
src/main.tsis a stub. The domain core (pricing, VAT, refund idempotency, Mollie webhook semantics) is built and tested, but there is no HTTP server, the webhook route is not wired, and nothing writes the tier grant.Scope (minimum checkout, per roadmap decision 2026-09-24)
tier_prothrough Kanidm (ADR 0017).Done when
A test-mode payment from the portal grants
tier_proend to end, a replayed webhook changes nothing, and a cancelled subscription does not renew.Infra deploy: bitborg/bitborg-infra (billing service deploy issue). Epic: bitborg/bitborg-docs#5.
Infra deploy: bitborg/bitborg-infra#496.
Status 2026-10-01: runtime merged in #59 (review fixes included), image build fixed in #60, released as
v0.2.1(v0.2.0is a dead tag). Deployed to production disabled via bitborg-infra#507 and #508.Left before this closes: create the
bitborg-billingKanidm account, add the four vault values, enable, and run one test-mode payment from the portal end to end (runbook "Billing service"). Follow-ups: #61 (DB tests in CI), #62 (Mollie reconciliation), #63 (credit notes).Retarget: Kanidm is being replaced by Keycloak before launch (bitborg/bitborg-docs#127). The billing account becomes the Keycloak
bitborg-billingclient. Left: an end-to-end test payment in the staging test run.Done. The runtime shipped in #59 and is live in v0.11.2: HTTP server with health endpoint, Mollie hosted checkout, webhook with idempotent handling, and
tier_progranted through the Keycloakbitborg-billingclient. A replayed webhook changing nothing is covered by a test insrc/billing.test.ts. Staging evidence is in bitborg-infra#579 (2026-10-11, test mode): a card checkout on billing 0.10.1 ended withtier_proandforgejo_usersin Keycloak, a signed-in withdrawal revokedtier_proand cancelled the Mollie subscription so it does not renew, and the chargeback and one-time year runs also passed. The open items there (forced failed renewal, an untouched monthly subscription) are tracked on that issue and in their own payment issues, not here. Closing.