From 6c0ad5c01e032e758289aadab821a781c5241c8f Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 11 Oct 2017 15:15:34 +0300 Subject: [PATCH] Update gateway flow --- resources/views/accounts/account_gateway.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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