Files
supermarket/internal
davidandClaude Opus 5.5 739f85fde1 Metrics: total spend from Stripe's charges, as Stripe counts it
Customers who paid without an invoice (one-off Checkout payments) were
missed, and the Stripe card counted every customer record, deleted ones
too. The sync now reads charges (and follows their events); a customer's
total spend is their successful charges, captured less refunded. A
database synced before reads everything once (sync state version 2).
Until charges are in, paid invoices less refunds stand in.

The Stripe card's Customers now counts those who spent more than $0, "of
N in Stripe", and a Payments count is added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 12:35:00 -07:00
..
2026-11-24 12:38:50 -07:00
2026-11-25 13:21:25 -07:00
2026-11-24 12:38:50 -07:00
2026-11-20 13:51:16 -07:00