app/code/community/Adyen/Payment/Model/Event.php
public function isDuplicate($pspReference, $event, $success)
    {
        $success = (trim($success) == "true") ? true : false;
        $result = $this->getResource()->getEvent(trim($pspReference), trim($event), $success);
        return (empty($result)) ? false : true;
    }
public function isDuplicate($pspReference, $event, $success)
    {
        $success = (trim($success) == "true") ? true : false;
        $result = $this->getResource()->getEvent(trim($pspReference), trim($event), $success);
        return (empty($result)) ? false : true;
    }
public function isDuplicate ( $ pspReference , $ event , $ success ) { $ success = ( trim ( $ success ) == "true" ) ? true : false ; $ result = $ this -> getResource ( ) -> getEvent ( trim ( $ pspReference ) , trim ( $ event ) , $ success ) ; return ( empty ( $ result ) ) ? false : true ; }
Check if the Adyen Notification is already stored in the system
@param type $dbPspReference
@param type $dbEventCode
@return boolean true if the event is a duplicate
Check if the Adyen Notification is already stored in the system