<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Sales\Model\Order\Email\Container\OrderIdentity">
        <plugin name="change_is_enable_method" type="SoftBuild\HitPay\Plugin\OrderIdentityPlugin"/>
    </type>
    <preference for="Magento\Checkout\Controller\Onepage\Success" type="SoftBuild\HitPay\Controller\Onepage\Success" />
</config>