The form method needed to be changed to POST and the button type needed to be changed to submit.
as for saving the discount code that is being used, create a new column in the orders table, and in the store order summary behavior, bid the new column to the Promo Code session variable.