Skip to content

Commit

Permalink
Merge 38d2896 into 20b47d1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksnellockdt committed Oct 24, 2018
2 parents 20b47d1 + 38d2896 commit 0e51627
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/AbstractPay360Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,18 @@ public function setScpService($scpService)

protected function getScpService()
{
/**
* The location is nbeing set as the wsdl file is only supplied from the test endpoint. This is set up as the
* default in the scpService class so can be supplied as null here
*/
if ($this->getParameter('scpService') == null) {
$scpClient = new \scpService(
$this->getEndpoint(),
null,
[
'encoding' => 'UTF-8',
'exception' => true,
'trace' => true,
'location' => $this->getEndpoint(),
]
);
return $scpClient;
Expand Down

0 comments on commit 0e51627

Please sign in to comment.