Enter the discount code at the payment page, then press the Apply button.
Please note that the discount does not get applied if you do not press the Apply button after entering the code.
Also note that discount codes cannot be applied when ordering as a guest.