From c7fe35126f0f4171177a4e832b2afa4245592e47 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 11 Oct 2017 15:15:15 +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