Skip to content

Commit 97cff41

Browse files
committed
small changes
1 parent a4913f6 commit 97cff41

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Observer/SalesOrderShipmentAfter.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,11 @@ public function execute(Observer $observer)
180180
}
181181

182182
$this->logger->addDebug('|before last iff|');
183+
$this->logger->addDebug(strpos($paymentMethodCode, 'buckaroo_magento2') . "ALBINAA");
184+
$this->logger->addDebug(strpos($paymentMethodCode, 'buckaroo_magento2') != false . "AAAAAAAAA");
183185
$this->logger->addDebug(json_encode($order) . '|ordeeeer info|');
184186
$this->logger->addDebug(json_encode($this->isInvoiceCreatedAfterShipment($payment)) . '|is invoice created after shipment|');
185-
if (strpos($paymentMethodCode, 'buckaroo_magento2') !== false) {
187+
if (strpos($paymentMethodCode, 'buckaroo_magento2') != false) {
186188
$this->logger->addDebug('|inside last iff|');
187189
$this->logger->addDebug($paymentMethod->getConfigPaymentAction() .'|config payment action|');
188190
if ($paymentMethod->getConfigPaymentAction() == 'authorize') {

0 commit comments

Comments
 (0)