A secondary school has been reprimanded for breaking the law in introducing the technology for payments in its canteen.