Added post function to the form and a checkout button