protected function getBaseUrl()
    {
        $session = $this->getSession();
        $url = \OxidEsales\Eshop\Core\Registry::getConfig()->getSslShopUrl() . "index.php?lang=" . \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage() . "&sid=" . $session->getId() . "&rtoken=" . $session->getRemoteAccessToken();
        $url .= "&shp=" . \OxidEsales\Eshop\Core\Registry::getConfig()->getShopId();

        return $url;
    }