diff --git a/config/ninja.php b/config/ninja.php
index 4c7da8e806..47c535b0d4 100644
--- a/config/ninja.php
+++ b/config/ninja.php
@@ -148,5 +148,6 @@ return [
'disable_auto_update' => env('DISABLE_AUTO_UPDATE', false),
'invoiceninja_hosted_pdf_generation' => env('NINJA_HOSTED_PDF', false),
'ninja_stripe_key' => env('NINJA_STRIPE_KEY', null),
+ 'ninja_stripe_publishable_key' => env('NINJA_PUBLISHABLE_KEY=', null),
'pdf_generator' => env('PDF_GENERATOR', false),
];
diff --git a/resources/views/portal/ninja2020/gateways/stripe/ach/authorize.blade.php b/resources/views/portal/ninja2020/gateways/stripe/ach/authorize.blade.php
index 1b5c34c970..0103a939e7 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/ach/authorize.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/ach/authorize.blade.php
@@ -1,8 +1,12 @@
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'ACH', 'card_title' => 'ACH'])
@section('gateway_head')
-
+ @if($gateway->company_gateway->getConfigField('account_id'))
+
+ @else
+
+ @endif
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/alipay/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/alipay/pay.blade.php
index 9d439f17e9..35ad27eed8 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/alipay/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/alipay/pay.blade.php
@@ -1,8 +1,12 @@
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Alipay', 'card_title' => 'Alipay'])
@section('gateway_head')
-
+ @if($gateway->company_gateway->getConfigField('account_id'))
+
+ @else
+
+ @endif
diff --git a/resources/views/portal/ninja2020/gateways/stripe/credit_card/authorize.blade.php b/resources/views/portal/ninja2020/gateways/stripe/credit_card/authorize.blade.php
index b5dd0fb2ec..9220dd1cc1 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/credit_card/authorize.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/credit_card/authorize.blade.php
@@ -4,6 +4,7 @@
@if($gateway->getConfigField('account_id'))
+
@else
@endif
diff --git a/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php
index a815df0c62..6929c0e37d 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php
@@ -1,8 +1,12 @@
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Credit card', 'card_title' => 'Credit card'])
@section('gateway_head')
-
+ @if($gateway->company_gateway->getConfigField('account_id'))
+
+ @else
+
+ @endif