File tree 3 files changed +10
-7
lines changed
3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,10 @@ class FinalizePayment
12
12
protected $ orderSender ;
13
13
14
14
/**
15
- * Order constructor.
16
- * @param \Magento\Framework\App\Action\Context $context
17
15
* @param \Magento\Sales\Model\Order\Email\Sender\OrderSender $orderSender
18
16
* @param \Satispay\Satispay\Model\Method\Satispay $satispay
19
17
*/
20
18
public function __construct (
21
- \Magento \Framework \App \Action \Context $ context ,
22
19
\Magento \Sales \Model \Order \Email \Sender \OrderSender $ orderSender ,
23
20
\Satispay \Satispay \Model \Method \Satispay $ satispay
24
21
) {
Original file line number Diff line number Diff line change @@ -48,16 +48,16 @@ class FinalizeUnhandledOrders
48
48
protected $ logger ;
49
49
50
50
/**
51
- * Order constructor.
52
- * @param \Magento\Framework\App\Action\Context $context
53
- * @param \Magento\Sales\Model\ResourceModel\Order\CollectionFactory $orderCollectionFactory
51
+ * @param \Magento\Sales\Api\OrderRepositoryInterface $orderRepository
52
+ * @param \Magento\Sales\Api\OrderStatusHistoryRepositoryInterface $orderStatusRepository
53
+ * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder
54
54
* @param \Satispay\Satispay\Model\Method\Satispay $satispay
55
55
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
56
56
* @param \Satispay\Satispay\Model\Config $config
57
57
* @param FinalizePayment $finalizePaymentService
58
+ * @param LoggerInterface $logger
58
59
*/
59
60
public function __construct (
60
- \Magento \Framework \App \Action \Context $ context ,
61
61
\Magento \Sales \Api \OrderRepositoryInterface $ orderRepository ,
62
62
\Magento \Sales \Api \OrderStatusHistoryRepositoryInterface $ orderStatusRepository ,
63
63
\Magento \Framework \Api \SearchCriteriaBuilder $ searchCriteriaBuilder ,
Original file line number Diff line number Diff line change 8
8
</arguments >
9
9
</type >
10
10
11
+ <type name =" Satispay\Satispay\Command\CompleteUnhandledTransaction" >
12
+ <arguments >
13
+ <argument name =" finalizeUnhandledOrdersService" xsi : type =" object" >Satispay\Satispay\Model\FinalizeUnhandledOrders\Proxy</argument >
14
+ </arguments >
15
+ </type >
16
+
11
17
<!-- Logger -->
12
18
<virtualType name =" Satispay\Satispay\Logger\Handler" type =" Magento\Framework\Logger\Handler\Base" >
13
19
<arguments >
You can’t perform that action at this time.
0 commit comments