testMode error solved.
This commit is contained in:
parent
87df26a6fd
commit
69a09a5dcc
2 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ class ACH
|
|||
$this->forte = $forte;
|
||||
|
||||
$this->forte_base_uri = "https://sandbox.forte.net/api/v3/";
|
||||
if($this->forte->company_gateway->getConfigField('testMode') == true){
|
||||
if($this->forte->company_gateway->getConfigField('testMode') == false){
|
||||
$this->forte_base_uri = "https://api.forte.net/v3/";
|
||||
}
|
||||
$this->forte_api_access_id = $this->forte->company_gateway->getConfigField('apiAccessId');
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ class CreditCard
|
|||
$this->forte = $forte;
|
||||
|
||||
$this->forte_base_uri = "https://sandbox.forte.net/api/v3/";
|
||||
if($this->forte->company_gateway->getConfigField('testMode') == true){
|
||||
if($this->forte->company_gateway->getConfigField('testMode') == false){
|
||||
$this->forte_base_uri = "https://api.forte.net/v3/";
|
||||
}
|
||||
$this->forte_api_access_id = $this->forte->company_gateway->getConfigField('apiAccessId');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue