Discount code for Paid Subscription

Hey there, so I built a paid membership site where user gets access to gated newsletters. I wish to give a discount pricing for the first 24hours, but the discount code is not working. are they not supported for subscriptions? Any other way i can provide this funtionality?