<commit_before><?php
/**
 * Created by PhpStorm.
 * User: Boxedsolutions
 * Date: 2016-09-26
 * Time: 11:59
 */

$checkout = $this->getCheckoutUrl();
?>

<?php echo $this->getChildHtml('checkout.cart'); ?>
<script>
    var UPDATE_ADDRESS_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/updateaddress'); ?>";
    var UPDATE_PAYMENT_METHOD_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/updatepaymentmethod'); ?>";
    var UPDATE_SHIPPING_METHOD_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/updateshippingmethod'); ?>";
    var CREATE_ORDER_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/createorder'); ?>";
    var UPDATE_TOTALS_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/updatetotals'); ?>";
    var UPDATE_DISCOUNT_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/setdiscount'); ?>";
</script>
<?php if(count(Mage::getSingleton('checkout/cart')->getQuote()->getAllVisibleItems()) > 0 ){ ?>
<div id="checkoutdiv">
    <iframe id="checkout" src="<?php echo $checkout; ?>" style="width: 100%; min-height: 800px; border:none;" sandbox="allow-same-origin allow-scripts allow-modals allow-popups allow-forms allow-top-navigation"></iframe>
    <div class="billmateoverlay"></div>
    <div class="billmateloading"></div>
</div>
<?php } ?><commit_msg>Fix for https ajax request<commit_after><?php
/**
 * Created by PhpStorm.
 * User: Boxedsolutions
 * Date: 2016-09-26
 * Time: 11:59
 */

$checkout = $this->getCheckoutUrl();
?>

<?php echo $this->getChildHtml('checkout.cart'); ?>
<script>
    var UPDATE_ADDRESS_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/updateaddress',array('_secure' => true)); ?>";
    var UPDATE_PAYMENT_METHOD_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/updatepaymentmethod',array('_secure' => true)); ?>";
    var UPDATE_SHIPPING_METHOD_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/updateshippingmethod',array('_secure' => true)); ?>";
    var CREATE_ORDER_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/createorder',array('_secure' => true)); ?>";
    var UPDATE_TOTALS_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/updatetotals',array('_secure' => true)); ?>";
    var UPDATE_DISCOUNT_URL = "<?php echo Mage::getUrl('billmatecommon/billmatecheckout/setdiscount',array('_secure' => true)); ?>";
</script>
<?php if(count(Mage::getSingleton('checkout/cart')->getQuote()->getAllVisibleItems()) > 0 ){ ?>
<div id="checkoutdiv">
    <iframe id="checkout" src="<?php echo $checkout; ?>" style="width: 100%; min-height: 800px; border:none;" sandbox="allow-same-origin allow-scripts allow-modals allow-popups allow-forms allow-top-navigation"></iframe>
    <div class="billmateoverlay"></div>
    <div class="billmateloading"></div>
</div>
<?php } ?>
{'fraction_non_alphanumeric': 0.18524991261796575, 'fraction_numerical': 0.013282069206571129, 'mean_word_length': 6.591511936339523, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4443378', 'n_tokens_mistral': 1038, 'n_tokens_neox': 936, 'n_words': 158}