Use OrderProxy when debiting a resource

This change forces transactions to be inside an Order.