Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Format

  • Loading branch information...
commit 04ed4d9e7f7ed31c5e0eee312fac92c8aef41448 1 parent 0dcbe86
ouardisoft authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 Plugins/Wirecard.php
View
13 Plugins/Wirecard.php
@@ -81,7 +81,7 @@ class Wirecard
* @var string
*/
private $xmlSchema;
-
+
/**
*
* @return string
@@ -157,7 +157,7 @@ public function setUrl($url)
{
$this->url = $url;
}
-
+
/**
*
* @return array
@@ -264,7 +264,7 @@ public function getParameters()
public function setParameters($parameters)
{
$this->parameters = $parameters;
- }
+ }
/**
*
@@ -341,7 +341,7 @@ public function dispatch()
throw new Exception(sprintf('You must define "%s" parameter.', $param));
}
- call_user_func(array($this, 'set'. $param), $this->parameters[$param]);
+ call_user_func(array($this, 'set' . $param), $this->parameters[$param]);
}
// generate params
@@ -370,7 +370,7 @@ public function call()
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
- curl_setopt($ch, CURLOPT_CAINFO, __DIR__.'/../tcclass3-2011.pem');
+ curl_setopt($ch, CURLOPT_CAINFO, __DIR__ . '/../tcclass3-2011.pem');
curl_setopt($ch, CURLOPT_USERAGENT, 'WireCard Payment Request');
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
@@ -481,8 +481,9 @@ public function getDefaultParameters()
'{{ City }}' => null,
'{{ Address1 }}' => null,
'{{ IPAddress }}' => null,
- );
+ );
return $params;
}
+
}

0 comments on commit 04ed4d9

Please sign in to comment.
Something went wrong with that request. Please try again.