<?php
/**
 * @package	HikaShop
 * @version	6.4.0
 * @author	hikashop.com
 * @copyright	(C) 2010-2026 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or defined('ABSPATH') or die('Restricted access');
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
?><div class="hikashop_atossips_end" id="hikashop_atossips_end">
	<span id="hikashop_atossips_end_message" class="hikashop_atossips_end_message">
		<?php echo JText::sprintf('PLEASE_WAIT_BEFORE_REDIRECTION_TO_X', $this->payment_name).'<br/>'. JText::_('CLICK_ON_BUTTON_IF_NOT_REDIRECTED');?>
	</span>
	<span id="hikashop_atossips_end_spinner" class="hikashop_atossips_end_spinner hikashop_checkout_end_spinner">
	</span>
	<br/>
	<form id="hikashop_atossips_form" name="hikashop_atossips_form" action="<?php echo $this->payment_params->url;?>" method="post">
		<div id="hikashop_atossips_end_image" class="hikashop_atossips_end_image">
			<input id="hikashop_atossips_button" type="submit" class="btn btn-primary" value="<?php echo JText::_('PAY_NOW');?>" name="" alt="<?php echo JText::_('PAY_NOW');?>" />
		</div>
		<?php
			foreach($this->vars as $name => $value ) {
				echo '<input type="hidden" name="'.$name.'" value="'.$value.'" />';
			}
			hikaInput::get()->set('noform',1); ?>
	</form>
	<script type="text/javascript">
		<!--
		document.getElementById('hikashop_atossips_form').submit();
		//-->
	</script>
</div>
