Hi,
Currently discounts by coupons functionality is not available.work around for this : create infocode for the user to input the coupon number/details attach the infocode to discount button.Note that there is no validation on infocode number/details.