Updated code to display error when no code is entered and updated subscription email receipt with discount