This happened to us. My wife orders a lot of dog treats and human snacks on subscribe and save. They sent a package of nearly expired nut snack bars. Wife contacted customer service and they just sent another of the same. My wife is meticulous about checking sale by and it is a fight to keep her from throwing out recently expired foods. But I hadn't known a store to ship an expired product before this.
We had very expired dog food shipped to us from Amazon, and luckily Amazon was able to give us an instant refund, but that was enough to prevent us from buying foods and other perishables from them.
Sale By dates are not the same as Use By dates are not the same as Expired By dates. This link should help clear up a lot for you and your wife, and save you money/prevent waste in the long run.