public function getUrl()
    {
        if ($this->isSandboxEnabled()) {
            $url = $this->getPayPalSandboxUrl();
        } else {
            $url = $this->getPayPalUrl();
        }

        return $url;
    }