/** * Prepare url * * @param string $url Url * @param string $type Request type * @param array $params Request params * * @return string */ protected function prepareUrl($url, $type, $params) { $url = $this->isTestMode() ? 'https://api-3t.sandbox.paypal.com/nvp' : 'https://api-3t.paypal.com/nvp'; return parent::prepareUrl($url, $type, $params); }
/** * Prepare url * * @param string $url Url * @param string $type Request type * @param array $params Request params * * @return string */ protected function prepareUrl($url, $type, $params) { $url = $this->isTestMode() ? 'https://pilot-payflowpro.paypal.com/' : 'https://payflowpro.paypal.com/'; return parent::prepareUrl($url, $type, $params); }