public function recognize(Pap_Contexts_Tracking $context) { $fpStatus = $context->getFraudProtectionStatus(); if($fpStatus != null && $fpStatus != '') { $context->debug(" Using status '".$fpStatus."' set by fraud protection"); $context->setStatusForAllCommissions($fpStatus); return; } if($this->getCustomStatus($context)) { return; } }