Skip to content

Commit c8ecca8

Browse files
committed
disable SendMailOnOrderSuccess
1 parent 68d9b6c commit c8ecca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Observer/SendMailOnOrderSuccess.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
5959
// Only send order confirmation (here) for completed NoFrixion payments.
6060
if ($paymentMethodCode == 'nofrixion' && ($orderStatus === 'complete' || $orderStatus === 'nofrixion_paid_correctly')) {
6161
//$this->logger->info(__METHOD__ . ' Order: '. $order->getIncrementId() . ' - ' . $order->getStatus());
62-
$this->orderSender->send($order, true);
62+
//$this->orderSender->send($order, true);
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)