Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Requests/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ abstract class AbstractRequest extends CommonAbstractRequest
/**
* @var string
*/
protected $testServerEndpoint = 'https://secureshop-test.firstdata.lv:8443/ecomm/MerchantHandler';
protected $testServerEndpoint = 'https://securepaymentpage-test.baltic.worldline-solutions.com:8443/ecomm/MerchantHandler'; //phpcs:ignore

/**
* @var string
*/
protected $liveServerEndpoint = 'https://secureshop.firstdata.lv:8443/ecomm/MerchantHandler';
protected $liveServerEndpoint = 'https://securepaymentpage.baltic.worldline-solutions.com:8443/ecomm/MerchantHandler'; //phpcs:ignore


/**
Expand Down
4 changes: 2 additions & 2 deletions src/Responses/AbstractResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ abstract class AbstractResponse extends CommonAbstractResponse
/**
* @var string
*/
protected $testClientEndpoint = 'https://secureshop-test.firstdata.lv/ecomm/ClientHandler';
protected $testClientEndpoint = 'https://securepaymentpage-test.baltic.worldline-solutions.com/ecomm/ClientHandler';

/**
* @var string
*/
protected $liveClientEndpoint = 'https://secureshop.firstdata.lv/ecomm/ClientHandler';
protected $liveClientEndpoint = 'https://securepaymentpage.baltic.worldline-solutions.com/ecomm/ClientHandler';

/**
* @var bool
Expand Down
4 changes: 2 additions & 2 deletions tests/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function testPurchaseSuccess()
$this->assertEquals(array(), $response->getRedirectData());
$this->assertEquals('0AmRNR/ntNUZpeTkHSCGVw1wivc=', $response->getTransactionReference());
$this->assertEquals('GET', $response->getRedirectMethod());
$this->assertEquals('https://secureshop-test.firstdata.lv/ecomm/ClientHandler?trans_id=0AmRNR%2FntNUZpeTkHSCGVw1wivc%3D', $response->getRedirectUrl());
$this->assertEquals('https://securepaymentpage-test.baltic.worldline-solutions.com/ecomm/ClientHandler?trans_id=0AmRNR%2FntNUZpeTkHSCGVw1wivc%3D', $response->getRedirectUrl());
}

public function testPurchaseFailed()
Expand Down Expand Up @@ -291,7 +291,7 @@ public function testAuthorize()
$this->assertEquals(array(), $response->getRedirectData());
$this->assertEquals('BBmRNR/ntNUZpeTkHSCGVw1wivc=', $response->getTransactionReference());
$this->assertEquals('GET', $response->getRedirectMethod());
$this->assertEquals('https://secureshop-test.firstdata.lv/ecomm/ClientHandler?trans_id=BBmRNR%2FntNUZpeTkHSCGVw1wivc%3D', $response->getRedirectUrl());
$this->assertEquals('https://securepaymentpage-test.baltic.worldline-solutions.com/ecomm/ClientHandler?trans_id=BBmRNR%2FntNUZpeTkHSCGVw1wivc%3D', $response->getRedirectUrl());
}

public function testAuthorizeFailed()
Expand Down
2 changes: 1 addition & 1 deletion tests/Messages/AbstractRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function testSendData()

// test actual headers we are sending
$headers = array(
'Host' => ['secureshop.firstdata.lv:8443'],
'Host' => ['securepaymentpage.baltic.worldline-solutions.com:8443'],
'Content-Type' => ['application/x-www-form-urlencoded']
);
$this->assertSame($headers, $httpRequest->getHeaders());
Expand Down