The phrasing is polite, the act of writing it at all is rude. You were open, you took the order, you got paid. End of transaction. If you can't make pizzas past a certain time, don't take the orders. Otherwise, be glad you have customers. Not all that complicated.
If as a customer I'm leaving a mess in your store or am being abusive to staff, you have the right to tell me whatever you want and kick me out. If I'm giving you money to buy the product you are advertising during the hours you state you are available, then you make my pizza and smile. That's literally what you're there for.