How to create a plugin for after Place Order action checkout Magento 2?

You can create a plugin for after Place order action in Magento 2 using afterPlace() plugin method.

When you required to check or get data after place order in Magento 2 or save data to other tables after place order successfully You can use afterPlace plugin from OrderManagementInterface interface’s place() method.

place() method from the Magento\Sales\Api\OrderManagementInterface interface class used to Place order operation in Magento 2 from checkout page.

You just need to define plugin definition in di.xml file to create a plugin.

Create a Global di.xml file inside etc/di.xml file,

Now you need to create OrderManagement.php file inside your module Plugin folder.

Path: app\code\Rbj\Order\Plugin\OrderManagement.php

You can fetch $result object using the above way and you can set your custom conditions.

You can get required data from the result object for an order.