Return the ones you ordered that were bad.
Note that chocolate DOES change colors (gets a little light/white) on them when they were not stored in
a proper temperature controlled environment, but it does not affect the flavor of the chocolate.
(It could have even been the delivery truck environment that caused the problem.)
Either way, return defective items.