Model for getting purchase by id was wrong