The honesty of the Japanese in general means that this form of selling works. In this case, these boxes have rolls of paper with fortunes written on them. You take one and place
100 yen in the slotted hole.
I've also seen unmanned vegetable stores where you would take a veggie and place money in a provided container.
Would/do the concept of unmanned stores work in your neck of the woods?