Wrote Javascript to allow logged in user to select manual payment or payment with a stored credit card