Cleans pasted spaces, hidden characters and case, catches O-vs-0 look-alikes with a fix, says why a code didn't apply (cart minimum and the gap, expiry, excluded items, already used), shows the real saving and any cap, and asks before a worse code replaces a better one.