Ejemplo n.º 1
0
 /**
  * Wrapper to call the framework send() method with the PayPal-specific server URL
  *
  * @author Jonathan Davis
  * @since 1.1
  *
  * @param string $data
  * @param bool $url
  * @return string The response string from the request
  */
 public function send($data, $url = false)
 {
     $options['httpversion'] = '1.1';
     return parent::send($data, $this->url(), $options);
 }
Ejemplo n.º 2
0
	function send ($message) {
		return parent::send($message,$this->url());
	}
Ejemplo n.º 3
0
	function send ($message) {
		$response = parent::send($message,$this->api());
		return $this->response($response);
	}
Ejemplo n.º 4
0
	function send ($message,$url) {
		$type = ($this->settings['testmode'] == "on")?'test':'live';
		$url = sprintf($url[$type],$this->settings['id'],$this->settings['key'],$this->settings['id']);
		$response = parent::send($message,$url);
		return new xmlQuery($response);
	}
Ejemplo n.º 5
0
 function send($message)
 {
     $url = $this->liveurl;
     if ($this->settings['testmode'] == "on") {
         $url = $this->testurl;
     }
     return parent::send($message, $url);
 }
Ejemplo n.º 6
0
	function send ($data) {
		if ($this->settings['testmode'] == "on") $url = $this->testurl;
		else $url = $this->liveurl;
		$url = apply_filters('ecart_authorize_net_url',$url);
		return $this->response(parent::send($data,$url));
	}