diff --git a/controllers/front/notify.php b/controllers/front/notify.php index 2b607f74..2e6b2d43 100755 --- a/controllers/front/notify.php +++ b/controllers/front/notify.php @@ -102,34 +102,6 @@ public function postProcess() $checkoutData->setOrderStatus($transactionStatus); - PrestaShopLogger::addLog( - sprintf( - 'Order %s has been updated to status %s', - $cart->id, - $transactionStatus - ), - 1, - null, - null, - null, - true - ); - - $checkoutProcessor->run($checkoutData); - - - PrestaShopLogger::addLog( - sprintf( - 'Order %s has been updated to status %s', - $cart->id, - $transactionStatus - ), - 1, - null, - null, - null, - true - ); $orderId = $this->getOrderId($cartId); //TODO look into pipeline design pattern to use when object is modified in multiple places to avoid this issue. @@ -219,19 +191,6 @@ public function postProcess() die($this->module->l($e->getMessage(), self::FILENAME)); } - PrestaShopLogger::addLog( - sprintf( - 'Order %s has been updated to status %s', - $order->reference, - $transactionStatus - ), - 1, - null, - null, - null, - true - ); - die($this->module->l('Success', self::FILENAME)); }