{!! Form::label(
'data[Settings][content][dojo][url]',
t('Environment')
) !!}
{!! Form::select(
'data[Settings][content][dojo][url]',
[
'connect.paymentsense.cloud/pac' => 'Production',
'test.connect.paymentsense.cloud/pac' => 'Test'
],
(
isset($data->Settings->content->dojo->url) ?
$data->Settings->content->dojo->url :
''
)
) !!}
{!! Form::label(
'data[Settings][content][dojo][url]',
t('Allow Contactless')
) !!}
{!! Form::select(
'data[Settings][content][dojo][contactless]',
[
0 => 'Allow Contactless',
1 => 'Require Card Presented'
],
(
isset($data->Settings->content->dojo->contactless) ?
$data->Settings->content->dojo->contactless :
0
)
) !!}
{!! Form::label(
'data[Settings][content][dojo][account_id]',
t('Account ID')
) !!}
{!! Form::text(
'data[Settings][content][dojo][account_id]',
(
isset($data->Settings->content->dojo->account_id) ?
$data->Settings->content->dojo->account_id :
''
),
[
'placeholder' => ''
]
) !!}
{!! Form::label(
'data[Settings][content][dojo][api_key]',
t('Api Key')
) !!}
{!! Form::text(
'data[Settings][content][dojo][api_key]',
(
isset($data->Settings->content->dojo->api_key) ?
$data->Settings->content->dojo->api_key :
''
)
) !!}
{!! Form::label(
'data[Settings][content][dojo][house_id]',
t('Software House ID')
) !!}
{!! Form::text(
'data[Settings][content][dojo][house_id]',
(
isset($data->Settings->content->dojo->house_id) ?
$data->Settings->content->dojo->house_id :
'SX798Z94'
),
[
'placeholder' => 'SX...'
]
) !!}
{!! Form::label(
'data[Settings][content][dojo][installer_id]',
t('Installer ID')
) !!}
{!! Form::text(
'data[Settings][content][dojo][installer_id]',
(
isset($data->Settings->content->dojo->installer_id) ?
$data->Settings->content->dojo->installer_id :
'SX798Z94'
),
[
'placeholder' => 'SX...'
]
) !!}