added transaction discount based on given promo code