echo $currency_code;
?>
>
		  	  	<input type="hidden" name=payment_key 	value=<?php 
echo $payment->getKey();
?>
>
		  	  	<input type="hidden" name=response_url 	value=<?php 
echo $response_url;
?>
>
		
		<div class="pp-gap-top20">
	      	<div><button id="pp-payment-app-buy" class ="btn btn-lg btn-primary"><?php 
echo XiText::_('COM_PAYPLANS_APP_PAYSEAL_PAYMENT_BUY');
?>
</button>
		  	<a class="btn btn-default btn-lg" href="<?php 
echo XiRoute::_("index.php?option=com_payplans&view=payment&task=complete&action=cancel&payment_key=" . $payment->getKey());
?>
"><?php 
echo XiText::_('COM_PAYPLANS_APP_PAYSEAL_PAYMENT_CANCEL');
?>
</a></div>
      	</div>
    </form>
<script src="<?php 
echo PayplansHelperUtils::pathFS2URL(dirname(__FILE__) . DS . 'payseal.js');
?>
" type="text/javascript"></script>
<?php

/**
 * @copyright	Copyright (C) 2009 - 2015 Ready Bytes Software Labs Pvt. Ltd. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * @package		PayPlans
 * @subpackage	Frontend
 * @contact 	support+payplans@readybytes.in
 */
if (defined('_JEXEC') === false) {
    die;
}
?>
<script src="<?php 
echo PayplansHelperUtils::pathFS2URL(dirname(__FILE__) . DS . 'preferences.js');
?>
" type="text/javascript"></script>


<form method="post" id="preferences" action="#" class="form-vertical">

	<?php 
foreach ($form->getFieldset('preference') as $field) {
    ?>
               <?php 
    $class = $field->group . $field->fieldname;
    ?>
               <div class="row <?php 
    echo $class;
    ?>
 pp-gap-bottom05">
<?php

/**
* @copyright	Copyright (C) 2009 - 2015 Ready Bytes Software Labs Pvt. Ltd. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* @package		PayPlans
* @subpackage	Oneclickcheckout
* @contact 		support+payplans@readybytes.in
*/
if (defined('_JEXEC') === false) {
    die;
}
?>
<script src="<?php 
echo PayplansHelperUtils::pathFS2URL(dirname(__FILE__) . DS . 'registration.js');
?>
" type="text/javascript"></script>

<div>
	<div class="row pp-gap-top10">
		<div class="col-xs-offset-3 col-xs-8">
			<?php 
$returnUrl = base64_encode("index.php?option=com_payplans&view=invoice&task=confirm&invoice_key=" . JRequest::getVar('invoice_key') . "&fromOneClickCheckout=1");
?>
	
			<a onclick="payplans.user.openLoginPopup('<?php 
echo $returnUrl;
?>
')"><?php 
echo XiText::_("COM_PAYPLANS_LOGIN_LINK");
?>
<?php

/**
* @copyright	Copyright (C) 2009 - 2009 Ready Bytes Software Labs Pvt. Ltd. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* @package		PayPlans
* @subpackage	Frontend
* @contact 		shyam@readybytes.in
*/
if (defined('_JEXEC') === false) {
    die;
}
?>
<script src="<?php 
echo PayplansHelperUtils::pathFS2URL(dirname(__FILE__) . DS . 'basictax.js');
?>
" type="text/javascript"></script>
<div class="row">
	<div class="col-xs-6">
		<?php 
echo XiText::_("COM_PAYPLANS_ENTER_TAX_INFORMATION");
?>
*
	</div>

	<div class="col-xs-6" >
		<?php 
echo PayplansHtml::_('country.edit', 'app_basictax_country_id', $country, array('option_none' => true, 'style' => 'class="input-medium img-responsive form-control"'));
?>
		<span id="app-tax-apply-error" class="error" style="display:none;">&nbsp;</span>
	</div>
<?php

/**
* @copyright	Copyright (C) 2009 - 2009 Ready Bytes Software Labs Pvt. Ltd. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* @package		PayPlans
* @subpackage	Frontend
* @contact 		shyam@readybytes.in
*/
if (defined('_JEXEC') === false) {
    die;
}
?>
<script src="<?php 
echo PayplansHelperUtils::pathFS2URL(dirname(__FILE__) . DS . 'euvat.js');
?>
" type="text/javascript"></script>
<div class="form-horizontal pp-gap-top10">
	<div class="control-group form-group">
		<div class="col-xs-6">
				<?php 
echo XiText::_('COM_PAYPLANS_ENTER_TAX_INFORMATION');
?>
 
		</div>
		<div class="col-xs-6">
					<?php 
echo PayplansHtml::_('country.edit', 'app_euvat_country_id', $country, array('option_none' => true, 'style' => 'class="input-medium img-responsive form-control"'));
?>
					<input type="hidden" name="invoice_key" value="<?php 
echo $invoice_key;
/**
 * @copyright	Copyright (C) 2009 - 2015 Ready Bytes Software Labs Pvt. Ltd. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * @package		PayPlans
 * @subpackage	Frontend
 * @contact 	support+payplans@readybytes.in
 */
if (defined('_JEXEC') === false) {
    die;
}
$location = $this->getLocation();
?>

<script src="<?php 
echo PayplansHelperUtils::pathFS2URL($location . DS . 'tmpl' . DS . 'userdetail.js');
?>
" type="text/javascript"></script>

<form method="post" id="userdetail" action="#" class="form-vertical">
<?php 
foreach ($details as $userparams) {
    ?>
    <?php 
    if (!empty($userparams)) {
        ?>
  
        <?php 
        foreach ($userparams->getFieldset('params') as $field) {
            ?>
                <?php