Commit graph

2 commits

Author SHA1 Message Date
justin
d1c9bef70a fix: abandoned-cart recovery was never checking the main orders table
The payment_reminder worker (15min/1day/2day recovery emails) ran daily but sent
0 emails for months because:
1. ORDER_TABLES omitted compliance_orders entirely -- where ALL trucking/renewal/
   telecom orders + every abandoned cart actually live. It only checked
   canada_crtc/formation/bundle (near-empty). Added compliance_orders.
2. The reminder_15m/1d/2d_sent_at dedup columns didn't exist on compliance_orders
   (added via migration).
3. The systemd timer ran once daily (16:00 UTC) -- can't catch the 15min or 1day
   windows. Changed to every 30 min.

Verified live: a backdated pending order triggered its 1-day reminder and a real
abandoned cart (Simpson & Co) got a recovery email, both delivered.
2026-07-01 14:22:40 -05:00
justin
f8cd37ac8c Initial commit — Performance West telecom compliance platform
Includes: API (Express/TypeScript), Astro site, Python workers,
document generators, FCC compliance tools, Canada CRTC formation,
Ansible infrastructure, and deployment scripts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 06:54:22 -05:00