diff --git a/Block/Adminhtml/CaseInfo.php b/Block/Adminhtml/CaseInfo.php index 4fad8b0f..2af858fd 100644 --- a/Block/Adminhtml/CaseInfo.php +++ b/Block/Adminhtml/CaseInfo.php @@ -92,7 +92,7 @@ public function getCaseGuaranteeDisposition() */ public function getCaseScore() { - return floor($this->getCaseEntity()->getData('score')); + return $this->getCaseEntity()->getData('score') ? floor($this->getCaseEntity()->getData('score')) : ''; } /** diff --git a/view/frontend/web/js/view/signifyd-fingerprint.js b/view/frontend/web/js/view/signifyd-fingerprint.js index cf683c6b..9eb7ed7d 100644 --- a/view/frontend/web/js/view/signifyd-fingerprint.js +++ b/view/frontend/web/js/view/signifyd-fingerprint.js @@ -32,7 +32,7 @@ define([ var me = this; if (typeof dataOrderSessionId !== 'undefined' && dataOrderSessionId.length > 0) { - console.log('Sending fingerprint...'); + //console.log('Sending fingerprint...'); me.callScript(dataOrderSessionId); @@ -42,8 +42,8 @@ define([ return true; } else { - console.log('Will not send fingerprint'); - console.log(dataOrderSessionId); + //console.log('Will not send fingerprint'); + //console.log(dataOrderSessionId); return false; }