Better not to apply discounts if there are gift cards in the cart cause the customer could "earn" money through that.