Core/Caller.php
public function call($methodName = null)
    {
        $this->setMethod($methodName);

        $curl = $this->getCurl();
        $curl->setParameters($this->getParameters());

        $this->log($this->getParameters(), 'Request to PayPal');

        $response = $curl->execute();

        $this->log($response, 'Response from PayPal');

        $this->validateResponse($response);

        return $response;
    }
public function call($methodName = null)
    {
        $this->setMethod($methodName);

        $curl = $this->getCurl();
        $curl->setParameters($this->getParameters());

        $this->log($this->getParameters(), 'Request to PayPal');

        $response = $curl->execute();

        $this->log($response, 'Response from PayPal');

        $this->validateResponse($response);

        return $response;
    }
public function call ( $ methodName = null ) { $ this -> setMethod ( $ methodName ) ; $ curl = $ this -> getCurl ( ) ; $ curl -> setParameters ( $ this -> getParameters ( ) ) ; $ this -> log ( $ this -> getParameters ( ) , 'Request to PayPal' ) ; $ response = $ curl -> execute ( ) ; $ this -> log ( $ response , 'Response from PayPal' ) ; $ this -> validateResponse ( $ response ) ; return $ response ; }
Calls given remote PayPal method.

@param string $methodName .

@return array
Calls given remote PayPal method .