After submitting a bid to a fans' website by mistake, Barnsley confirm signing of St Mirren midfielder Stevie Mallan.