Update gateway flow

This commit is contained in:
Hillel Coren 2017-10-11 15:15:34 +03:00
parent be6cf16de6
commit 6c0ad5c01e

View File

@ -1,7 +1,7 @@
@extends('header') @extends('header')
@section('top-right') @section('top-right')
@if (! count($accountGatewaysIds)) @if (env('WEPAY_CLIENT_ID') && ! count($accountGatewaysIds))
{!! Button::primary(trans('texts.sign_up_with_wepay')) {!! Button::primary(trans('texts.sign_up_with_wepay'))
->asLinkTo(URL::to('/gateways/create?wepay=true')) !!} ->asLinkTo(URL::to('/gateways/create?wepay=true')) !!}
@endif @endif