rspace-online/modules/rcart
Jeff Emmett 2a10277ec8 feat(rcart): add real payment flow for cart contributions
Contribute button now offers "Pay Now" (creates a PaymentRequest linked
to the cart, navigates to the existing payment page) alongside "Record
Manual". When the payment completes, the server auto-records a
contribution on the cart with amount, method, and txHash.

- Add recipientAddress to ShoppingCartDoc, linkedCartId to PaymentRequestMeta
- New POST /api/shopping-carts/:cartId/contribute-pay route
- Payment status handler propagates paid → cart contribution
- Payment page shows "Return to Cart" link for linked payments

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:25:17 -07:00
..
components feat(rcart): add real payment flow for cart contributions 2026-03-12 20:25:17 -07:00
db feat: Phase 4 — remove PostgreSQL from 11 modules, switch to Automerge 2026-03-02 15:48:01 -08:00
lib feat(rcart): Layer 3 — automated recurring payment execution via ERC-20 allowance 2026-03-12 21:32:13 +00: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 real payment flow for cart contributions 2026-03-12 20:25:17 -07:00
schemas.ts feat(rcart): add real payment flow for cart contributions 2026-03-12 20:25:17 -07:00