2026-04-19
Phase 4 — Production hardening
- Stripe billing for platform subscriptions (free → enterprise) with 14-day trial.
- Multi-payout adapters: PayPal Mass Payments, Stripe Connect, Wise.
- Real FX rates via OpenExchangeRates / Frankfurter with 6-hour cache.
- Stripe Subscriptions per-merchant webhook for recurring commissions.
- Shopify OAuth + auto-webhook registration + HMAC-verified order handling.
- REST API v1 + OpenAPI 3.1 spec at /api/v1/openapi.
- Bulk affiliate email broadcasts with markdown body + audience filtering.
- Slack integration: incoming webhook URL per merchant.
- White-label branding + custom domain via CNAME (auto-SSL).
- GDPR data export + erasure + DSR tracking UI.
- RFC 8058 one-click unsubscribe + Resend bounce/complaint webhook.
- Sentry init for client/server/edge runtimes + structured logger.
- Edge rate limiting (Upstash / in-memory fallback) on /api/t/click.
- Click fraud scoring via IPQS + Fingerprint Pro signals.
- Status page at /status; runtime maintenance flag.
- PWA manifest + service worker for affiliate portal.
- Audit-log retention crons + atomic counter SQL helpers.
- Materialized affiliate_stats_30d view for dashboard performance.
2026-04-15
Phase 3 — Parity push
- Tier auto-promotion via volume thresholds.
- 2-tier MLM overrides (configurable rate, off by default).
- WC Subscriptions recurring commissions with first/all/first-N strategies.
- Per-product / per-tier commission rule UI.
- Creatives library with public bucket + tier-gated access.
- Leaderboards + badges + bonus rules.
- Bulk affiliate CSV import with parent-email lineage.
- On-demand CSV exports + weekly digest email.
- Outbound webhooks (Standard Webhooks v1) + replay UI.
- `@cobalz/shared/standard-webhooks` package: sign + verify per spec.
2026-04-10
Phase 2 — Mercury Payouts
- Real Mercury Invoicing API integration with per-merchant Vault.
- Hourly payouts cron in merchant timezone.
- Tax form collection (W-9 / W-8BEN / W-8BEN-E) with TIN in Vault.
- 1099-NEC eligibility CSV with OBBBA $2,000 threshold for 2026+.
- 15-minute reconciliation cron for sandbox + prod safety.
- Mercury webhook handler with signature verification.
- Five new email templates: payout.sent / payout.paid / tax_form.required / approved / rejected.
2026-04-05
Phase 1 — Tracking + commissions
- t.js storefront beacon (1.6 KB gzipped) with DNT + Consent Mode v2.
- WC plugin order / refund / coupon / product hooks with HMAC outbox.
- Click + coupon-applied + order ingestion endpoints.
- Attribution resolver, commission engine, refund clawback decision tree.
- Notifications queue + send-emails cron via Resend.
2026-04-01
Phase 0 — Foundations
- Supabase project with 17-table schema, RLS, Vault, pgvector.
- Plugin pairing flow via 8-character codes.
- Heartbeat with green-dot dashboard.
- Vercel deploy on affiliate.cobalz.com.