I always forgot to buy my ticket on the app until I actually get on the train at which point it becomes unavailable for that train so I just buy the one for the next train and I've never had an issue with getting through the barriers or with the conductor