Core/Config.php
public function getHost()
    {
        if ($this->isSandboxEnabled()) {
            $url = $this->getPayPalSandboxHost();
        } else {
            $url = $this->getPayPalHost();
        }

        return $url;
    }
public function getHost()
    {
        if ($this->isSandboxEnabled()) {
            $url = $this->getPayPalSandboxHost();
        } else {
            $url = $this->getPayPalHost();
        }

        return $url;
    }
public function getHost ( ) { if ( $ this -> isSandboxEnabled ( ) ) { $ url = $ this -> getPayPalSandboxHost ( ) ; } else { $ url = $ this -> getPayPalHost ( ) ; } return $ url ; }
Returns PayPal OR PayPal sandbox host.

@return string
Returns PayPal OR PayPal sandbox host .