Skip to content
FeaturesPricingAffiliateBlogHelpAboutContact
Get StartedSign In
Back to Blog
industry2026-05-236 min read

"Half-Portion selected 50 times, bill came to $0" — the free-meal exploit hiding in modifier arrays without dedup

A ramen owner in Izmir finds a $0 order in the POS. Kitchen ticket shows 50× "Half-Portion." Forensic: modifier_option_ids array not deduped; negative -₺25 delta × 50 = -₺1250 → subtotal negative → baseAmount Math.max(0, …) clamp → FREE MEAL. PR #580 WW F1 CRITICAL fix.

th

thMenu Team

thmenu.com

Found this helpful? Share it.