1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

forte_base_uri error solved.

This commit is contained in:
Kishan Patel 2022-04-21 12:02:01 +05:30
parent ccc4443001
commit 87df26a6fd
2 changed files with 4 additions and 4 deletions

View File

@ -38,9 +38,9 @@ class ACH
{
$this->forte = $forte;
$this->forte_base_uri = "https://sandbox.forte.net/api/v3";
$this->forte_base_uri = "https://sandbox.forte.net/api/v3/";
if($this->forte->company_gateway->getConfigField('testMode') == true){
$this->forte_base_uri = "https://api.forte.net/v3";
$this->forte_base_uri = "https://api.forte.net/v3/";
}
$this->forte_api_access_id = $this->forte->company_gateway->getConfigField('apiAccessId');
$this->forte_secure_key = $this->forte->company_gateway->getConfigField('secureKey');

View File

@ -39,9 +39,9 @@ class CreditCard
{
$this->forte = $forte;
$this->forte_base_uri = "https://sandbox.forte.net/api/v3";
$this->forte_base_uri = "https://sandbox.forte.net/api/v3/";
if($this->forte->company_gateway->getConfigField('testMode') == true){
$this->forte_base_uri = "https://api.forte.net/v3";
$this->forte_base_uri = "https://api.forte.net/v3/";
}
$this->forte_api_access_id = $this->forte->company_gateway->getConfigField('apiAccessId');
$this->forte_secure_key = $this->forte->company_gateway->getConfigField('secureKey');