Model/User.php
public function loadUserPayPalUser()
    {
        $result = false;
        if (($userId = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable("oepaypal-userId"))) {
            $result = $this->load($userId);
        }

        return $result;
    }
public function loadUserPayPalUser()
    {
        $result = false;
        if (($userId = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable("oepaypal-userId"))) {
            $result = $this->load($userId);
        }

        return $result;
    }
public function loadUserPayPalUser ( ) { $ result = false ; if ( ( $ userId = \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( "oepaypal-userId" ) ) ) { $ result = $ this -> load ( $ userId ) ; } return $ result ; }
Returns user from session associated with current PayPal order.

@return bool
Returns user from session associated with current PayPal order .