We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 64d62057 authored by Rik ter Beek's avatar Rik ter Beek

#98 removed capture on shipment because setting is not in the M2 extension

parent 76f40134
...@@ -1360,14 +1360,7 @@ class Cron ...@@ -1360,14 +1360,7 @@ class Cron
$this->_createInvoice(); $this->_createInvoice();
} }
// if you have capture on shipment enabled don't set update the status of the payment
$captureOnShipment = $this->_getConfigData(
'capture_on_shipment', 'adyen_abstract', $this->_order->getStoreId()
);
if (!$captureOnShipment) {
$status = $this->_getConfigData('payment_authorized', 'adyen_abstract', $this->_order->getStoreId()); $status = $this->_getConfigData('payment_authorized', 'adyen_abstract', $this->_order->getStoreId());
}
// virtual order can have different status // virtual order can have different status
if ($this->_order->getIsVirtual()) { if ($this->_order->getIsVirtual()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment