payfrit-works/api
John Mizerek ea72b120e8 Fix order status polling and delivery fee logic
API Changes:
- checkStatusUpdate.cfm: Fixed to use OrderStatusID != 7 instead of non-existent OrderIsDeleted column
- Application.cfm: Added checkStatusUpdate.cfm to public API allowlist
- getOrCreateCart.cfm: Fixed delivery fee to only apply for OrderTypeID = 2 (delivery)

Order Type Logic:
- 1 = Dine-in (no delivery fee)
- 2 = Delivery (delivery fee applied)
- 3 = Takeaway (no delivery fee)
- 4 = Ship-to (no delivery fee)

Status Translation:
- Uses OrderStatusID != 7 to filter deleted orders (tt_OrderStatuses table)

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 21:38:26 -08:00
..
assignments Public businesses + servicepoints list endpoints; API allowlist; Lucee-safe JSON 2025-12-28 12:30:06 -08:00
auth fix: correct CFScript syntax in login endpoint 2025-12-29 10:01:43 -08:00
beacons Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
businesses checkpoint 2025-12-28 22:34:01 -08:00
menu Add cart endpoints and enhance menu API 2025-12-29 11:14:21 -08:00
orders Fix order status polling and delivery fee logic 2025-12-31 21:38:26 -08:00
servicepoints checkpoint 2025-12-28 22:34:01 -08:00
Application.cfm Fix order status polling and delivery fee logic 2025-12-31 21:38:26 -08:00