Model/Address.php
protected function checkRequiredFieldsPayPalAddress($addressData)
    {
        $reqFields = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aMustFillFields');

        $result = true;

        foreach ($reqFields as $field) {
            if (strpos($field, 'oxaddress__') === 0 && empty($addressData[str_replace('oxaddress__', '', $field)])) {
                return false;
            }
        }

        return $result;
    }
protected function checkRequiredFieldsPayPalAddress($addressData)
    {
        $reqFields = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aMustFillFields');

        $result = true;

        foreach ($reqFields as $field) {
            if (strpos($field, 'oxaddress__') === 0 && empty($addressData[str_replace('oxaddress__', '', $field)])) {
                return false;
            }
        }

        return $result;
    }
protected function checkRequiredFieldsPayPalAddress ( $ addressData ) { $ reqFields = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'aMustFillFields' ) ; $ result = true ; foreach ( $ reqFields as $ field ) { if ( strpos ( $ field , 'oxaddress__' ) === 0 && empty ( $ addressData [ str_replace ( 'oxaddress__' , '' , $ field ) ] ) ) { return false ; } } return $ result ; }
Check required fields.

@param array $addressData - PayPal data.

@return bool
Check required fields .