Critical: - Single-order discount used wrong column names (discount_pct/discount_flat_cents → discount_type/discount_value). Discounts were silently $0. - Single-order discount skipped allowed_emails and expires_at checks - Free orders now set paid_at = NOW() High: - Discount usage now tracked in discount_usage table + current_uses incremented - Flat discount only replaces bundle when flat >= bundle (was always replacing) Minor: - Removed unused CDR profile fetch in EntityStep Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| astro.config.mjs | ||
| Dockerfile | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||