src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerIPaymentEndPoint.class.php
protected function IsSecurityCheckOk($trxuser_id, $trx_amount, $trx_currency, $trxpassword, $ret_trx_number, $sOldChecksum)
    {
        $bChecksumIsOk = true;
        $sSharedSecret = $this->GetConfigParameter('shared_secret');
        if (!empty($sSharedSecret)) {
            $sNewChecksum = md5($trxuser_id.$trx_amount.$trx_currency.$trxpassword.$ret_trx_number.$sSharedSecret);
            if ($sNewChecksum != $sOldChecksum) {
                $bChecksumIsOk = false;
            }
        }

        return $bChecksumIsOk;
    }
protected function IsSecurityCheckOk($trxuser_id, $trx_amount, $trx_currency, $trxpassword, $ret_trx_number, $sOldChecksum)
    {
        $bChecksumIsOk = true;
        $sSharedSecret = $this->GetConfigParameter('shared_secret');
        if (!empty($sSharedSecret)) {
            $sNewChecksum = md5($trxuser_id.$trx_amount.$trx_currency.$trxpassword.$ret_trx_number.$sSharedSecret);
            if ($sNewChecksum != $sOldChecksum) {
                $bChecksumIsOk = false;
            }
        }

        return $bChecksumIsOk;
    }
protected function IsSecurityCheckOk ( $ trxuser_id , $ trx_amount , $ trx_currency , $ trxpassword , $ ret_trx_number , $ sOldChecksum ) { $ bChecksumIsOk = true ; $ sSharedSecret = $ this -> GetConfigParameter ( 'shared_secret' ) ; if ( ! empty ( $ sSharedSecret ) ) { $ sNewChecksum = md5 ( $ trxuser_id . $ trx_amount . $ trx_currency . $ trxpassword . $ ret_trx_number . $ sSharedSecret ) ; if ( $ sNewChecksum != $ sOldChecksum ) { $ bChecksumIsOk = false ; } } return $ bChecksumIsOk ; }
make md5 check over security parameter with shared secret and chek resutl with
hash from IPayment.

@param string $trxuser_id
@param string $trx_amount
@param string $trx_currency
@param string $trxpassword
@param string $ret_trx_number
@param string $sOldChecksum

@return bool $bChecksumIsOk
make md5 check over security parameter with shared secret and chek resutl with hash from IPayment .