ghostguild-org/tests/server
Jennie Robinson Faber 101d6a231b feat(billing): add update-card API route with rollback + status gate
POST /api/helcim/update-card updates the customer's default card, then
best-effort patches the active subscription payment method. Status-gated
to {active, pending_payment}; verifies the submitted cardToken is
attached to the member's helcimCustomerId via listHelcimCustomerCards.
On subscription PATCH 5xx we revert the customer default to the prior
card token; 4xx (schema rejection — cardToken is not a documented
subscription PATCH field) is tolerated since the customer default is
the authoritative billing driver.
2026-04-19 16:29:23 +01:00
..
api feat(billing): add update-card API route with rollback + status gate 2026-04-19 16:29:23 +01:00
config refactor(config): cadence-keyed plan id, add getTierAmount, drop per-tier helcimPlanId 2026-04-18 17:19:05 +01:00
helpers Add Vitest security test suite and update security evaluation doc 2026-03-01 12:30:06 +00:00
middleware Add Vitest security test suite and update security evaluation doc 2026-03-01 12:30:06 +00:00
models test(admin): cover AdminAlertDismissal dismissedAt default 2026-04-08 11:03:31 +01:00
tasks feat(slack): add background job to detect Slack workspace joins 2026-04-09 22:32:48 +01:00
utils feat(helcim): add transaction list + card update helpers 2026-04-19 16:24:16 +01:00
setup.js refactor: extract escapeRegex and validateTagSlugs server utils 2026-04-09 23:51:56 +01:00