What many food trucks do to get around this is to require a credit card to operate the touch screen terminal used to order. They won't even talk to you unless you have a card.
In this way they can avoid people paying in cash by never taking orders that might use cash.