Controller/ExpressCheckoutDispatcher.php
protected function getCancelUrl()
    {
        $cancelURLFromRequest = $this->getRequest()->getRequestParameter('oePayPalCancelURL');
        $cancelUrl = $this->getSession()->processUrl($this->getBaseUrl() . "&cl=basket");

        if ($cancelURLFromRequest) {
            $cancelUrl = html_entity_decode(urldecode($cancelURLFromRequest));
        } elseif ($requestedControllerKey = $this->getRequestedControllerKey()) {
            $cancelUrl = $this->getSession()->processUrl($this->getBaseUrl() . '&cl=' . $requestedControllerKey);
        }

        return $cancelUrl;
    }
protected function getCancelUrl()
    {
        $cancelURLFromRequest = $this->getRequest()->getRequestParameter('oePayPalCancelURL');
        $cancelUrl = $this->getSession()->processUrl($this->getBaseUrl() . "&cl=basket");

        if ($cancelURLFromRequest) {
            $cancelUrl = html_entity_decode(urldecode($cancelURLFromRequest));
        } elseif ($requestedControllerKey = $this->getRequestedControllerKey()) {
            $cancelUrl = $this->getSession()->processUrl($this->getBaseUrl() . '&cl=' . $requestedControllerKey);
        }

        return $cancelUrl;
    }
protected function getCancelUrl ( ) { $ cancelURLFromRequest = $ this -> getRequest ( ) -> getRequestParameter ( 'oePayPalCancelURL' ) ; $ cancelUrl = $ this -> getSession ( ) -> processUrl ( $ this -> getBaseUrl ( ) . "&cl=basket" ) ; if ( $ cancelURLFromRequest ) { $ cancelUrl = html_entity_decode ( urldecode ( $ cancelURLFromRequest ) ) ; } elseif ( $ requestedControllerKey = $ this -> getRequestedControllerKey ( ) ) { $ cancelUrl = $ this -> getSession ( ) -> processUrl ( $ this -> getBaseUrl ( ) . '&cl=' . $ requestedControllerKey ) ; } return $ cancelUrl ; }
Returns CANCEL URL

@return string
Returns CANCEL URL