From ebf2d483eb578e77e656ba397618a5d340b1fb88 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 11 Oct 2017 15:20:26 +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 c743fdd946d5..207398b73744 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 (env('WEPAY_CLIENT_ID') && ! count($accountGatewaysIds)) + @if (env('WEPAY_CLIENT_ID') && isset($accountGatewaysIds) && ! count($accountGatewaysIds)) {!! Button::primary(trans('texts.sign_up_with_wepay')) ->asLinkTo(URL::to('/gateways/create?wepay=true')) !!} @endif