A Sheffield man was fined thousands after trying to ply his car as a taxi in Barnsley city centre.