rspace-online/modules/rcart
Jeff Emmett 636fc133fe feat(rcart): add subscription/inventory/method-toggles to payment requests + fix 403
- Fix: add publicWrite to cartModule so payment routes aren't blocked
  by space-level write auth (routes have their own auth checks)
- Add paymentType field: 'single' (one-time) or 'subscription' (reusable QR)
- Add maxPayments inventory limit: QR codes auto-fill when limit reached
- Add paymentCount to track how many payments received
- Add enabledMethods: toggle card/wallet/encryptid per payment request
- Payment page only shows enabled tabs, shows inventory progress bar
- Subscriptions reset to 'pending' after each payment until filled
- New 'filled' status for inventory-limited payments that are full

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 16:35:11 -07:00
..
components feat(rcart): add subscription/inventory/method-toggles to payment requests + fix 403 2026-03-11 16:35:11 -07:00
db feat: Phase 4 — remove PostgreSQL from 11 modules, switch to Automerge 2026-03-02 15:48:01 -08:00
extract.ts feat(rcart): merge group shopping into rCart module 2026-03-10 01:21:38 -07:00
flow.ts refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
landing.ts feat: add ViewHistory for in-app back navigation, rename rWork to rTasks 2026-03-11 14:04:13 -07:00
local-first-client.ts feat(rcart): merge group shopping into rCart module 2026-03-10 01:21:38 -07:00
mod.ts feat(rcart): add subscription/inventory/method-toggles to payment requests + fix 403 2026-03-11 16:35:11 -07:00
schemas.ts feat(rcart): add subscription/inventory/method-toggles to payment requests + fix 403 2026-03-11 16:35:11 -07:00