ghostguild-org/tests
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
..
client/composables feat(member): pending_payment retains access, soften status copy 2026-04-18 17:06:22 +01:00
server feat(billing): add update-card API route with rollback + status gate 2026-04-19 16:29:23 +01:00