Implementing ticket purchasing