Skip to content

Commit a661c21

Browse files
committed
Merge pull request #1 from wearecolours/master
Update endpoint URLs
2 parents 1b99bab + 0026955 commit a661c21

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Message/PurchaseRequest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
*/
1010
class PurchaseRequest extends AbstractRequest
1111
{
12-
protected $liveEndpoint = 'https://epayment.bbs.no';
13-
protected $testEndpoint = 'https://epayment-test.bbs.no';
12+
protected $liveEndpoint = 'https://epayment.nets.eu';
13+
protected $testEndpoint = 'https://test.epayment.nets.eu';
1414

1515
public function getMerchantId()
1616
{

tests/GatewayTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function testPurchaseSuccess()
3232
$this->assertTrue($response->isRedirect());
3333
$this->assertEquals('f3d94dd5c0f743a788fc943402757c58', $response->getTransactionReference());
3434
$this->assertSame('GET', $response->getRedirectMethod());
35-
$this->assertSame('https://epayment.bbs.no/Terminal/Default.aspx?merchantId=foo&transactionId=f3d94dd5c0f743a788fc943402757c58', $response->getRedirectUrl());
35+
$this->assertSame('https://epayment.nets.eu/Terminal/Default.aspx?merchantId=foo&transactionId=f3d94dd5c0f743a788fc943402757c58', $response->getRedirectUrl());
3636
}
3737

3838
public function testPurchaseFailure()

0 commit comments

Comments
 (0)