diff --git a/Gateway/Validator/Client/PaymentActionsValidator.php b/Gateway/Validator/Client/PaymentActionsValidator.php index bfa1c22..1eeccbc 100644 --- a/Gateway/Validator/Client/PaymentActionsValidator.php +++ b/Gateway/Validator/Client/PaymentActionsValidator.php @@ -112,7 +112,7 @@ public function validate(array $validationSubject) $this->errorTracker->logErrorToAffirm( transaction_step: $transaction_step, error_type: ErrorTracker::TRANSACTION_DECLINED, - error_message: $errorMessages[0]->render() + error_message: $errorMessages[0] ); throw new \Magento\Framework\Validator\Exception(__($errorMessages[0])); @@ -120,4 +120,4 @@ public function validate(array $validationSubject) return $this->createResult($validationResult, $errorMessages); } -} \ No newline at end of file +}