Magistrates have ordered a food business and its owner to hand over more than £8,700 after they operated illegally.