You can most definitely buy tickets at the door (arrive early if you do!), but you can also buy tickets online directly from the Toronto Fringe Festival Website.
Also a great place to learn more about this year’s Fringe. Don’t just see Shotgun, see a bunch of shows! Support local theatre, yo!