Skip to content

Commit

Permalink
Correct DI settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Wysocki committed Nov 14, 2024
1 parent 4de0b9b commit 4561d93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<preference for="Tpay\Magento2\Model\Api\TokenRepositoryInterface" type="Tpay\Magento2\Model\TokenRepository"/>
<preference for="Magento\Sales\Api\OrderPaymentRepositoryInterface" type="Magento\Sales\Model\Order\Payment\Repository"/>
<preference for="Tpay\Magento2\Notification\Strategy\Factory\NotificationProcessorFactoryInterface" type="Tpay\Magento2\Notification\Strategy\Factory\NotificationProcessorFactory" />
<preference for="Tpay\Magento2\Service\TpayAliasServiceInterface" type="Tpay\Magento2\Service\TpayAliasService" />
<preference for="Tpay\Magento2\Model\Api\AliasRepositoryInterface" type="Tpay\Magento2\Model\AliasRepository" />
<type name="Magento\Payment\Model\MethodList">
<plugin name="tpay_generic_onsite" type="Tpay\Magento2\Model\MethodListPlugin" />
</type>
Expand Down

0 comments on commit 4561d93

Please sign in to comment.