properly decode discounts and coupons