diff --git a/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php b/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php
index 318d2d94391e..3004db09e005 100644
--- a/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php
+++ b/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php
@@ -1,7 +1,7 @@
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Bank Details', 'card_title' => 'Bank Details'])
@section('gateway_head')
- @if($gateway->getConfigField('testMode'))
+ @if($gateway->company_gateway->getConfigField('testMode'))
@else
@@ -116,7 +116,7 @@
var routing_number=document.getElementById('routing-number').value;
var data = {
- api_login_id: '{{$gateway->getConfigField("apiLoginId")}}',
+ api_login_id: '{{$gateway->company_gateway->getConfigField("apiLoginId")}}',
account_number: account_number,
routing_number: routing_number,
account_type: "checking",
diff --git a/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php b/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php
index 70d356f8e2f2..577999262a05 100644
--- a/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php
+++ b/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php
@@ -9,7 +9,7 @@
- @if($gateway->getConfigField('testMode'))
+ @if($gateway->company_gateway->getConfigField('testMode'))
@else
@@ -106,7 +106,7 @@
document.getElementById('expire_month').value=month;
var data = {
- api_login_id: '{{$gateway->getConfigField("apiLoginId")}}',
+ api_login_id: '{{$gateway->company_gateway->getConfigField("apiLoginId")}}',
card_number: cc,
expire_year: year,
expire_month: month,