Free
$0
-
npx gatefitand the GitHub Action -
gatefit initadapter scaffold - S1–S12 goldens
- Phase 2 goldens
Stripe → access DB → CI
Gatefit replays refunds, disputes, duplicate webhooks and past_due in CI and checks the access row your app writes. A 200 from Stripe is not access.
Stripe events
access_rows
| field | expected | actual |
|---|---|---|
| plan | pro | pro |
| status | refunded | refunded |
| locked | true | false |
Stripe events go in. Your adapter writes the row. Gatefit checks the access row, not the webhook.
Each one is a billing change. The pill is how access ends up.
Paid invoice unlocks
Access keptpaid_grants_access Refund → access revoked
Access revokedrefund_revokes_access Dispute → locked
LockedFeatures clear. Plan and seats stay.
dispute_revokes_or_flags Duplicate event ignored
LockedThe same event applies once. A replay does not undo a cancel.
duplicate_webhook_idempotent Trial payment unlocks
Access keptTrialing stays locked until then.
trial_to_paid_grants Paid after no card
Access keptThe trial stays locked until a payment. The trial warning never changes access.
trial_no_card Paid after the pause
Access keptPause and a failed resume stay locked. Resuming does not grant or revoke.
trial_end_pause_resume_waits_for_paid Cancel → access revoked
Access revokedIt locks as soon as the subscription is deleted.
cancel_revokes_access Open until period end
Locks at period endAccess stays on until the period ends, then locks.
cancel_at_period_end_keeps_access_until_end Downgrade keeps access
Access keptScheduled waits for the period to end. Immediate changes the plan now.
portal_downgrade_period_end_vs_immediate Upgrade stays open
Locks at period endPlan and seats change right away. Locks when the period ends.
upgrade_plus_cape_race Seat count updates
Access keptThe new quantity replaces the stored seat count.
seat_qty_vs_db_cap Summary sets features
Access keptIt does not lock or unlock. Unpaid stays locked.
entitlements_active_summary Past due recovers
Access keptA failed payment locks it until a later one is paid.
past_due_denies_until_recovery Unpaid stays locked
LockedFrom the failed payment through cancel.
unpaid_after_retries_revokes Latest invoice recovers
Access keptFailed retries lock it until that invoice is paid. A repeated failure does not lock it again.
smart_retries_unpaid_then_paid_recovers Uncollectible locks
LockedA pause keeps access and does not grant. An uncollectible invoice with no pause locks.
pause_collection_keeps_access_all_behaviors The free core is the CLI, the Action, and the Stripe goldens (S1–S12 and Phase 2, 17 goldens). The $49 Indie License unlocks only chaos mode and the Polar and Paddle packs.
Free
$0
npx gatefit and the GitHub Actiongatefit init adapter scaffoldIndie License
$49 one-time
--suite chaos--suite polar--suite paddleChaos mode checks the access row when deliveries are duplicated, reordered, stale, late, or dropped.
Run the free CLI today, or buy the Indie License for chaos mode and the Polar and Paddle packs.