Skip to content

Commit

Permalink
updated urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Kersten committed May 30, 2018
1 parent 21b8ff0 commit 7b040a2
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ abstract class AbstractRequest extends BaseAbstractRequest
public function getUrl()
{
if ($this->getTestMode()) {
return 'https://api-test.cardgate.com';
return 'https://secure-staging.curopayments.net';
} else {
return 'https://api.cardgate.com';
return 'https://secure.curopayments.net';
}
}

/**
* We need this for api-test.cardgate.com because the hostname does not match the cert...
* We need this because the hostname does not match the cert...
*
* @param bool $bTestmode_
* @param bool $bTestmode_
*/
protected function setSslVerification()
{
Expand All @@ -44,11 +44,11 @@ protected function setSslVerification()
else
$this->httpClient->setSslVerification(); // set to defaults
}

// ------------ Request specific Getter'n'Setters ------------ //

// ------------ Getter'n'Setters ------------ //

/**
*
* @return string
Expand All @@ -60,7 +60,7 @@ public function getApiKey()

/**
*
* @param string $value
* @param string $value
* @return \Omnipay\Cardgate\Gateway
*/
public function setApiKey($value)
Expand All @@ -79,7 +79,7 @@ public function getMerchantId()

/**
*
* @param string $value
* @param string $value
* @return \Omnipay\Cardgate\Gateway
*/
public function setMerchantId($value)
Expand All @@ -98,7 +98,7 @@ public function getSiteId()

/**
*
* @param string $value
* @param string $value
* @return \Omnipay\Cardgate\Gateway
*/
public function setSiteId($value)
Expand All @@ -117,7 +117,7 @@ public function getIpAddress()

/**
*
* @param string $value
* @param string $value
* @return \Omnipay\Cardgate\Gateway
*/
public function setIpAddress($value)
Expand All @@ -136,7 +136,7 @@ public function getNotifyUrl()

/**
*
* @param string $value
* @param string $value
* @return \Omnipay\Cardgate\Gateway
*/
public function setNotifyUrl($value)
Expand All @@ -155,7 +155,7 @@ public function getReturnUrl()

/**
*
* @param string $value
* @param string $value
* @return \Omnipay\Cardgate\Gateway
*/
public function setReturnUrl($value)
Expand All @@ -174,7 +174,7 @@ public function getCancelUrl()

/**
*
* @param string $value
* @param string $value
* @return \Omnipay\Cardgate\Gateway
*/
public function setCancelUrl($value)
Expand All @@ -193,7 +193,7 @@ public function getLanguage()

/**
*
* @param string $value
* @param string $value
* @return \Omnipay\Cardgate\Gateway
*/
public function setLanguage($value)
Expand Down

0 comments on commit 7b040a2

Please sign in to comment.