There is an option to cancel orders.  One of options is '' out of stock or damaged''.  But I can't recall if you get a defect for using that one.

 

But I would also send the buyer a PM advising them of the issue, so that they are aware of why you are cancelling the order.  Just out of courtesy