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 baa308e7 authored by Alessio Zampatti's avatar Alessio Zampatti Committed by GitHub

PW-1913: fixes #594, on OFFER_CLOSED, if order is already cancelled, don't cancel it again (#597)

parent 28656f7a
...@@ -929,6 +929,12 @@ class Cron ...@@ -929,6 +929,12 @@ class Cron
break; break;
} }
// Order is already Cancelled
if ($this->_order->isCanceled()){
$this->_adyenLogger->addAdyenNotificationCronjob("Order is already cancelled, skipping OFFER_CLOSED");
break;
}
/* /*
* For cards, it can be 'visa', 'maestro',... * For cards, it can be 'visa', 'maestro',...
* For alternatives, it can be 'ideal', 'directEbanking',... * For alternatives, it can be 'ideal', 'directEbanking',...
......
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