src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerIPaymentEndPoint.class.php
protected function bIsCorrectIPaymentType()
    {
        $bIsCorrectIPaymentType = false;
        $aParameter = $this->GetPaymentTypeSpecifivParameter();
        $oGlobal = TGlobal::instance();
        $sResponsePaymentType = $oGlobal->GetUserData('trx_paymenttyp');
        if (!empty($sResponsePaymentType) && array_key_exists('trx_paymenttyp', $aParameter) && $aParameter['trx_paymenttyp'] == $sResponsePaymentType) {
            $bIsCorrectIPaymentType = true;
        }

        return $bIsCorrectIPaymentType;
    }
protected function bIsCorrectIPaymentType()
    {
        $bIsCorrectIPaymentType = false;
        $aParameter = $this->GetPaymentTypeSpecifivParameter();
        $oGlobal = TGlobal::instance();
        $sResponsePaymentType = $oGlobal->GetUserData('trx_paymenttyp');
        if (!empty($sResponsePaymentType) && array_key_exists('trx_paymenttyp', $aParameter) && $aParameter['trx_paymenttyp'] == $sResponsePaymentType) {
            $bIsCorrectIPaymentType = true;
        }

        return $bIsCorrectIPaymentType;
    }
protected function bIsCorrectIPaymentType ( ) { $ bIsCorrectIPaymentType = false ; $ aParameter = $ this -> GetPaymentTypeSpecifivParameter ( ) ; $ oGlobal = TGlobal :: instance ( ) ; $ sResponsePaymentType = $ oGlobal -> GetUserData ( 'trx_paymenttyp' ) ; if ( ! empty ( $ sResponsePaymentType ) && array_key_exists ( 'trx_paymenttyp' , $ aParameter ) && $ aParameter [ 'trx_paymenttyp' ] == $ sResponsePaymentType ) { $ bIsCorrectIPaymentType = true ; } return $ bIsCorrectIPaymentType ; }
Check after response from IPayment if the paymenthandler is the one which sent request to IPayment.

@return bool $bIsCorrectIPaymentType
Check after response from IPayment if the paymenthandler is the one which sent request to IPayment .