Discounts can only be applied to a new subscription. The discount code needs to be added during the purchase process.