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 4c11263b authored by alexandros's avatar alexandros

Revert notification process

parent 5b395168
...@@ -867,13 +867,7 @@ class Cron ...@@ -867,13 +867,7 @@ class Cron
break; break;
case Notification::HANDLED_EXTERNALLY: case Notification::HANDLED_EXTERNALLY:
case Notification::AUTHORISATION: case Notification::AUTHORISATION:
if ($this->_paymentMethod == 'alipay_hk_web'
&& $this->_order->getStatus() == $this->_adyenHelper->getAdyenAbstractConfigData('payment_cancelled')) {
$this->_authorizePayment(); $this->_authorizePayment();
$this->_refundOrder();
} else {
$this->_authorizePayment();
}
break; break;
case Notification::MANUAL_REVIEW_REJECT: case Notification::MANUAL_REVIEW_REJECT:
// don't do anything it will send a CANCEL_OR_REFUND notification when this payment is captured // don't do anything it will send a CANCEL_OR_REFUND notification when this payment is captured
......
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