You will always be paid for orders where you prepare the food.
Even if the customer cancels or if an order never gets picked up by a delivery partner, as long as support verifies you made the meal, you will still receive a payment for that order on your weekly payment summary.