A businessman has been ordered to pay £3,000 after an investigation revealed the “slimming” pills he was selling were a con.