<?php
/* Smarty version 3.1.33, created on 2022-11-02 19:01:21
  from '/home/crescjwi/dashboard.homeworktask.com/content/modules/stripe/views/configure.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_6362be8102d970_42221937',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '14a9bd28dd8044df88a0315274681aa866fbc1be' => 
    array (
      0 => '/home/crescjwi/dashboard.homeworktask.com/content/modules/stripe/views/configure.tpl',
      1 => 1656689816,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6362be8102d970_42221937 (Smarty_Internal_Template $_smarty_tpl) {
?><!-- Stripe -->
<div class="tab-pane" id="stripe">
    <div class="alert alert-info">
        <div class="icon">
            <i class="fa fa-info-circle fa-2x"></i>
        </div>
        <div class="text">
            To start using Stripe, you'll need to create an account at <a target="_blank" href="https://dashboard.stripe.com/">Stripe</a><br>
            Check the documentation for more help
        </div>
    </div>

    <form class="js_ajax-forms col-md-9 form-horizontal" data-url="/<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['module_name']->value, ENT_QUOTES, 'UTF-8');?>
/updateStripeSettings">
        <input type="hidden" name="site_id" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['stripeConfiguration']->value['SITE_ID'], ENT_QUOTES, 'UTF-8');?>
"/>
        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                Stripe Enabled
            </label>
            <div class="col-sm-9">
                <label class="switch" for="stripe_enabled">
                    <input type="checkbox" name="stripe_enabled" id="stripe_enabled" <?php if ($_smarty_tpl->tpl_vars['stripeConfiguration']->value['STRIPE_ENABLED'] == '1') {?>checked="checked"<?php }?>>
                    <span class="slider round"></span>
                </label>
                <span class="help-block">
                    Enable payments via Credit Card
                </span>
            </div>
        </div>
        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                Default
            </label>
            <div class="col-sm-9">
                <label class="switch" for="default_method_stripe">
                    <input type="checkbox" name="default_method_enabled" id="default_method_stripe" <?php if ($_smarty_tpl->tpl_vars['stripeConfiguration']->value['PAYMENT_METHOD_DEFAULT'] == 'stripe') {?>checked="checked"<?php }?>>
                    <span class="slider round"></span>
                </label>
                <span class="help-block">
                    Make it the default payment method of the site
                </span>
            </div>
        </div>
        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                Stripe Mode
            </label>
            <div class="col-sm-9">
                <div class="radio radio-primary radio-inline">
                    <input type="radio" name="stripe_mode" id="stripe_live" <?php if ($_smarty_tpl->tpl_vars['stripeConfiguration']->value['STRIPE_MODE'] == 'live') {?>checked<?php }?> value="live">
                    <label for="stripe_live">Live</label>
                </div>
                <div class="radio radio-primary radio-inline">
                    <input type="radio" name="stripe_mode" id="stripe_test" <?php if ($_smarty_tpl->tpl_vars['stripeConfiguration']->value['STRIPE_MODE'] == 'test') {?>checked<?php }?> value="test">
                    <label for="stripe_test">Test</label>
                    </div>
            </div>
        </div>
        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                Live Publishable Key
            </label>
            <div class="col-sm-9">
                <input class="form-control" type="text" name="stripe_live_key" id="stripe_live_key" maxlength="255" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['stripeConfiguration']->value['STRIPE_LIVE_KEY'], ENT_QUOTES, 'UTF-8');?>
">
                <span class="help-block">
                    Stripe secret key that starts with pk_
                </span>
            </div>
        </div>
        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                Test Publishable Key
            </label>
            <div class="col-sm-9">
                <input class="form-control" type="text" name="stripe_test_key" id="stripe_test_key" maxlength="255" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['stripeConfiguration']->value['STRIPE_TEST_KEY'], ENT_QUOTES, 'UTF-8');?>
">
                <span class="help-block">
                    Stripe secret key that starts with pk_
                </span>
            </div>
        </div>
        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                Live Secret Key
            </label>
            <div class="col-sm-9">
                <input class="form-control" type="text" name="stripe_live_secret" id="stripe_live_secret" maxlength="255" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['stripeConfiguration']->value['STRIPE_LIVE_SECRET'], ENT_QUOTES, 'UTF-8');?>
">
                <span class="help-block">
                    Stripe secret key that starts with sk_
                </span>
            </div>
        </div>
        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                Test Secret Key
            </label>
            <div class="col-sm-9">
                <input class="form-control" type="text" name="stripe_test_secret" id="stripe_test_secret" maxlength="255" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['stripeConfiguration']->value['STRIPE_TEST_SECRET'], ENT_QUOTES, 'UTF-8');?>
">
                <span class="help-block">
                    Stripe secret key that starts with sk_
                </span>
            </div>
        </div>

        <div class="form-group form-row">
            <div class="col-sm-9 offset-sm-3">
                <!-- success -->
                <div class="alert alert-success mt10 x-hidden" role="alert"></div>
                <!-- success -->

                <!-- error -->
                <div class="alert alert-danger mt10 x-hidden" role="alert"></div>
                <!-- error -->

                <button type="submit" class="btn btn-info">Save Changes</button>
            </div>
        </div>
    </form>
</div>
<!-- Stripe --><?php }
}
