Add has_discount field to invoice payment succeeded notification fields