source/Application/Controller/PaymentController.php
protected function _filterDynData()
    {
        //in case we actually ARE allowed to store the data
        if (\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("blStoreCreditCardInfo")) {
            //then do nothing and reset _blDynDataFiltered
            $this->_blDynDataFiltered = false;

            return;
        }

        $aDynData = $this->getSession()->getVariable("dynvalue");

        $aFields = ["kktype", "kknumber", "kkname", "kkmonth", "kkyear", "kkpruef"];

        if ($aDynData) {
            if (!$this->_checkArrValuesEmpty($aDynData, $aFields)) {
                $this->_blDynDataFiltered = true;
            }
            $aDynData["kktype"] = null;
            $aDynData["kknumber"] = null;
            $aDynData["kkname"] = null;
            $aDynData["kkmonth"] = null;
            $aDynData["kkyear"] = null;
            $aDynData["kkpruef"] = null;
            \OxidEsales\Eshop\Core\Registry::getSession()->setVariable("dynvalue", $aDynData);
        }

        if (!$this->_checkArrValuesEmpty($_REQUEST["dynvalue"], $aFields) ||
            !$this->_checkArrValuesEmpty($_POST["dynvalue"], $aFields) ||
            !$this->_checkArrValuesEmpty($_GET["dynvalue"], $aFields)
        ) {
            $this->_blDynDataFiltered = true;
        }

        unset($_REQUEST["dynvalue"]["kktype"]);
        unset($_REQUEST["dynvalue"]["kknumber"]);
        unset($_REQUEST["dynvalue"]["kkname"]);
        unset($_REQUEST["dynvalue"]["kkmonth"]);
        unset($_REQUEST["dynvalue"]["kkyear"]);
        unset($_REQUEST["dynvalue"]["kkpruef"]);

        unset($_POST["dynvalue"]["kktype"]);
        unset($_POST["dynvalue"]["kknumber"]);
        unset($_POST["dynvalue"]["kkname"]);
        unset($_POST["dynvalue"]["kkmonth"]);
        unset($_POST["dynvalue"]["kkyear"]);
        unset($_POST["dynvalue"]["kkpruef"]);

        unset($_GET["dynvalue"]["kktype"]);
        unset($_GET["dynvalue"]["kknumber"]);
        unset($_GET["dynvalue"]["kkname"]);
        unset($_GET["dynvalue"]["kkmonth"]);
        unset($_GET["dynvalue"]["kkyear"]);
        unset($_GET["dynvalue"]["kkpruef"]);
    }
protected function _filterDynData()
    {
        //in case we actually ARE allowed to store the data
        if (\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("blStoreCreditCardInfo")) {
            //then do nothing and reset _blDynDataFiltered
            $this->_blDynDataFiltered = false;

            return;
        }

        $aDynData = $this->getSession()->getVariable("dynvalue");

        $aFields = ["kktype", "kknumber", "kkname", "kkmonth", "kkyear", "kkpruef"];

        if ($aDynData) {
            if (!$this->_checkArrValuesEmpty($aDynData, $aFields)) {
                $this->_blDynDataFiltered = true;
            }
            $aDynData["kktype"] = null;
            $aDynData["kknumber"] = null;
            $aDynData["kkname"] = null;
            $aDynData["kkmonth"] = null;
            $aDynData["kkyear"] = null;
            $aDynData["kkpruef"] = null;
            \OxidEsales\Eshop\Core\Registry::getSession()->setVariable("dynvalue", $aDynData);
        }

        if (!$this->_checkArrValuesEmpty($_REQUEST["dynvalue"], $aFields) ||
            !$this->_checkArrValuesEmpty($_POST["dynvalue"], $aFields) ||
            !$this->_checkArrValuesEmpty($_GET["dynvalue"], $aFields)
        ) {
            $this->_blDynDataFiltered = true;
        }

        unset($_REQUEST["dynvalue"]["kktype"]);
        unset($_REQUEST["dynvalue"]["kknumber"]);
        unset($_REQUEST["dynvalue"]["kkname"]);
        unset($_REQUEST["dynvalue"]["kkmonth"]);
        unset($_REQUEST["dynvalue"]["kkyear"]);
        unset($_REQUEST["dynvalue"]["kkpruef"]);

        unset($_POST["dynvalue"]["kktype"]);
        unset($_POST["dynvalue"]["kknumber"]);
        unset($_POST["dynvalue"]["kkname"]);
        unset($_POST["dynvalue"]["kkmonth"]);
        unset($_POST["dynvalue"]["kkyear"]);
        unset($_POST["dynvalue"]["kkpruef"]);

        unset($_GET["dynvalue"]["kktype"]);
        unset($_GET["dynvalue"]["kknumber"]);
        unset($_GET["dynvalue"]["kkname"]);
        unset($_GET["dynvalue"]["kkmonth"]);
        unset($_GET["dynvalue"]["kkyear"]);
        unset($_GET["dynvalue"]["kkpruef"]);
    }
protected function _filterDynData ( ) { //in case we actually ARE allowed to store the data if ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( "blStoreCreditCardInfo" ) ) { //then do nothing and reset _blDynDataFiltered $ this -> _blDynDataFiltered = false ; return ; } $ aDynData = $ this -> getSession ( ) -> getVariable ( "dynvalue" ) ; $ aFields = [ "kktype" , "kknumber" , "kkname" , "kkmonth" , "kkyear" , "kkpruef" ] ; if ( $ aDynData ) { if ( ! $ this -> _checkArrValuesEmpty ( $ aDynData , $ aFields ) ) { $ this -> _blDynDataFiltered = true ; } $ aDynData [ "kktype" ] = null ; $ aDynData [ "kknumber" ] = null ; $ aDynData [ "kkname" ] = null ; $ aDynData [ "kkmonth" ] = null ; $ aDynData [ "kkyear" ] = null ; $ aDynData [ "kkpruef" ] = null ; \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> setVariable ( "dynvalue" , $ aDynData ) ; } if ( ! $ this -> _checkArrValuesEmpty ( $ _REQUEST [ "dynvalue" ] , $ aFields ) || ! $ this -> _checkArrValuesEmpty ( $ _POST [ "dynvalue" ] , $ aFields ) || ! $ this -> _checkArrValuesEmpty ( $ _GET [ "dynvalue" ] , $ aFields ) ) { $ this -> _blDynDataFiltered = true ; } unset ( $ _REQUEST [ "dynvalue" ] [ "kktype" ] ) ; unset ( $ _REQUEST [ "dynvalue" ] [ "kknumber" ] ) ; unset ( $ _REQUEST [ "dynvalue" ] [ "kkname" ] ) ; unset ( $ _REQUEST [ "dynvalue" ] [ "kkmonth" ] ) ; unset ( $ _REQUEST [ "dynvalue" ] [ "kkyear" ] ) ; unset ( $ _REQUEST [ "dynvalue" ] [ "kkpruef" ] ) ; unset ( $ _POST [ "dynvalue" ] [ "kktype" ] ) ; unset ( $ _POST [ "dynvalue" ] [ "kknumber" ] ) ; unset ( $ _POST [ "dynvalue" ] [ "kkname" ] ) ; unset ( $ _POST [ "dynvalue" ] [ "kkmonth" ] ) ; unset ( $ _POST [ "dynvalue" ] [ "kkyear" ] ) ; unset ( $ _POST [ "dynvalue" ] [ "kkpruef" ] ) ; unset ( $ _GET [ "dynvalue" ] [ "kktype" ] ) ; unset ( $ _GET [ "dynvalue" ] [ "kknumber" ] ) ; unset ( $ _GET [ "dynvalue" ] [ "kkname" ] ) ; unset ( $ _GET [ "dynvalue" ] [ "kkmonth" ] ) ; unset ( $ _GET [ "dynvalue" ] [ "kkyear" ] ) ; unset ( $ _GET [ "dynvalue" ] [ "kkpruef" ] ) ; }
Due to legal reasons probably you are not allowed to store or even handle credit card data.
In this case we just delete and forget all submited credit card data from this point.
Override this method if you actually want to process credit card data.

Note: You should override this method as setting blStoreCreditCardInfo to true would
force storing CC data on shop side (what most often is illegal).

@return null
Due to legal reasons probably you are not allowed to store or even handle credit card data . In this case we just delete and forget all submited credit card data from this point . Override this method if you actually want to process credit card data .