purchase click handler and email body

Setup on click handler for purchase button and added text for the email