When Product Out Of Stock

Hi, actually i would like to know when client orders 6 products and 1 is out of stock for example, then i need to continue with the "placing order automatically", and when it adds all 5 product i need to replace the last product adding it to the cart manually. The problem is that when i buy the products and i get back to the order page, doesn't automatically go on "processed" instead i need to select processed manually or edit every single product order and tracking id.

How do i solve this kind of issue the next time @Victoria Kudryashova ?
And about the cashback i already set everything as the tutorial, now is automatic or need to do something else ?