From 9064dac8f0b493141376c598fcb97eb1d3852525 Mon Sep 17 00:00:00 2001 From: Yugesh Ramteke Date: Thu, 29 Sep 2016 16:35:00 -0400 Subject: [PATCH] Removed chargeback nodes from feedback request --- .../community/Radial/FraudInsight/Model/Build/Feedback.php | 4 +--- .../Radial/FraudInsight/Model/Process/Feedback/Response.php | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/code/community/Radial/FraudInsight/Model/Build/Feedback.php b/src/app/code/community/Radial/FraudInsight/Model/Build/Feedback.php index fba53e3..78658dd 100644 --- a/src/app/code/community/Radial/FraudInsight/Model/Build/Feedback.php +++ b/src/app/code/community/Radial/FraudInsight/Model/Build/Feedback.php @@ -91,9 +91,7 @@ protected function _buildFeedback() ->setOrderId($this->_order->getIncrementId()) ->setStoreId($this->_config->getStoreId()) ->setActionTaken($this->_order->getState()) - ->setActionTakenDescription($this->_order->getStatus()) - ->setChargeBackCode(static::CHARGE_BACK_CODE) - ->setChargeBackFlagDescription(static::CHARGE_BACK_FLAG_DESCRIPTION); + ->setActionTakenDescription($this->_order->getStatus()); return $this; } } diff --git a/src/app/code/community/Radial/FraudInsight/Model/Process/Feedback/Response.php b/src/app/code/community/Radial/FraudInsight/Model/Process/Feedback/Response.php index ffef5d8..cb60444 100644 --- a/src/app/code/community/Radial/FraudInsight/Model/Process/Feedback/Response.php +++ b/src/app/code/community/Radial/FraudInsight/Model/Process/Feedback/Response.php @@ -145,7 +145,6 @@ protected function _updateFeedback() $this->_incrementFeedbackAttemptCount() ->setIsFeedbackSent(1) ->setActionTakenAcknowledgement($this->_sdkHelper->convertStringToBoolean($this->_response->getActionTakenAcknowledgement())) - ->setChargeBackAcknowledgement($this->_sdkHelper->convertStringToBoolean($this->_response->getChargeBackAcknowledgement())) ->save(); } return $this;