payfrit-works/api/orders
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
..
checkStatusUpdate.cfm Fix order status polling and delivery fee logic 2025-12-31 21:38:26 -08:00
getCart.cfm Add cart endpoints and enhance menu API 2025-12-29 11:14:21 -08:00
getOrCreateCart.cfm Fix order status polling and delivery fee logic 2025-12-31 21:38:26 -08:00
listForKDS.cfm Add KDS (Kitchen Display System) with real-time order management 2025-12-29 17:46:01 -08:00
setLineItem.cfm Add cart endpoints and enhance menu API 2025-12-29 11:14:21 -08:00
submit.cfm checkpoint 2025-12-28 22:34:01 -08:00
updateStatus.cfm Add KDS (Kitchen Display System) with real-time order management 2025-12-29 17:46:01 -08:00