I'd like to hook into the save process of an order, so that I can execute my own code once the order is completed.
So far I've done similar things with the Customer and CustomerAdress Objects using the Plugin Pattern and a aroundSave method.
I'd like to do the same for the order object on checkout, but I can't seem to get an overview on how the mechanisms work. There are just too many new design patterns and methods stacked over each other (Knockout, Component, Rest, Zendframework).
I've tried making a Plugin for Magento\Sales\Model\ResourceModel\Order but it has no effect.
Does anybody have an idea how I can find the correct class to hook up with the plugin class?