This repository was archived by the owner on Mar 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ abstract class AbstractResponse extends OmnipayAbstractResponse implements Redir
25
25
/**
26
26
* @var string
27
27
*/
28
- protected $ productionEndpoint = 'https://payment .datatrans.biz /upp/jsp/upStart.jsp ' ;
28
+ protected $ productionEndpoint = 'https://pay .datatrans.com /upp/jsp/upStart.jsp ' ;
29
29
30
30
/**
31
31
* @var string
32
32
*/
33
- protected $ testEndpoint = 'https://pay.datatrans.com/upp/jsp/upStart.jsp ' ;
33
+ protected $ testEndpoint = 'https://pay.sandbox. datatrans.com/upp/jsp/upStart.jsp ' ;
34
34
35
35
/*** STATUS CODES ****/
36
36
/**
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ abstract class XmlRequest extends AbstractRequest
27
27
*
28
28
* @var string
29
29
*/
30
- protected $ apiBaseProdUrl = 'https://api.sandbox. datatrans.com/upp/jsp ' ;
30
+ protected $ apiBaseProdUrl = 'https://api.datatrans.com/upp/jsp ' ;
31
31
/**
32
32
* The XML API Endpoint Base URL
33
33
*
34
34
* @var string
35
35
*/
36
- protected $ apiBaseTestUrl = 'https://pay .sandbox.datatrans.com/upp/jsp ' ;
36
+ protected $ apiBaseTestUrl = 'https://api .sandbox.datatrans.com/upp/jsp ' ;
37
37
38
38
/**
39
39
* defines the endpoint for a specific api
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function testPurchase()
51
51
$ this ->assertTrue ($ response ->isRedirect ());
52
52
$ this ->assertEquals ('POST ' , $ response ->getRedirectMethod ());
53
53
$ this ->assertEquals ($ data , $ response ->getRedirectData ());
54
- $ this ->assertStringStartsWith ('https://pay.datatrans.com/upp/jsp/upStart.jsp ' , $ response ->getRedirectUrl ());
54
+ $ this ->assertStringStartsWith ('https://pay.sandbox. datatrans.com/upp/jsp/upStart.jsp ' , $ response ->getRedirectUrl ());
55
55
}
56
56
57
57
public function testCompletePurchaseSuccess ()
You can’t perform that action at this time.
0 commit comments