created the necessary views to process the buy button click and callback