step-11: bind Purchase button to purchase() method
step-12: implement thank-you view