<?xml version="1.0"?>

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  <type name="Magento\Checkout\Controller\Onepage\Success">
    <plugin name="prashant_orderSuccess_checkout_controller_onepage_success"
            type="Prashant\OrderSuccess\Plugin\Success"
            sortOrder="10" />
  </type>
</config>