It feels like a loss though, since the money is in your account and then deducted from it. There is also the lost sale, since you can no longer sell the shoes and cannot make the revenue you expected to earn.
The cost of the shoes is what is counted twice.