Exemplo n.º 1
0
 /**
  * Check - display AntiFraud module advertisment or not
  *
  * @return boolean
  */
 protected function isDisplayAntiFraudAd()
 {
     $result = parent::isDisplayAntiFraudAd();
     if ($result && \XLite\Module\CDev\XPaymentsConnector\Core\Kount::getInstance()->getKountData($this->getOrder())) {
         $result = false;
     }
     return $result;
 }
Exemplo n.º 2
0
 /**
  * Get CSS class for Kount score
  *
  * @return string
  */
 protected function getKountScoreClass()
 {
     return \XLite\Module\CDev\XPaymentsConnector\Core\Kount::getInstance()->getKountScoreClass($this->getOrder());
 }