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 e2d2bd3e authored by Rik ter Beek's avatar Rik ter Beek

process after one minute and fix two debug lines

parent 6217bdd3
...@@ -217,7 +217,7 @@ class Cron ...@@ -217,7 +217,7 @@ class Cron
$dateStart = new \DateTime(); $dateStart = new \DateTime();
$dateStart->modify('-5 day'); $dateStart->modify('-5 day');
$dateEnd = new \DateTime(); $dateEnd = new \DateTime();
// $dateEnd->modify('-1 minute'); $dateEnd->modify('-1 minute');
$dateRange = ['from' => $dateStart, 'to' => $dateEnd, 'datetime' => true]; $dateRange = ['from' => $dateStart, 'to' => $dateEnd, 'datetime' => true];
// create collection // create collection
...@@ -799,7 +799,6 @@ class Cron ...@@ -799,7 +799,6 @@ class Cron
$recurringReferencesList[] = $rc['recurringDetailReference']; $recurringReferencesList[] = $rc['recurringDetailReference'];
if (isset($rc['recurringDetailReference']) && if (isset($rc['recurringDetailReference']) &&
$rc['recurringDetailReference'] == $recurringDetailReference) { $rc['recurringDetailReference'] == $recurringDetailReference) {
$contractDetail = $rc; $contractDetail = $rc;
} }
} }
...@@ -847,10 +846,10 @@ class Cron ...@@ -847,10 +846,10 @@ class Cron
'(listRecurringCall did not contain contract)' '(listRecurringCall did not contain contract)'
); );
$this->_adyenLogger->addAdyenNotificationCronjob( $this->_adyenLogger->addAdyenNotificationCronjob(
sprintf('recurringDetailReference in notification is %1', $recurringDetailReference) __('recurringDetailReference in notification is %1', $recurringDetailReference)
); );
$this->_adyenLogger->addAdyenNotificationCronjob( $this->_adyenLogger->addAdyenNotificationCronjob(
sprintf('CustomerReference is: %1 and storeId is %2', $customerReference, $storeId) __('CustomerReference is: %1 and storeId is %2', $customerReference, $storeId)
); );
$this->_adyenLogger->addAdyenNotificationCronjob(print_r($listRecurringContracts, 1)); $this->_adyenLogger->addAdyenNotificationCronjob(print_r($listRecurringContracts, 1));
$message = __( $message = __(
......
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