diff --git a/resources/views/accounts/account_gateway.blade.php b/resources/views/accounts/account_gateway.blade.php index 3e2b7bdbc4ac..c743fdd946d5 100644 --- a/resources/views/accounts/account_gateway.blade.php +++ b/resources/views/accounts/account_gateway.blade.php @@ -1,7 +1,7 @@ @extends('header') @section('top-right') - @if (! count($accountGatewaysIds)) + @if (env('WEPAY_CLIENT_ID') && ! count($accountGatewaysIds)) {!! Button::primary(trans('texts.sign_up_with_wepay')) ->asLinkTo(URL::to('/gateways/create?wepay=true')) !!} @endif