What happens to orders attached to a deleted account, and how can they be refunded or appear on the income statement?

If someone is deleted from People, the orders and accounting information remains in the system. You can access all orders through Store > Transactions and all Accounting data in the General Ledger. If you re-add the person to People, it will automatically reconnect all their transaction information, so that you can refund them if needed.