diff --git a/resources/views/layouts/main.blade.php b/resources/views/layouts/main.blade.php
index 93d46312..a0542815 100644
--- a/resources/views/layouts/main.blade.php
+++ b/resources/views/layouts/main.blade.php
@@ -8,7 +8,7 @@
{{ config('app.name', 'Laravel') }}
@@ -180,7 +180,7 @@
{{ config('app.name', 'Laravel') }}
@@ -212,7 +212,7 @@
- @if ((config('SETTINGS::PAYMENTS:PAYPAL:SECRET') && config('SETTINGS::PAYMENTS:PAYPAL:CLIENT_ID')) || env('APP_ENV', 'local') == 'local')
+ @if (env('APP_ENV') == 'local' || (config('SETTINGS::PAYMENTS:PAYPAL:SECRET') && config('SETTINGS::PAYMENTS:PAYPAL:CLIENT_ID')) || (config('SETTINGS::PAYMENTS:STRIPE:SECRET') && config('SETTINGS::PAYMENTS:STRIPE:ENDPOINT_SECRET') && config('SETTINGS::PAYMENTS:STRIPE:METHODS')))