{**
 * 2007-2019 PrestaShop and Contributors
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <contact@prestashop.com>
 * @copyright 2007-2019 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 * International Registered Trademark & Property of PrestaShop SA
 *}

<div id="addonpayments-{$instance_id}"
     class="register-quickpay__form"
     data-instance="{$instance_id}"
     data-customer="{$customer_id}"
     data-authorize-callback="{$authorize_url}"
     data-register-callback="{$register_url}"
     data-operation-type="{$operation_type}">
    <div class="bootstrap">
        <div id="addonpayments-info-{$instance_id}"
             class="module_confirmation conf confirm alert alert-info hidden hidden-sm-up hidden-lg-down"
             role="alert">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
        </div>
        <div id="addonpayments-error-{$instance_id}"
             class="module_error alert alert-danger hidden hidden-sm-up hidden-lg-down"
             role="alert"></div>
        <div id="addonpayments-warning-{$instance_id}"
             class="module_confirmation conf confirm alert alert-warning hidden hidden-sm-up hidden-lg-down"
             role="alert">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
        </div>
        <div id="addonpayments-conditions-{$instance_id}"
             class="module_error alert alert-danger hidden hidden-sm-up hidden-lg-down"
             role="alert">
             {l s='Please accept the terms and conditions before proceeding with payment.' mod='addonpayments'}
        </div>
        <div id="addonpayments-expired-{$instance_id}"
             class="module_error alert alert-danger hidden hidden-sm-up hidden-lg-down"
             role="alert">
            {l s='This operation has timed out, the page will be reloaded. If nothing occurs press the link below.' mod='addonpayments'}
            <a href="#reload" onclick="doReload" class="alert-link">{l s='Reload page' mod='addonpayments'}</a>
        </div>
        <div id="addonpayments-timeout-{$instance_id}"
             class="module_confirmation conf confirm alert alert-warning hidden hidden-sm-up hidden-lg-down"
             role="alert">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            {l s='This operation is about to timeout, the page will be reloaded soon.' mod='addonpayments'}
        </div>
    </div>
    <div class="bootstrap">
        <div id="epgjs-cashier-div"></div>
    </div>
    <form id="addonpayments-prepay-{$instance_id}" method="POST" action="{$prepay_url}"
          data-customer="{$customer_id}"></form>
</div>
