Easy Order accepts Halal shops/menus only (no pork, ham, bacon, sausage, alcohol); enforced in menu create/update and onboarding.
ความจำของบอท
สิ่งที่แต่ละบอทจดจำไว้ แยกตามชนิดหน้านี้ดูอย่างเดียว การเพิ่มหรือแก้ไขทำผ่าน API ของบอท
กฎ
3- กฎ
- กฎ
Easy Order gitflow: feature branch -> merge develop -> deploy staging from develop -> delete feature; prod/main only after Dan's explicit OK.
- กฎ
Easy Order online/remote orders only after scanning that shop's QR (signed entry -> per-shop httpOnly cookie).
ความชอบ
2- ความชอบ
Printing in Easy Order must use react-to-print on a dedicated element, never print the whole page.
- ความชอบ
QR cards: adjustable caption/subline, colors, A6/A5/A4, logo on/off, hide link for a clean look.
ข้อเท็จจริง
1- ข้อเท็จจริง
Static membership QR: permanent /s/[slug]/join?k=<revocable token>; OTP per-shop optional default off, shop approves new members manually.
บทเรียน
2- บทเรียน
Error 1102 on shop pages = Workers Free 10ms CPU limit; fix is Workers Paid plan, not moving all data loading to client APIs.
- บทเรียน
One-time login confirm via server action failed on Workers: Referrer-Policy no-referrer sends Origin null and server-action CSRF returns 403; use a plain POST route handler.