public function getIpnHost()
    {
        if ($this->getPayPalConfig()->isSandboxEnabled()) {
            $url = $this->getPayPalSandboxIpnHost();
        } else {
            $url = $this->getPayPalIpnHost();
        }

        return $url;
    }