Version Notes
Alteração para o funcionamento do módulo MoIP para funcionamento em qualquer Módulo de checkout.
Download this release
Release Info
Developer | O2TI |
Extension | o2ti_moip |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.2.1
- app/design/adminhtml/default/default/template/O2TI/pagseguro/form.phtml +682 -0
- app/design/adminhtml/default/default/template/O2TI/pagseguro/info.phtml +48 -0
- app/design/adminhtml/default/default/template/O2TI/pagseguro/redirect.phtml +587 -0
- app/design/frontend/default/default/layout/o2ti_moip.xml +9 -0
- app/design/frontend/default/default/template/O2TI/moip/vertical_form.phtml +25 -24
- app/design/frontend/default/default/template/O2TI/onestepcheckout/daskboard.phtml +10 -11
- app/design/frontend/default/default/template/O2TI/onestepcheckout/daskboard/onepage/billing/billing_form.phtml +10 -5
- app/design/frontend/default/default/template/O2TI/onestepcheckout/daskboard/onepage/login.phtml +1 -3
- app/design/frontend/default/default/template/O2TI/onestepcheckout/daskboard/onepage/payment/methods.phtml +5 -4
- package.xml +4 -4
- skin/adminhtml/default/default/O2TI/moip/css/prettify.css +0 -0
- skin/frontend/default/default/O2TI/moip/css/formulario.css +2 -2
- skin/frontend/default/default/O2TI/onestepcheckout/css/onestepcheckout.css +39 -35
app/design/adminhtml/default/default/template/O2TI/pagseguro/form.phtml
ADDED
@@ -0,0 +1,682 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$standad = Mage::getSingleton('moip/standard');
|
3 |
+
$api = Mage::getSingleton('moip/api');
|
4 |
+
$api->setContaMoip($standad->getConfigData('conta_moip'));
|
5 |
+
$api->setAmbiente($standad->getConfigData('ambiente'));
|
6 |
+
$parcelas = "";
|
7 |
+
$descontotexto = "";
|
8 |
+
$asterisco = "";
|
9 |
+
$nome = "";
|
10 |
+
$telefone = "";
|
11 |
+
$cpf = "";
|
12 |
+
$dn = "";
|
13 |
+
$icone_cartao = $this->getSkinUrl('O2TI/moip/imagem/abacartao.png');
|
14 |
+
$icone_boleto = $this->getSkinUrl('O2TI/moip/imagem/ababoleto.png');
|
15 |
+
$icone_transf = $this->getSkinUrl('O2TI/moip/imagem/abatransf.png');
|
16 |
+
$cartao_visa = $this->getSkinUrl('O2TI/moip/imagem/Visa.png');
|
17 |
+
$cartao_master = $this->getSkinUrl('O2TI/moip/imagem/Mastercard.png');
|
18 |
+
$cartao_diners = $this->getSkinUrl('O2TI/moip/imagem/Diners.png');
|
19 |
+
$cartao_american = $this->getSkinUrl('O2TI/moip/imagem/AmericanExpress.png');
|
20 |
+
$cartao_hipercard = $this->getSkinUrl('O2TI/moip/imagem/Hipercard.png');
|
21 |
+
$boleto = $this->getSkinUrl('O2TI/moip/imagem/Bradesco.png');
|
22 |
+
$cartao_bb = $this->getSkinUrl('O2TI/moip/imagem/BancoDoBrasil.png');
|
23 |
+
$cartao_bradesco = $this->getSkinUrl('O2TI/moip/imagem/Bradesco.png');
|
24 |
+
$cartao_itau = $this->getSkinUrl('O2TI/moip/imagem/Itau.png');
|
25 |
+
$cartao_banrisul = $this->getSkinUrl('O2TI/moip/imagem/Banrisul.png');
|
26 |
+
if(Mage::getStoreConfig('o2tiall/config/trocar_icone')):
|
27 |
+
$icone_cartao = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/icone_cartao');
|
28 |
+
$icone_boleto = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/icone_boleto');
|
29 |
+
$icone_transf = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/icone_transf');
|
30 |
+
endif;
|
31 |
+
if(Mage::getStoreConfig('o2tiall/config/trocar_bandeira_cartao')):
|
32 |
+
$cartao_visa = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/cartao_visa');
|
33 |
+
$cartao_master = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/cartao_master');
|
34 |
+
$cartao_diners = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/cartao_diners');
|
35 |
+
$cartao_american = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/cartao_american');
|
36 |
+
$cartao_hipercard = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/cartao_hipercard');
|
37 |
+
endif;
|
38 |
+
if(Mage::getStoreConfig('o2tiall/config/trocar_bandeira_cartao')):
|
39 |
+
$cartao_bb = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/cartao_bb');
|
40 |
+
$cartao_bradesco = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/cartao_bradesco');
|
41 |
+
$cartao_itau = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/cartao_itau');
|
42 |
+
$cartao_banrisul = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/cartao_banrisul');
|
43 |
+
endif;
|
44 |
+
if(Mage::getStoreConfig('o2tiall/config/trocar_bandeira_cartao')):
|
45 |
+
$boleto = Mage::getBaseUrl('media') . "o2ti/allmoip/". Mage::getStoreConfig('o2tiall/config/boleto');
|
46 |
+
endif;
|
47 |
+
$mostraboleto = 1;
|
48 |
+
$nivelestoque = $standad->getConfigData('estoqueboleto');
|
49 |
+
$idcount = 0;
|
50 |
+
$_Produtos = Mage::getSingleton('checkout/cart')->getQuote()->getAllItems();
|
51 |
+
foreach ($_Produtos as $value)
|
52 |
+
{
|
53 |
+
$item_ID = $value->getProductId();
|
54 |
+
$_Product = Mage::getModel('catalog/product')->load($item_ID);
|
55 |
+
$model = Mage::getModel('catalog/product');
|
56 |
+
$_product = $model->load($item_ID);
|
57 |
+
$stocklevel[$idcount] = (int)Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getQty();
|
58 |
+
$nomeprod[$idcount] = $model->getName();
|
59 |
+
$idcount = $idcount + 1;
|
60 |
+
}
|
61 |
+
$idcount = $idcount - 1;
|
62 |
+
$teste = 0;
|
63 |
+
while($teste <= $idcount )
|
64 |
+
{
|
65 |
+
if ($stocklevel[$teste] <= $nivelestoque){
|
66 |
+
$prodbaixostock = "O Produto <b>". $nomeprod[$teste] . "</b> está com o estoque baixo (<b>menos de ". $stocklevel[$teste] ." unidades</b>) e não poderá ser pago com boleto. </br>A quantidade mínima de um produto em estoque para compra por boleto deverá ser de: <b>". $nivelestoque . " Produtos.</b> ";
|
67 |
+
$mostraboleto = 0;
|
68 |
+
}
|
69 |
+
$teste++;
|
70 |
+
}
|
71 |
+
|
72 |
+
$descont_boleto = Mage::getStoreConfig('parcelamento_de2');
|
73 |
+
$virtual = Mage::helper('onestepcheckout')->onlyProductDownloadable();
|
74 |
+
if ($virtual){
|
75 |
+
$data = $standad->getQuote()->getBillingAddress();
|
76 |
+
}
|
77 |
+
else {
|
78 |
+
$data = $standad->getQuote()->getShippingAddress();
|
79 |
+
}
|
80 |
+
$valor_pedido = $data->getGrandTotal();
|
81 |
+
$valor_parc = $data->getGrandTotal();
|
82 |
+
$valor_parc = number_format($valor_parc,2);
|
83 |
+
|
84 |
+
if($valor_pedido > 5):
|
85 |
+
$parcelamento = $api->getParcelamento($data->getGrandTotal());
|
86 |
+
foreach ($parcelamento as $k => $v):
|
87 |
+
if($v['juros'] == "1.99"):
|
88 |
+
$asterisco = "*";
|
89 |
+
else:
|
90 |
+
$parcelas_sem_juros = $k;
|
91 |
+
endif;
|
92 |
+
|
93 |
+
$parcelas .= "<option value=\"".$k."\"> ".$k."x R$ " . $v['valor'] . "".$asterisco." | Total: R$ " .$v['total']."</option>";
|
94 |
+
endforeach;
|
95 |
+
else:
|
96 |
+
$parcelas .= "<option value=\"1\"> Pagamento à vista </option>";
|
97 |
+
endif;
|
98 |
+
|
99 |
+
|
100 |
+
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/pagamento_boleto')):
|
101 |
+
if ($valor_pedido >= Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor')):
|
102 |
+
$descontotexto = "Com desconto de: ".Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc')."%.";
|
103 |
+
$descontotexto1 = $descontotexto ."<br/>Págavel em qualquer banco, casas lotéricas ou via internet bank.";
|
104 |
+
$desconto = $data->getGrandTotal() - $data->getGrandTotal() * Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc')/100;
|
105 |
+
endif;
|
106 |
+
|
107 |
+
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor2') != "" && $valor_pedido >= Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor2') && $valor_pedido < Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor3') ):
|
108 |
+
$descontotexto = "Com desconto de: ".Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc2')."%.";
|
109 |
+
$descontotexto1 = $descontotexto ."<br/>Págavel em qualquer banco, casas lotéricas ou via internet bank.";
|
110 |
+
$desconto = $data->getGrandTotal() - $data->getGrandTotal() * Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc2')/100;
|
111 |
+
endif;
|
112 |
+
|
113 |
+
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor3') != "" && $valor_pedido >= Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor3') ):
|
114 |
+
$descontotexto = "Com desconto de: ".Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc3')."%.";
|
115 |
+
$descontotexto1 = $descontotexto ."<br/>Págavel em qualquer banco, casas lotéricas ou via internet bank.";
|
116 |
+
$desconto = $data->getGrandTotal() - $data->getGrandTotal() * Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc3')/100;
|
117 |
+
endif;
|
118 |
+
|
119 |
+
|
120 |
+
else:
|
121 |
+
$descontotexto1 = "Págavel em qualquer banco, casas lotéricas ou via internet bank.";
|
122 |
+
$desconto = $data->getGrandTotal();
|
123 |
+
endif;
|
124 |
+
|
125 |
+
|
126 |
+
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/transf_desc')):
|
127 |
+
if ($valor_pedido >= Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor')):
|
128 |
+
$descontotexto = "Com desconto de: ".Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc')."%.";
|
129 |
+
$descontotexto1 = $descontotexto ."<br/>Págavel únicamente através internet bank.";
|
130 |
+
$desconto = $data->getGrandTotal() - $data->getGrandTotal() * Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc')/100;
|
131 |
+
endif;
|
132 |
+
|
133 |
+
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor2') != "" && $valor_pedido >= Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor2') && $valor_pedido < Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor3') ):
|
134 |
+
$descontotexto = "Com desconto de: ".Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc2')."%.";
|
135 |
+
$descontotexto1 = $descontotexto ."<br/>Págavel únicamente através internet bank.";
|
136 |
+
$desconto = $data->getGrandTotal() - $data->getGrandTotal() * Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc2')/100;
|
137 |
+
endif;
|
138 |
+
|
139 |
+
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor3') != "" && $valor_pedido >= Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor3') ):
|
140 |
+
$descontotexto = "Com desconto de: ".Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc3')."%.";
|
141 |
+
$descontotexto1 = $descontotexto ."<br/>Págavel únicamente através internet bank.";
|
142 |
+
$desconto = $data->getGrandTotal() - $data->getGrandTotal() * Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_desc3')/100;
|
143 |
+
endif;
|
144 |
+
|
145 |
+
|
146 |
+
else:
|
147 |
+
$descontotexto1 = "Págavel em qualquer banco, casas lotéricas ou via internet bank.";
|
148 |
+
$desconto = $data->getGrandTotal();
|
149 |
+
endif;
|
150 |
+
|
151 |
+
if(Mage::getSingleton('customer/session')->isLoggedIn()){
|
152 |
+
$nome = Mage::getSingleton('customer/session')->getCustomer()->getName();
|
153 |
+
$telefone = Mage::getSingleton('customer/session')->getCustomer()->getTelephone();
|
154 |
+
$cpf = Mage::getSingleton('customer/session')->getCustomer()->getTaxvat();
|
155 |
+
$dn = Mage::getSingleton('customer/session')->getCustomer()->getdob();
|
156 |
+
$dn = date("d/m/Y", strtotime($dn));
|
157 |
+
}
|
158 |
+
?>
|
159 |
+
|
160 |
+
<script type="text/javascript">
|
161 |
+
|
162 |
+
jQuery(document).ready(function(){
|
163 |
+
<?php if (!in_array("CartaoCredito", $standad->getFormasPagamento()) ): ?>
|
164 |
+
jQuery('#linhaparcelas').css({display:"none"});
|
165 |
+
<?php endif;?>
|
166 |
+
<?php if (!in_array("BoletoBancario", $standad->getFormasPagamento()) ): ?>
|
167 |
+
jQuery('#linhaboleto').css({display:"none"});
|
168 |
+
<?php endif;?>
|
169 |
+
<?php if (!in_array("DebitoBancario", $standad->getFormasPagamento()) ): ?>
|
170 |
+
jQuery('#linhatransf').css({display:"none"});
|
171 |
+
<?php endif;?>
|
172 |
+
});
|
173 |
+
|
174 |
+
fechar = function(){
|
175 |
+
<?php if (in_array("CartaoCredito", $standad->getFormasPagamento()) ): ?>
|
176 |
+
jQuery('#linhacartao').css({display:"none"});
|
177 |
+
<?php endif;?>
|
178 |
+
<?php if (in_array("BoletoBancario", $standad->getFormasPagamento()) ): ?>
|
179 |
+
jQuery('#conteudoboleto').css({display:"none"});
|
180 |
+
<?php endif;?>
|
181 |
+
<?php if (in_array("DebitoBancario", $standad->getFormasPagamento()) ): ?>
|
182 |
+
jQuery('#conteudotransf').css({display:"none"});
|
183 |
+
<?php endif;?>
|
184 |
+
}
|
185 |
+
parcelas = function(){
|
186 |
+
fechar();
|
187 |
+
jQuery('#linhacartao').hide();
|
188 |
+
jQuery("#linhacartao").slideDown("slow");
|
189 |
+
jQuery('#linhacartao').css({display:"block"});
|
190 |
+
|
191 |
+
}
|
192 |
+
boleto = function(){
|
193 |
+
fechar();
|
194 |
+
jQuery('#conteudoboleto').hide();
|
195 |
+
jQuery("#conteudoboleto").slideDown("slow");
|
196 |
+
jQuery('#conteudoboleto').css({display:"block"});
|
197 |
+
}
|
198 |
+
transf = function(){
|
199 |
+
fechar();
|
200 |
+
jQuery('#conteudotransf').hide();
|
201 |
+
jQuery("#conteudotransf").slideDown("slow");
|
202 |
+
jQuery('#conteudotransf').css({display:"block"});
|
203 |
+
}
|
204 |
+
function countChar(val) {
|
205 |
+
var cvv = val.value.length;
|
206 |
+
if(cvv > 2){
|
207 |
+
jQuery('#formcli').hide();
|
208 |
+
jQuery("#formcli").slideDown("slow");
|
209 |
+
jQuery('#formcli').css({display:"block"});
|
210 |
+
document.getElementById('credito_portador_nome').value = document.getElementById('billing:firstname').value + ' ' + document.getElementById('billing:lastname').value;
|
211 |
+
document.getElementById('credito_portador_telefone').value = document.getElementById('billing:telephone').value;
|
212 |
+
document.getElementById('credito_portador_cpf').value = document.getElementById('billing:taxvat').value;
|
213 |
+
if(document.getElementById('billing:year').value)
|
214 |
+
{
|
215 |
+
document.getElementById('credito_portador_nascimento').value = document.getElementById('billing:day').value + '/' + document.getElementById('billing:month').value + '/' + document.getElementById('billing:year').value
|
216 |
+
}
|
217 |
+
}
|
218 |
+
};
|
219 |
+
//validacao do moip - inicio
|
220 |
+
jQuery('.btn-checkout').on("click",function(e)
|
221 |
+
{
|
222 |
+
if(jQuery('input[name=payment\\[method\\]]:checked').val() == "o2ti_moip_standard"){
|
223 |
+
if(!jQuery("input[name=payment\\[forma_pagamento\\]]:checked").val()){
|
224 |
+
if(!jQuery('#advice-required-o2ti').length)
|
225 |
+
{
|
226 |
+
logic=false;
|
227 |
+
jQuery('#checkout-payment-o2ti').css({display:"block"});
|
228 |
+
jQuery('#checkout-payment-o2ti').html('Selecione a forma de pagamento.');
|
229 |
+
return false;
|
230 |
+
}
|
231 |
+
}
|
232 |
+
else
|
233 |
+
jQuery('#checkout-payment-o2ti').css({display:"none"});
|
234 |
+
jQuery('#advice-required-entry_payment_o2ti').remove();
|
235 |
+
}
|
236 |
+
if(jQuery("input[name=payment\\[forma_pagamento\\]]:checked").val() == "CartaoCredito")
|
237 |
+
{
|
238 |
+
if(!jQuery("input[name=payment\\[credito_instituicao\\]]:checked").val())
|
239 |
+
{
|
240 |
+
if(!jQuery('#advice-required-o2ti').length)
|
241 |
+
{
|
242 |
+
logic=false;
|
243 |
+
jQuery('#checkout-payment-bandeira').css({display:"block"});
|
244 |
+
jQuery('#checkout-payment-bandeira').html('Selecione a bandeira do cartão.');
|
245 |
+
return false;
|
246 |
+
}
|
247 |
+
}
|
248 |
+
else
|
249 |
+
jQuery('#checkout-payment-bandeira').css({display:"none"});
|
250 |
+
jQuery('#advice-required-entry_payment_bandeira').remove();
|
251 |
+
}
|
252 |
+
if(jQuery("input[name=payment\\[forma_pagamento\\]]:checked").val() == "DebitoBancario")
|
253 |
+
{
|
254 |
+
if(!jQuery("input[name=payment\\[debito_instituicao\\]]:checked").val())
|
255 |
+
{
|
256 |
+
if(!jQuery('#advice-required-o2ti').length)
|
257 |
+
{
|
258 |
+
logic=false;
|
259 |
+
jQuery('#checkout-payment-banco').css({display:"block"});
|
260 |
+
jQuery('#checkout-payment-banco').html('Selecione o seu banco.');
|
261 |
+
return false;
|
262 |
+
}
|
263 |
+
|
264 |
+
}
|
265 |
+
else
|
266 |
+
jQuery('#checkout-payment-banco').css({display:"none"});
|
267 |
+
}
|
268 |
+
});
|
269 |
+
|
270 |
+
//validacao do moip - fim
|
271 |
+
bb = function(){
|
272 |
+
document.getElementById('checkout-payment-o2ti-deb').style.display='none';
|
273 |
+
document.getElementById('debbb').style.opacity='1';
|
274 |
+
document.getElementById('debbradesco').style.opacity='0.4';
|
275 |
+
document.getElementById('debitau').style.opacity='0.4';
|
276 |
+
document.getElementById('Banrisul').style.opacity='0.4';
|
277 |
+
document.getElementById('pagdebito').style.display='block';
|
278 |
+
document.getElementById('checkout-payment-banco').style.display='none';
|
279 |
+
};
|
280 |
+
bradesco = function(){
|
281 |
+
document.getElementById('checkout-payment-o2ti-deb').style.display='none';
|
282 |
+
document.getElementById('debbb').style.opacity='0.4';
|
283 |
+
document.getElementById('debbradesco').style.opacity='1';
|
284 |
+
document.getElementById('debitau').style.opacity='0.4';
|
285 |
+
document.getElementById('Banrisul').style.opacity='0.4';
|
286 |
+
document.getElementById('pagdebito').style.display='block';
|
287 |
+
document.getElementById('checkout-payment-banco').style.display='none';
|
288 |
+
};
|
289 |
+
itau = function(){
|
290 |
+
document.getElementById('checkout-payment-o2ti-deb').style.display='none';
|
291 |
+
document.getElementById('debbb').style.opacity='0.4';
|
292 |
+
document.getElementById('debbradesco').style.opacity='0.4';
|
293 |
+
document.getElementById('debitau').style.opacity='1';
|
294 |
+
document.getElementById('Banrisul').style.opacity='0.4';
|
295 |
+
document.getElementById('pagdebito').style.display='block';
|
296 |
+
document.getElementById('checkout-payment-banco').style.display='none';
|
297 |
+
};
|
298 |
+
banrisul = function(){
|
299 |
+
document.getElementById('checkout-payment-o2ti-deb').style.display='none';
|
300 |
+
document.getElementById('debbb').style.opacity='0.4';
|
301 |
+
document.getElementById('debbradesco').style.opacity='0.4';
|
302 |
+
document.getElementById('debitau').style.opacity='0.4';
|
303 |
+
document.getElementById('Banrisul').style.opacity='1';
|
304 |
+
document.getElementById('pagdebito').style.display='block';
|
305 |
+
document.getElementById('checkout-payment-banco').style.display='none';
|
306 |
+
};
|
307 |
+
visa = function(){
|
308 |
+
document.getElementById('Visa').style.opacity='1';
|
309 |
+
document.getElementById('Mastercard').style.opacity='0.4';
|
310 |
+
document.getElementById('Diners').style.opacity='0.4';
|
311 |
+
document.getElementById('AmericanExpress').style.opacity='0.4';
|
312 |
+
document.getElementById('Hipercard').style.opacity='0.4';
|
313 |
+
document.getElementById('checkout-payment-bandeira').style.display='none';
|
314 |
+
};
|
315 |
+
mastercard = function(){
|
316 |
+
document.getElementById('Visa').style.opacity='0.4';
|
317 |
+
document.getElementById('Mastercard').style.opacity='1';
|
318 |
+
document.getElementById('Diners').style.opacity='0.4';
|
319 |
+
document.getElementById('AmericanExpress').style.opacity='0.4';
|
320 |
+
document.getElementById('Hipercard').style.opacity='0.4';
|
321 |
+
document.getElementById('checkout-payment-bandeira').style.display='none';
|
322 |
+
};
|
323 |
+
americanexpress = function(){
|
324 |
+
document.getElementById('Visa').style.opacity='0.4';
|
325 |
+
document.getElementById('Mastercard').style.opacity='0.4';
|
326 |
+
document.getElementById('Diners').style.opacity='0.4';
|
327 |
+
document.getElementById('AmericanExpress').style.opacity='1';
|
328 |
+
document.getElementById('Hipercard').style.opacity='0.4';
|
329 |
+
document.getElementById('checkout-payment-bandeira').style.display='none';
|
330 |
+
};
|
331 |
+
diners = function(){
|
332 |
+
document.getElementById('Visa').style.opacity='0.4';
|
333 |
+
document.getElementById('Mastercard').style.opacity='0.4';
|
334 |
+
document.getElementById('Diners').style.opacity='1';
|
335 |
+
document.getElementById('AmericanExpress').style.opacity='0.4';
|
336 |
+
document.getElementById('Hipercard').style.opacity='0.4';
|
337 |
+
document.getElementById('checkout-payment-bandeira').style.display='none';
|
338 |
+
};
|
339 |
+
hipercard = function(){
|
340 |
+
document.getElementById('Visa').style.opacity='0.4';
|
341 |
+
document.getElementById('Mastercard').style.opacity='0.4';
|
342 |
+
document.getElementById('Diners').style.opacity='0.4';
|
343 |
+
document.getElementById('AmericanExpress').style.opacity='0.4';
|
344 |
+
document.getElementById('Hipercard').style.opacity='1';
|
345 |
+
document.getElementById('checkout-payment-bandeira').style.display='none';
|
346 |
+
};
|
347 |
+
</script>
|
348 |
+
|
349 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('O2TI/moip/css/formulario.css'); ?> "media="all">
|
350 |
+
<div id="checkouto2ti">
|
351 |
+
<ul id="payment_form_<?php echo $this->getMethodCode() ?>">
|
352 |
+
|
353 |
+
|
354 |
+
|
355 |
+
|
356 |
+
<?php if ($mostraboleto != "1"): ?>
|
357 |
+
<label>
|
358 |
+
|
359 |
+
<?php if (in_array("BoletoBancario", $standad->getFormasPagamento()) ): ?>
|
360 |
+
<input onclick="boleto();" type="radio" name="payment[forma_pagamento]" title="Boleto" value="" class="forma_pg">
|
361 |
+
|
362 |
+
<div id="linhaboleto" onclick="boleto();">
|
363 |
+
<div id="icone">
|
364 |
+
<img alt="Boleto Bancário" id="imageboleto" src="<?php echo $icone_boleto; ?>">
|
365 |
+
</div>
|
366 |
+
<div id="desc">
|
367 |
+
<h3>Boleto</h3>
|
368 |
+
<span class="desc">
|
369 |
+
Indisponível
|
370 |
+
</span>
|
371 |
+
</div>
|
372 |
+
<div id="valor">
|
373 |
+
<h3>Valor</h3>
|
374 |
+
R$ <?php echo number_format($desconto,2) ?>
|
375 |
+
</div>
|
376 |
+
</div>
|
377 |
+
</label>
|
378 |
+
<div style="clear:both;"></div>
|
379 |
+
<div id="conteudoboleto">
|
380 |
+
<h3>Boleto Bancário</h3>
|
381 |
+
<div id="icone">
|
382 |
+
<img alt="Boleto Bancário" id="imageboleto" src="<?php echo $boleto; ?>">
|
383 |
+
</div>
|
384 |
+
<div id="desc2">
|
385 |
+
<?php echo $prodbaixostock; ?>
|
386 |
+
</div>
|
387 |
+
</div>
|
388 |
+
|
389 |
+
<?php endif;?>
|
390 |
+
<?php endif; ?>
|
391 |
+
|
392 |
+
|
393 |
+
<div style="clear:both;"></div>
|
394 |
+
|
395 |
+
<?php if ($mostraboleto == "1"): ?>
|
396 |
+
<label>
|
397 |
+
<?php if (in_array("BoletoBancario", $standad->getFormasPagamento()) ): ?>
|
398 |
+
<input onclick="boleto();" type="radio" name="payment[forma_pagamento]" title="Boleto" value="BoletoBancario" class="forma_pg">
|
399 |
+
|
400 |
+
<div id="linhaboleto" onclick="boleto();">
|
401 |
+
<div id="icone">
|
402 |
+
<img alt="Boleto Bancário" id="imageboleto" src="<?php echo $icone_boleto; ?>">
|
403 |
+
</div>
|
404 |
+
<div id="desc">
|
405 |
+
<h3>Boleto</h3>
|
406 |
+
<span class="desc">
|
407 |
+
<?php echo $descontotexto; ?>
|
408 |
+
</span>
|
409 |
+
</div>
|
410 |
+
<div id="valor">
|
411 |
+
<h3>Valor</h3>
|
412 |
+
R$ <?php echo number_format($desconto,2) ?>
|
413 |
+
</div>
|
414 |
+
</div>
|
415 |
+
</label>
|
416 |
+
<div style="clear:both;"></div>
|
417 |
+
<div id="conteudoboleto">
|
418 |
+
<h3>Boleto Bancário</h3>
|
419 |
+
<div id="icone">
|
420 |
+
<img alt="Boleto Bancário" id="imageboleto" src="<?php echo $boleto; ?>">
|
421 |
+
</div>
|
422 |
+
<div id="desc2">
|
423 |
+
<?php echo $descontotexto1; ?>
|
424 |
+
</div>
|
425 |
+
</div>
|
426 |
+
<?php endif; ?>
|
427 |
+
<?php endif; ?>
|
428 |
+
|
429 |
+
|
430 |
+
|
431 |
+
|
432 |
+
|
433 |
+
<div style="clear:both;"></div>
|
434 |
+
|
435 |
+
|
436 |
+
|
437 |
+
|
438 |
+
|
439 |
+
<label onclick="parcelas();">
|
440 |
+
|
441 |
+
|
442 |
+
<?php if (in_array("CartaoCredito", $standad->getFormasPagamento()) ): ?>
|
443 |
+
<input onclick="parcelas();" id="cartao_radio" type="radio" name="payment[forma_pagamento]" title="Cartão de Crédito" value="CartaoCredito" class="forma_pg">
|
444 |
+
|
445 |
+
|
446 |
+
<div id="linhaparcelas">
|
447 |
+
<div id="icone">
|
448 |
+
<img alt="Cartão de Crédito" id="imageboleto" src="<?php echo $icone_cartao; ?>">
|
449 |
+
</div>
|
450 |
+
<div id="desc">
|
451 |
+
<h3>Cartão de Crédito</h3>
|
452 |
+
<span class="desc">
|
453 |
+
Pague em até <?php echo $k; ?>x
|
454 |
+
</span>
|
455 |
+
</div>
|
456 |
+
<div id="valor">
|
457 |
+
Parcelas <?php echo $k; ?>x de
|
458 |
+
R$ <?php echo $v['valor']; ?>
|
459 |
+
</div>
|
460 |
+
</div>
|
461 |
+
<?php endif;?>
|
462 |
+
</label>
|
463 |
+
<div style="clear:both;"></div>
|
464 |
+
<div id="linhacartao">
|
465 |
+
<h3>Cartão de Crédito</h3>
|
466 |
+
<li class="wide">
|
467 |
+
<label class="required" for="credito_bandeira" >Selecione a Bandeira:</label>
|
468 |
+
<div class="input-box" style="text-align:center;">
|
469 |
+
|
470 |
+
<label id="band">
|
471 |
+
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" onclick="visa();" value="Visa"><img src="<?php echo $cartao_visa; ?>" onclick=";" id="Visa" alt="Visa" border="0">
|
472 |
+
</label>
|
473 |
+
|
474 |
+
<label id="band">
|
475 |
+
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" onclick="mastercard();" value="Mastercard"><img src="<?php echo $cartao_master; ?>" onclick="" id="Mastercard" alt="Mastercard" border="0">
|
476 |
+
</label>
|
477 |
+
|
478 |
+
|
479 |
+
<label id="band">
|
480 |
+
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" onclick="americanexpress();" value="AmericanExpress"><img src="<?php echo $cartao_american; ?>" onclick="" id="AmericanExpress" alt="AmericanExpress" border="0">
|
481 |
+
</label>
|
482 |
+
</div>
|
483 |
+
<div class="input-box" style="text-align:center;">
|
484 |
+
<label id="band">
|
485 |
+
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" onclick="diners();" value="Diners"> <img onclick="" src="<?php echo $cartao_diners; ?>" id="Diners" alt="Diners" border="0">
|
486 |
+
</label>
|
487 |
+
|
488 |
+
|
489 |
+
<label id="band">
|
490 |
+
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" onclick="hipercard();" value="Hipercard"><img onclick="" src="<?php echo $cartao_hipercard; ?>" id="Hipercard" alt="Hipercard" border="0">
|
491 |
+
</label>
|
492 |
+
|
493 |
+
</div>
|
494 |
+
</li>
|
495 |
+
|
496 |
+
<div id="checkout-payment-bandeira" class="validation-advice" style="display:none;position:relative;" ></div>
|
497 |
+
|
498 |
+
<li class="wide">
|
499 |
+
<label class="required" for="credito_numero">Número:</label>
|
500 |
+
<div class="input-box">
|
501 |
+
<input type="text" name="payment[credito_numero]" id="credito_numero" class="input-text required-entry validate-cc-number" >
|
502 |
+
</div>
|
503 |
+
</li>
|
504 |
+
|
505 |
+
|
506 |
+
<li class="wide">
|
507 |
+
<label class="required" for="Validade">Validade:</label>
|
508 |
+
<div class="input-box">
|
509 |
+
<select name="payment[credito_expiracao_mes]" id="credito_expiracao_mes" class="input-text required-entry" >
|
510 |
+
<option value="">Mês</option>
|
511 |
+
<option value="01">01</option>
|
512 |
+
<option value="02">02</option>
|
513 |
+
<option value="03">03</option>
|
514 |
+
<option value="04">04</option>
|
515 |
+
<option value="05">05</option>
|
516 |
+
<option value="06">06</option>
|
517 |
+
<option value="07">07</option>
|
518 |
+
<option value="08">08</option>
|
519 |
+
<option value="09">09</option>
|
520 |
+
<option value="10">10</option>
|
521 |
+
<option value="11">11</option>
|
522 |
+
<option value="12">12</option>
|
523 |
+
</select>
|
524 |
+
<select name="payment[credito_expiracao_ano]" id="credito_expiracao_ano" class="input-text required-entry" >
|
525 |
+
<option value="">Ano</option>
|
526 |
+
<option value="13">13</option>
|
527 |
+
<option value="14">14</option>
|
528 |
+
<option value="15">15</option>
|
529 |
+
<option value="16">16</option>
|
530 |
+
<option value="17">17</option>
|
531 |
+
<option value="18">18</option>
|
532 |
+
<option value="19">19</option>
|
533 |
+
<option value="20">20</option>
|
534 |
+
<option value="21">21</option>
|
535 |
+
<option value="22">22</option>
|
536 |
+
<option value="23">23</option>
|
537 |
+
<option value="24">24</option>
|
538 |
+
<option value="25">25</option>
|
539 |
+
</select>
|
540 |
+
</div>
|
541 |
+
</li>
|
542 |
+
<li class="wide">
|
543 |
+
<label class="required" for="cvv">Código de segurança:</label>
|
544 |
+
<div class="input-box">
|
545 |
+
<span class="tooltip">
|
546 |
+
<input type="text" name="payment[credito_codigo_seguranca]" onkeyup="countChar(this)" class="input-text required-entry" id="credito_codigo_seguranca" >
|
547 |
+
<span class="custom help" style=" width:260px;"><em>Código de segurança:</em>Veja no verso do seu cartão.<img src="<?php echo $this->getSkinUrl('O2TI/moip/imagem/codigo-seguranca.png'); ?>" id="imageseguramoip" border="0"></span></span>
|
548 |
+
</div>
|
549 |
+
</li>
|
550 |
+
<?php
|
551 |
+
$data = $standad->getQuote()->getShippingAddress();
|
552 |
+
$data->getGrandTotal();
|
553 |
+
?>
|
554 |
+
|
555 |
+
<li class="wide">
|
556 |
+
<label class="required" for="credito_parcela">Opções de pagamento:</label>
|
557 |
+
<div class="input-box">
|
558 |
+
<select name="payment[credito_parcelamento]" id="credito_parcelamento" class="input-text required-entry" >
|
559 |
+
<?php echo $parcelas; ?>
|
560 |
+
</select>
|
561 |
+
|
562 |
+
<div id="addparcelas">
|
563 |
+
<?php
|
564 |
+
|
565 |
+
if ($parcelas_sem_juros >= 1)
|
566 |
+
{
|
567 |
+
echo "<div id=\"addparcelasdesc\"> Sem juros até ".$parcelas_sem_juros." parcelas";
|
568 |
+
if ($parcelas_sem_juros < $k)
|
569 |
+
{
|
570 |
+
echo ", após juros de ". $v['juros'] ." a.m.</div>";
|
571 |
+
}
|
572 |
+
}
|
573 |
+
if ($parcelas_sem_juros == "12")
|
574 |
+
{
|
575 |
+
echo "<div id=\"addparcelasdesc\"> Com juros de ".$v['juros'] ." a.m.</div>";
|
576 |
+
}
|
577 |
+
?>
|
578 |
+
</div>
|
579 |
+
</div>
|
580 |
+
</li>
|
581 |
+
|
582 |
+
<div id="formcli" style="display:none;">
|
583 |
+
<h3>Dados do Titular</h3>
|
584 |
+
<div id="pjmoip" style="display:none;width:80%; float:left;color:red;">Atenção para Pessoa Júridica você deverá informar os dados do seu cartão empresarial, não os dados da empresa.</div>
|
585 |
+
|
586 |
+
<li class="wide">
|
587 |
+
<label class="required" for="credito_parcela">Nome no Cartão:</label>
|
588 |
+
<div class="input-box">
|
589 |
+
<span class="tooltip" >
|
590 |
+
<input type="text" name="payment[credito_portador_nome]" value="<?php echo $nome; ?>" class="required-entry" id="credito_portador_nome" >
|
591 |
+
<span class="custom help"><em>Nome do titular</em>deverá ser obrigatoriamente como descrito no cartão.</span></span>
|
592 |
+
</div>
|
593 |
+
</li>
|
594 |
+
<li class="wide">
|
595 |
+
<label class="required" for="credito_parcela">CPF:</label>
|
596 |
+
<div class="input-box">
|
597 |
+
<input type="text" name="payment[credito_portador_cpf]" class="required-entry validar_cpf" placeholder="Ex. 111.111.111-11" onkeypress="return txtBoxFormat(this, '999.999.999-99', event);" maxlength="14" id="credito_portador_cpf" value="<?php echo $cpf; ?>" >
|
598 |
+
</div>
|
599 |
+
</li>
|
600 |
+
<li class="wide">
|
601 |
+
<label class="required" for="credito_parcela">Telefone:</label>
|
602 |
+
<div class="input-box">
|
603 |
+
<span class="tooltip" >
|
604 |
+
<input type="text" name="payment[credito_portador_telefone]" id="credito_portador_telefone" onkeypress="return txtBoxFormat(this, '(99)9999-9999', event);" maxlength="14" value="<?php echo $telefone; ?>" placeholder="Ex. (19)9999-9999" class="input-text required-entry">
|
605 |
+
<span class="custom help"><em>Telefone de contato</em>Muitas vezes é necessária a confirmação manual de seus dados por nossa equipe de crédito, por favor informe um telefone em que seja fácil te localizar.</span></span>
|
606 |
+
</div>
|
607 |
+
</li>
|
608 |
+
<li class="wide">
|
609 |
+
<label class="required" for="credito_parcela">Data nascimento:</label>
|
610 |
+
<div class="input-box">
|
611 |
+
<input type="text" name="payment[credito_portador_nascimento]" id="credito_portador_nascimento" onkeypress="return txtBoxFormat(this, '99/99/9999', event);" maxlength="10" value="<?php if ($dn !='') { echo $dn; } ?>" placeholder="Ex. 10/10/1985" class="input-text required-entry" >
|
612 |
+
</div>
|
613 |
+
</li>
|
614 |
+
</div>
|
615 |
+
</div>
|
616 |
+
|
617 |
+
|
618 |
+
<div style="clear:both;"></div>
|
619 |
+
|
620 |
+
|
621 |
+
|
622 |
+
|
623 |
+
|
624 |
+
<label>
|
625 |
+
|
626 |
+
<?php if (in_array("DebitoBancario", $standad->getFormasPagamento()) ): ?>
|
627 |
+
<input onclick="transf();" type="radio" class="forma_pg" name="payment[forma_pagamento]" value="DebitoBancario" >
|
628 |
+
|
629 |
+
<div id="linhatransf" onclick="transf();">
|
630 |
+
<div id="icone">
|
631 |
+
<img alt="Transferência Bancária" id="imageboleto" src="<?php echo $icone_transf; ?>">
|
632 |
+
</div>
|
633 |
+
<div id="desc">
|
634 |
+
<h3>Transferência Bancária</h3>
|
635 |
+
<span class="desc">
|
636 |
+
<?php echo $descontotexto; ?>
|
637 |
+
</span>
|
638 |
+
</div>
|
639 |
+
<div id="valor">
|
640 |
+
<h3>Valor</h3>
|
641 |
+
R$ <?php echo number_format($desconto,2) ?>
|
642 |
+
</div>
|
643 |
+
</div>
|
644 |
+
<?php endif;?>
|
645 |
+
</label>
|
646 |
+
<div style="clear:both;"></div>
|
647 |
+
<div id="conteudotransf">
|
648 |
+
<h3>Transferência Online</h3>
|
649 |
+
<div id="pagdebito">
|
650 |
+
Após finalizar o pedido você será redirecionado ao site do seu banco...</br>
|
651 |
+
<?php echo $descontotexto1; ?>
|
652 |
+
</br>
|
653 |
+
</div>
|
654 |
+
<div id="moip_debito_bandeiras">
|
655 |
+
<label>
|
656 |
+
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" onclick="bb();" value="BancoDoBrasil">
|
657 |
+
<img src="<?php echo $cartao_bb; ?>" alt="Banco do Brasil" id="debbb" >
|
658 |
+
</label>
|
659 |
+
<label>
|
660 |
+
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" onclick="bradesco();" value="Bradesco">
|
661 |
+
<img src="<?php echo $cartao_bradesco; ?>" id="debbradesco" alt="Bradesco">
|
662 |
+
</label>
|
663 |
+
<label>
|
664 |
+
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" onclick="itau();" value="Itau" >
|
665 |
+
<img src="<?php echo $cartao_itau; ?>" id="debitau" alt="Itaú" >
|
666 |
+
</label>
|
667 |
+
<label>
|
668 |
+
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" onclick="banrisul();" value="Banrisul">
|
669 |
+
<img src="<?php echo $cartao_banrisul; ?>" id="Banrisul" alt="Banrisul" >
|
670 |
+
</label>
|
671 |
+
</div>
|
672 |
+
<div id="checkout-payment-banco" class="validation-advice" style="position:relative;display:none;"></div>
|
673 |
+
<div id="checkout-payment-o2ti-deb" class="validation-advice" style="position:relative;display:none;" >
|
674 |
+
Por favor, selecione o banco!
|
675 |
+
</div>
|
676 |
+
</div>
|
677 |
+
<div style="clear:both;"></div>
|
678 |
+
|
679 |
+
</ul>
|
680 |
+
</div>
|
681 |
+
<div id="checkout-payment-o2ti" class="validation-advice" style="position:relative;display:none;"></div>
|
682 |
+
|
app/design/adminhtml/default/default/template/O2TI/pagseguro/info.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Mage::getModel("sales/order")->getCollection()->getLastItem()->getIncrementId(); */
|
3 |
+
$css_email = "display: block;float: left;clear: both !important;border-radius: 10px;color: #fff;font-size: 16pt;font-weight: bold;text-align: center;text-transform: uppercase;position: relative;margin-left: 70px;margin-top: 10px;margin-bottom: 25px;background: #ff9900;background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
4 |
+
background: -moz-linear-gradient(top, #ff9900 0%, #ff6600 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff9900), color-stop(100%,#ff6600));
|
5 |
+
background: -webkit-linear-gradient(top, #ff9900 0%,#ff6600 100%);background: -o-linear-gradient(top, #ff9900 0%,#ff6600 100%);background: -ms-linear-gradient(top, #ff9900 0%,#ff6600 100%);background: linear-gradient(to bottom, #ff9900 0%,#ff6600 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9900', endColorstr='#ff6600',GradientType=0 );line-height: 20px;position: relative;";
|
6 |
+
$css_boleto = "padding: 15px 20px 15px 55px;border: 0;";
|
7 |
+
$css_trans = "padding: 20px 20px 20px 40px";
|
8 |
+
$css_email_img = "position: absolute !important;left: -70px !important;top: -20px !important;min-height: 100px;width: 115px;";
|
9 |
+
?>
|
10 |
+
<?php $info = $this->_prepareInfo(); ?>
|
11 |
+
<?php if($info['result_meio'] == "Cartão de Crédito"): ?>
|
12 |
+
<div class="cartao" style="width:100%">
|
13 |
+
<h4>Pago em <?php echo $info['creditcard_parc']; ?> parcelas via:</h4>
|
14 |
+
</div>
|
15 |
+
<div class="cartao" style="width:100%">
|
16 |
+
<div class="image" style="width:30%; float:left;">
|
17 |
+
<?php $imagem = $info['image']; ?>
|
18 |
+
<div class="image" style="padding:5px"><img src="<?php echo $imagem; ?>"></div>
|
19 |
+
</div>
|
20 |
+
<div class="dados" style="width:70%; float:left">
|
21 |
+
<label>6 Primeiros dígitos do cartão</label>
|
22 |
+
<div class="input-text"><strong><?php echo $info['first6'] ?></strong></div>
|
23 |
+
<label>4 Últimos dígitos do cartão</label>
|
24 |
+
<div class="input-text"><strong><?php echo $info['last4'] ?></strong></div>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
<?php endif ?>
|
28 |
+
|
29 |
+
|
30 |
+
<?php if($info['result_meio'] == "Boleto Bancário"): ?>
|
31 |
+
<div class="metodo title"><h3><?php echo $info['result_meio'] ?></h3></div>
|
32 |
+
<div style="clear:both; width:100%;">
|
33 |
+
<button style="<?php echo $css_email.$css_boleto ?>" onclick="window.location='<?php echo $info['url'] ?>'" ><div style="<?php echo $css_email_img; ?>background:url(<?php echo $this->getSkinUrl('O2TI/moip/imagem/printer.png');echo") no-repeat;"; ?>"/></div>Visualize o boleto aqui</span></button>
|
34 |
+
</div></br>
|
35 |
+
<div class="boleto_line_title"><h4>Ou Cópie o endereço:</h4></div>
|
36 |
+
<div class="boleto_line"><input type="text" class="input-text" value="<?php echo $info['url'] ?>" readonly="true" style="width:350px"></div>
|
37 |
+
<?php endif ?>
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
<?php if($info['result_meio'] == "Transferência Bancária"): ?>
|
42 |
+
<div class="metodo title"><h3><?php echo $info['result_meio'] ?></h3></div>
|
43 |
+
<div class="trans" style="width:100%">
|
44 |
+
<div style="clear:both;width:100%"><button type="button" title="Finalizar compra" style="<?php echo $css_email.$css_trans ?>" onclick="window.location='<?php echo $info['url'] ?>'"><div style="<?php echo $css_email_img; ?>background:url(<?php echo $this->getSkinUrl('O2TI/moip/imagem/bank-icon.png');echo") no-repeat;"; ?>"/></div>Ir ao Banco</button></div>
|
45 |
+
<div class="boleto_line_title" style="clear:both;width:100%"><h4>Ou Cole a Url na Barra do Navegador:</h4></div>
|
46 |
+
<div class="boleto_line" style="clear:both;width:100%"><input type="text" class="input-text" value="<?php echo $info['url'] ?>" readonly="true" style="width:350px"></div>
|
47 |
+
</div>
|
48 |
+
<?php endif ?>
|
app/design/adminhtml/default/default/template/O2TI/pagseguro/redirect.phtml
ADDED
@@ -0,0 +1,587 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$token = "";
|
3 |
+
$moipToken = "";
|
4 |
+
$tokenpagamento = "";
|
5 |
+
$refazerpagamento = "";
|
6 |
+
$data = $this->getRequest()->getParams();
|
7 |
+
$standard = Mage::getModel('moip/standard');
|
8 |
+
$form = new Varien_Data_Form();
|
9 |
+
$api = Mage::getModel('moip/api');
|
10 |
+
$api->setAmbiente($standard->getConfigData('ambiente'));
|
11 |
+
$idgoogle = Mage::getStoreConfig('o2tiall/google/idgoogle');
|
12 |
+
$meio = $api->generatemeip(Mage::registry('formapgto'));
|
13 |
+
$opcaopg = $api->generatemeiopago(Mage::registry('formapg'));
|
14 |
+
$parcelamento = $standard->getInfoParcelamento();
|
15 |
+
$enviapara = $standard->getConfigData('ambiente');
|
16 |
+
$urldosite = $urldosite = Mage::getBaseUrl('web', true);
|
17 |
+
if (Mage::registry('erro') !=""){
|
18 |
+
echo Mage::registry('erro');
|
19 |
+
Mage::log(Mage::registry('erro'), null, 'O2TI_Moip.log', true);
|
20 |
+
Mage::log(Mage::registry('xml'), null, 'O2TI_Moip.log', true);
|
21 |
+
}
|
22 |
+
if ($enviapara == "teste") {
|
23 |
+
Mage::log(Mage::registry('erro'), null, 'O2TI_Moip.log', true);
|
24 |
+
Mage::log(Mage::registry('xml'), null, 'O2TI_Moip.log', true);
|
25 |
+
Mage::log(Mage::registry('token'), null, 'O2TI_Moip.log', true);
|
26 |
+
$urldomoip = "https://desenvolvedor.moip.com.br/sandbox";
|
27 |
+
}
|
28 |
+
else {
|
29 |
+
$urldomoip = "https://www.moip.com.br/";
|
30 |
+
}
|
31 |
+
if ($opcaopg['forma_pagamento'] == "DebitoBancario") {
|
32 |
+
$bandeira = $opcaopg['debito_instituicao'];
|
33 |
+
$vencpedido = date('c', strtotime("+2 days"));
|
34 |
+
}
|
35 |
+
if ($opcaopg['forma_pagamento'] == "CartaoCredito" || $opcaopg['forma_pagamento'] == "Cofre") {
|
36 |
+
$bandeira = $opcaopg['credito_instituicao'];
|
37 |
+
$vencpedido = date('c', strtotime("+2 days"));
|
38 |
+
}
|
39 |
+
if ($opcaopg['forma_pagamento'] == "BoletoBancario") {
|
40 |
+
$bandeira = "Bradesco";
|
41 |
+
$vencpedido = $opcaopg['timevencimentoboleto'];
|
42 |
+
}
|
43 |
+
|
44 |
+
if (!$data['token']) {
|
45 |
+
|
46 |
+
//primeira compra grava os dados.
|
47 |
+
|
48 |
+
if (!$moipToken) {
|
49 |
+
$moipToken = Mage::registry('token');
|
50 |
+
$url = $moipToken;
|
51 |
+
$xmlgerado = Mage::registry('xml');
|
52 |
+
$xml_sent = (string)$xmlgerado;
|
53 |
+
$standard = Mage::getSingleton('moip/standard');
|
54 |
+
$sale_id = Mage::getSingleton('checkout/session')->getLastRealOrderId();
|
55 |
+
$realorder_id = Mage::getSingleton('checkout/session')->getLastOrderId();
|
56 |
+
$incrementId = $realorder_id;
|
57 |
+
$order = Mage::getModel('sales/order')->load($incrementId);
|
58 |
+
$session = Mage::getSingleton('customer/session');
|
59 |
+
$customer = $session->getCustomer();
|
60 |
+
$oque = $order->getIsVirtual();
|
61 |
+
if ($oque) {
|
62 |
+
$shippingId = $order->getBillingAddress()->getId();
|
63 |
+
}
|
64 |
+
else {
|
65 |
+
$shippingId = $order->getShippingAddress()->getId();
|
66 |
+
}
|
67 |
+
$customer_id = $order->getCustomerId();
|
68 |
+
$status = "Sucesso";
|
69 |
+
$connR = Mage::getSingleton('core/resource')->getConnection('core_read');
|
70 |
+
$sql = "SELECT *
|
71 |
+
FROM moip
|
72 |
+
WHERE sale_id IN (".$sale_id.") AND status ='Sucesso'";
|
73 |
+
$_venda = $connR->fetchAll($sql);
|
74 |
+
foreach ($_venda as $venda) {
|
75 |
+
$tokenpagamento = $venda['xml_return'];
|
76 |
+
}
|
77 |
+
if ($tokenpagamento == "") {
|
78 |
+
$conn = Mage::getSingleton('core/resource')->getConnection('core_write');
|
79 |
+
$results = $conn->query("INSERT INTO `moip` (`transaction_id` ,`realorder_id` ,`sale_id` ,`xml_sent` ,`xml_return` ,`status` ,`formapg` ,`bandeira` ,`digito` ,`vencimento` ,`datetime`) VALUES (NULL , '".$realorder_id."', '".$sale_id."', '".$xml_sent."', '".$moipToken."', '".$status."', '".$opcaopg['forma_pagamento']."', '".$bandeira."', '', '".$vencpedido."', '".date('Y-m-d H:i:s')."');");
|
80 |
+
$tokenpagamento = $moipToken;
|
81 |
+
$url = $moipToken;
|
82 |
+
}
|
83 |
+
}
|
84 |
+
else {
|
85 |
+
//usado para o reload da pagina pelos infelizes clientes que navegam com ie.
|
86 |
+
$tokenpagamento = $moipToken;
|
87 |
+
$url = $tokenpagamento;
|
88 |
+
$status = "Sucesso";
|
89 |
+
}
|
90 |
+
}
|
91 |
+
|
92 |
+
//refaz o pedido vindo do my account.
|
93 |
+
else {
|
94 |
+
|
95 |
+
$LastRealOrderId = $data['realorder'];
|
96 |
+
$conn = Mage::getSingleton('core/resource')->getConnection('core_read');
|
97 |
+
$sql = "SELECT * FROM moip WHERE sale_id IN ({$LastRealOrderId})";
|
98 |
+
$_venda = $conn->fetchAll($sql);
|
99 |
+
foreach ($_venda as $venda) {
|
100 |
+
$tokenpagamento = $venda['xml_return'];
|
101 |
+
$url = $venda['xml_return'];
|
102 |
+
$incrementId = $venda['realorder_id'];
|
103 |
+
$order = $data['realorder'];
|
104 |
+
$opcaopg['forma_pagamento'] = $venda['formapg'];
|
105 |
+
$bandeira = $venda['bandeira'];
|
106 |
+
$connRW = Mage::getSingleton('core/resource')->getConnection('core_write');
|
107 |
+
$results = $connRW->query("UPDATE `moip` SET vencimento='".$vencpedido."' WHERE sale_id IN (".$LastRealOrderId.");");
|
108 |
+
}
|
109 |
+
$refazerpagamento = 1;
|
110 |
+
$url = $venda['xml_return'];
|
111 |
+
$order = Mage::getModel('sales/order')->load($incrementId);
|
112 |
+
$session = Mage::getSingleton('customer/session');
|
113 |
+
|
114 |
+
$oque = $order->getIsVirtual();
|
115 |
+
if ($oque) {
|
116 |
+
$shippingId = $order->getBillingAddress()->getId();
|
117 |
+
}
|
118 |
+
else {
|
119 |
+
$shippingId = $order->getShippingAddress()->getId();
|
120 |
+
}
|
121 |
+
}
|
122 |
+
|
123 |
+
|
124 |
+
|
125 |
+
|
126 |
+
$address = Mage::getModel('sales/order_address')->load($shippingId);
|
127 |
+
$urldosite = Mage::getBaseUrl('web', true);
|
128 |
+
$totalparaparcelado = $order->getGrandTotal();
|
129 |
+
?>
|
130 |
+
<!-- entrou no pagamento -->
|
131 |
+
<script type="text/javascript">
|
132 |
+
var _gaq = _gaq || [];
|
133 |
+
_gaq.push(['_setAccount', '<?php echo $idgoogle ?>']);
|
134 |
+
_gaq.push(['_setDomainName', '<?php echo $urldosite ?>']);
|
135 |
+
_gaq.push(['_addIgnoreRef', '<?php echo $urldosite ?>']);//dominio para evitar duplicidade
|
136 |
+
_gaq.push(['_trackPageview']);
|
137 |
+
_gaq.push(['_addTrans',
|
138 |
+
'<?php echo $sale_id ?>',
|
139 |
+
'<?php echo Mage::app()->getStore() ?>',
|
140 |
+
'<?php echo ($totalparaparcelado - $order->getShippingAmount()) ?>',
|
141 |
+
'0',
|
142 |
+
'<?php echo $order->getShippingAmount() ?>',
|
143 |
+
'<?php echo $address->getCity() ?>',
|
144 |
+
'<?php echo $address->getRegion() ?>',
|
145 |
+
'<?php echo $address->getCountry_id() ?>'
|
146 |
+
]);
|
147 |
+
<?php $orderItems = $order -> getItemsCollection();
|
148 |
+
foreach ($orderItems as $item) {
|
149 |
+
$product_sku = $item -> sku;
|
150 |
+
$product_name = $item -> getName();
|
151 |
+
$_product = Mage::getModel('catalog/product') -> load($item->getProductId());
|
152 |
+
$cats = $_product -> getCategoryIds();
|
153 |
+
$category_name = Mage::getModel('catalog/category') -> load($cats[0]) -> getName();
|
154 |
+
$price = $item->getPrice();
|
155 |
+
$qty = $item -> getQtyOrdered();
|
156 |
+
echo "
|
157 |
+
_gaq.push(['_addItem',
|
158 |
+
'$incrementId',
|
159 |
+
'$product_sku',
|
160 |
+
'$product_name',
|
161 |
+
'$category_name',
|
162 |
+
'$price',
|
163 |
+
'$qty'
|
164 |
+
]);
|
165 |
+
";
|
166 |
+
}
|
167 |
+
?>
|
168 |
+
_gaq.push(['_trackTrans']);
|
169 |
+
(function() {
|
170 |
+
var ga = document.createElement('script');
|
171 |
+
ga.type = 'text/javascript';
|
172 |
+
ga.async = true;
|
173 |
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
174 |
+
var s = document.getElementsByTagName('script')[0];
|
175 |
+
s.parentNode.insertBefore(ga, s);
|
176 |
+
})();
|
177 |
+
</script>
|
178 |
+
|
179 |
+
|
180 |
+
|
181 |
+
|
182 |
+
<!-- Corpo comum ao pagamento -->
|
183 |
+
<div id="moip_corpo">
|
184 |
+
|
185 |
+
<script type="text/javascript" charset="ISO-8859-1" src="<?php echo $urldomoip ?>/transparente/MoipWidget-v2.js"
|
186 |
+
onerror="erro_mail('erro caiu o moip widget')" ></script>
|
187 |
+
<div id="MoipWidget" data-token="<?php echo $url ?>" callback-method-error="erroValidacao" callback-method-success="sucesso" ></div>
|
188 |
+
<h2>Pedido realizado via Moip S/A</h2>
|
189 |
+
<div class="row-fluid">
|
190 |
+
<div class="span3">
|
191 |
+
<div id="icone_pg" >
|
192 |
+
<img src="<?php echo $this->getSkinUrl('O2TI/moip/imagem/logomoip.png'); ?>" border="0" >
|
193 |
+
<img src="<?php echo $this->getSkinUrl('O2TI/moip/imagem/'.$bandeira.'.png'); ?>" border="0" >
|
194 |
+
</div>
|
195 |
+
</div>
|
196 |
+
<div class="span9">
|
197 |
+
|
198 |
+
</div>
|
199 |
+
</div>
|
200 |
+
<div id="Descr_pg">
|
201 |
+
<?php if($opcaopg['forma_pagamento'] == "DebitoBancario"):?>
|
202 |
+
<meta http-equiv='Refresh' content='5;URL=<?php echo $urldomoip ?>/Instrucao.do?token=<?php echo $url ?>'>
|
203 |
+
<h3>Transferência Bancária</h3>
|
204 |
+
<p>Você será redirecionado para o seu banco em 5 segundos, caso isto não ocorra, por favor clique no link abaixo para ser redirecionado ao seu banco.</p>
|
205 |
+
</br>
|
206 |
+
<button type="button" title="Finalizar compra" class="button btn-proceed-checkout btn-checkout" onclick="window.location='<?php echo $urldomoip ?>/Instrucao.do?token=<?php echo $url ?>'"><span><span>Ir ao Banco</span></span></button>
|
207 |
+
<?php endif; ?>
|
208 |
+
<?php if($opcaopg['forma_pagamento']== "BoletoBancario"):?>
|
209 |
+
|
210 |
+
<script type="text/javascript"> jQuery(document).ready(function(){
|
211 |
+
jQuery('#showXml').modal('toggle');
|
212 |
+
});
|
213 |
+
|
214 |
+
function abre_boleto()
|
215 |
+
{
|
216 |
+
jQuery('#showXml').modal('toggle');
|
217 |
+
};</script>
|
218 |
+
<h3>Boleto Bancário</h3>
|
219 |
+
<h3>Clique no botão abaixo para imprimir o seu boleto.</h3>
|
220 |
+
<button class="btn btn-primary btn buttonmoip" onclick="abre_boleto()")" >Imprimir Boleto</button>
|
221 |
+
</div>
|
222 |
+
<div class="modal" id="showXml" >
|
223 |
+
<div class="modal-header">
|
224 |
+
<button class="close" data-dismiss="modal">x</button>
|
225 |
+
<h3>Boleto Bancário - Bradesco</h3>
|
226 |
+
</div>
|
227 |
+
<div class="modal-body"></div>
|
228 |
+
</div>
|
229 |
+
<?php endif; ?>
|
230 |
+
<?php
|
231 |
+
$tipoderecebimento = $standard->getConfigData('tipoderecebimento');
|
232 |
+
if($tipoderecebimento == "0"){
|
233 |
+
$tipoderecebimento = "Parcelado";
|
234 |
+
}else{
|
235 |
+
$tipoderecebimento = "AVista";
|
236 |
+
}
|
237 |
+
if($opcaopg['forma_pagamento'] == "CartaoCredito" || $opcaopg['forma_pagamento'] == "Cofre" ): ?>
|
238 |
+
<h3>Cartão de Crédito</h3>
|
239 |
+
<div class="loader"/>Por favor, aguarde!</br><img src="<?php echo $this->getSkinUrl('O2TI/moip/imagem/ajax-loader.gif'); ?>" border="0"></div>
|
240 |
+
<div id="Errocartao"></div>
|
241 |
+
<script type="text/javascript">
|
242 |
+
jQuery(document).ready(function() {
|
243 |
+
jQuery("#token").val(jQuery("#MoipWidget").attr("data-token"));
|
244 |
+
jQuery("#sendToMoip2").click(function() {
|
245 |
+
sendToCreditCard2();
|
246 |
+
jQuery(".loader").css({
|
247 |
+
display: "block"
|
248 |
+
});
|
249 |
+
jQuery("#Errocartao").css({
|
250 |
+
display: "none"
|
251 |
+
});
|
252 |
+
jQuery("#statusmoip").css({
|
253 |
+
display: "none"
|
254 |
+
});
|
255 |
+
jQuery("#moiperro").css({
|
256 |
+
display: "none"
|
257 |
+
});
|
258 |
+
jQuery("#statusmoipadd").css({
|
259 |
+
display: "none"
|
260 |
+
});
|
261 |
+
jQuery("#idmoip").css({
|
262 |
+
display: "none"
|
263 |
+
});
|
264 |
+
});
|
265 |
+
});
|
266 |
+
sendToCreditCard2 = function() {
|
267 |
+
var settings = {
|
268 |
+
"Forma": "CartaoCredito",
|
269 |
+
"Instituicao": jQuery("#instituicao").val(),
|
270 |
+
"Parcelas": jQuery("#Parcelas").val(),
|
271 |
+
"Recebimento": "<?php echo $tipoderecebimento ?>",
|
272 |
+
"CartaoCredito": {
|
273 |
+
"Numero": jQuery("input[name=Numero]").val(),
|
274 |
+
"Expiracao": jQuery("input[name=Expiracao]").val(),
|
275 |
+
"CodigoSeguranca": jQuery("input[name=CodigoSeguranca]").val(),
|
276 |
+
"Portador": {
|
277 |
+
"Nome": jQuery("input[name=Portador]").val(),
|
278 |
+
"DataNascimento": jQuery("input[name=DataNascimento]").val(),
|
279 |
+
"Telefone": jQuery("input[name=Telefone]").val(),
|
280 |
+
"Identidade": jQuery("input[name=CPF]").val()
|
281 |
+
}
|
282 |
+
}
|
283 |
+
}
|
284 |
+
MoipWidget(settings);
|
285 |
+
};
|
286 |
+
</script>
|
287 |
+
<div id="refazercartao" style="display:none;width:87%;">
|
288 |
+
|
289 |
+
<div class="well">
|
290 |
+
<h3>Não foi possível concluir o pagamento, por favor reveja os dados e tente novamente.</h3>
|
291 |
+
<ul class="repay-form">
|
292 |
+
<li>
|
293 |
+
<h3>Dados do Cartão</h3>
|
294 |
+
</li>
|
295 |
+
<li>
|
296 |
+
<label>Parcelas:</label>
|
297 |
+
<select id="Parcelas" >
|
298 |
+
<?php
|
299 |
+
$valor = $totalparaparcelado;
|
300 |
+
$parcelamento = $api->getParcelamento(number_format($valor, 2, ".", "."));
|
301 |
+
?>
|
302 |
+
<?php foreach ($parcelamento as $k => $v):?>
|
303 |
+
<option value="<?php echo $k ?>"><?php echo $k . "x R$ " . $v['valor'] . " | Total: R$ " .$v['total']."" ?></option>
|
304 |
+
<?php endforeach; ?>
|
305 |
+
</select>
|
306 |
+
</li>
|
307 |
+
<li>
|
308 |
+
<label>Instituição:</label>
|
309 |
+
<select id="instituicao">
|
310 |
+
<option value="Visa">Visa</option>
|
311 |
+
<option value="Mastercard">Mastercard</option>
|
312 |
+
<option value="AmericanExpress">AmericanExpress</option>
|
313 |
+
<option value="Hipercard">Hipercard</option>
|
314 |
+
<option value="Diners">Diners</option>
|
315 |
+
</select>
|
316 |
+
</li>
|
317 |
+
<li>
|
318 |
+
<div>
|
319 |
+
<label>Numero do Cartão:</label>
|
320 |
+
<input type="text" id="Numero" name="Numero" value="">
|
321 |
+
</div>
|
322 |
+
<div>
|
323 |
+
<label>CVV:</label>
|
324 |
+
<input type="text" id="CodigoSeguranca" name="CodigoSeguranca" value="" size="4">
|
325 |
+
</div>
|
326 |
+
</li>
|
327 |
+
<li>
|
328 |
+
<label>Expiração:</label>
|
329 |
+
<input type="text" id="Expiracao" name="Expiracao" value="" onkeypress="return txtBoxFormat(this, '99/99', event);" maxlength="5" placeholder="Ex. 10/15" size="5">
|
330 |
+
</li>
|
331 |
+
<li>
|
332 |
+
<h3>Dados do Títular do Cartão</h3>
|
333 |
+
</li>
|
334 |
+
<li>
|
335 |
+
<label>Portador:</label>
|
336 |
+
<input type="text" id="Portador" name="Portador" value="">
|
337 |
+
</li>
|
338 |
+
<li>
|
339 |
+
<label>CPF:</label>
|
340 |
+
<input type="text" id="CPF" name="CPF" value="">
|
341 |
+
</li>
|
342 |
+
<li>
|
343 |
+
<label>Data Nascimento:</label>
|
344 |
+
<input type="text" id="DataNascimento" name="DataNascimento" onkeypress="return txtBoxFormat(this, '99/99/9999', event);" maxlength="10" placeholder="Ex. 10/10/1985" value=""><br>
|
345 |
+
</li>
|
346 |
+
<li>
|
347 |
+
<label>Telefone:</label>
|
348 |
+
<input type="text" id="Telefone" name="Telefone" value="" onkeypress="return txtBoxFormat(this, '(99)9999-9999', event);" placeholder="Ex. (11)9999-9999" maxlength="14" ><br>
|
349 |
+
</li>
|
350 |
+
<li>
|
351 |
+
<button id="sendToMoip2" class="btn buttonmoip">Pagar Agora</button>
|
352 |
+
</li>
|
353 |
+
</ul>
|
354 |
+
</div>
|
355 |
+
</div>
|
356 |
+
<div id="pgcartao">
|
357 |
+
<div id="statusmoip"></div>
|
358 |
+
<div id="statusmoipadd"></div>
|
359 |
+
<div id="moiperro"></div>
|
360 |
+
<div id="idmoip"></div>
|
361 |
+
</div>
|
362 |
+
</div>
|
363 |
+
<?php endif; ?>
|
364 |
+
|
365 |
+
</div>
|
366 |
+
|
367 |
+
<div id="Descr_pedido" >
|
368 |
+
<h3>Detalhes de seu pedido</h3>
|
369 |
+
<div id="Descr_corpo">
|
370 |
+
<h4>O Número do seu pedido é:</h4>
|
371 |
+
#<?php echo $sale_id ?>
|
372 |
+
<h4>Seu pedido será enviado por:</h4>
|
373 |
+
<?php echo $order->getShippingDescription(); ?>
|
374 |
+
</div>
|
375 |
+
<div id="Descr_produto" >
|
376 |
+
<h4>Descrição do seu pedido</h4>
|
377 |
+
<table class="data-table" id="my-order-table" summary="<?php echo $this->__('Items Ordered') ?>">
|
378 |
+
<col />
|
379 |
+
<col width="1" />
|
380 |
+
<col width="1" />
|
381 |
+
<col width="1" />
|
382 |
+
<col width="1" />
|
383 |
+
<col width="1" />
|
384 |
+
<col width="1" />
|
385 |
+
<thead>
|
386 |
+
<tr>
|
387 |
+
<th></th>
|
388 |
+
<th class="a-left"><?php echo $this->__('Product Name') ?></th>
|
389 |
+
<th class="a-center"><?php echo $this->__('Price') ?></th>
|
390 |
+
<th></th>
|
391 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
392 |
+
<th></th>
|
393 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
394 |
+
</tr>
|
395 |
+
</thead>
|
396 |
+
<tfoot>
|
397 |
+
<?php foreach ($this->getTotals() as $_code => $_total): ?>
|
398 |
+
<?php if ($_total->getBlockName()): ?>
|
399 |
+
<?php echo $this->getChildHtml($_total->getBlockName(), false); ?>
|
400 |
+
<?php else:?>
|
401 |
+
<tr class="<?php echo $_code?>">
|
402 |
+
<td class="a-right" <?php echo $this->getLabelProperties()?> colspan="6">
|
403 |
+
<?php if ($_total->getStrong()):?>
|
404 |
+
<strong><?php echo $this->escapeHtml($_total->getLabel());?></strong>
|
405 |
+
<?php else:?>
|
406 |
+
<?php if($_total->getLabel() == "Frete"): ?>
|
407 |
+
<?php echo $order->getShippingDescription() ?>
|
408 |
+
<?php else: ?>
|
409 |
+
<?php echo $this->escapeHtml($_total->getLabel());?>
|
410 |
+
<?php endif; ?>
|
411 |
+
<?php endif; ?>
|
412 |
+
</td>
|
413 |
+
<td class="a-right" <?php echo $this->getValueProperties()?>>
|
414 |
+
<?php if ($_total->getStrong()):?>
|
415 |
+
<strong><?php echo $this->formatValue($_total) ?></strong>
|
416 |
+
<?php else:?>
|
417 |
+
<?php echo $this->formatValue($_total) ?>
|
418 |
+
<?php endif; ?>
|
419 |
+
</td>
|
420 |
+
</tr>
|
421 |
+
<?php endif?>
|
422 |
+
<?php endforeach?>
|
423 |
+
</tfoot>
|
424 |
+
<?php $_items = $order->getItemsCollection(); ?>
|
425 |
+
<?php $_index = 0; ?>
|
426 |
+
<?php $_count = $_items->count(); ?>
|
427 |
+
<tbody>
|
428 |
+
<?php foreach ($_items as $_item): ?>
|
429 |
+
<tr>
|
430 |
+
<td class="a-left product-image"><img src="<?php echo Mage::helper('catalog/image')->init(Mage::getModel('catalog/product')->load($_item->getProductId()), 'thumbnail')->resize(75, 75) ?>" alt="" /></td>
|
431 |
+
<td class="a-left product-name"><?php echo $_item->getName() ?></td>
|
432 |
+
<td class="a-right product-price"><?php echo Mage::helper('core')->currency($_item->getPrice(),true,false) ?></td>
|
433 |
+
<td class="a-center">x</td>
|
434 |
+
<td class="a-center product-qty"><?php echo number_format($_item->getQtyOrdered(), 0) ?></td>
|
435 |
+
<td class="a-center">=</td>
|
436 |
+
<td class="a-right product-total-price"><?php echo Mage::helper('core')->currency($_item->getQtyOrdered()*$_item->getPrice(),true,false) ?></td>
|
437 |
+
</tr>
|
438 |
+
<?php endforeach; ?>
|
439 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
|
440 |
+
<tr class="border<?php echo ($_index++ > $_count ?' last':'') ?>" id="order-item-gift-message-<?php echo $_item->getId() ?>" style="display:none;">
|
441 |
+
<?php $_giftMessage=$this->helper('giftmessage/message')->getGiftMessageForEntity($_item); ?>
|
442 |
+
<td class="gift-message-row" colspan="7">
|
443 |
+
<a href="#" title="<?php echo $this->__('Close') ?>" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>');" class="btn-close"><?php echo $this->__('Close') ?></a>
|
444 |
+
<dl class="gift-message">
|
445 |
+
<dt><strong><?php echo $this->__('From:') ?></strong> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?></dt>
|
446 |
+
<dt><strong><?php echo $this->__('To:') ?></strong> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?></dt>
|
447 |
+
<dd><?php echo $this->helper('giftmessage/message')->getEscapedGiftMessage($_item) ?></dd>
|
448 |
+
</dl>
|
449 |
+
</td>
|
450 |
+
</tr>
|
451 |
+
<?php endif ?>
|
452 |
+
</tbody>
|
453 |
+
</table>
|
454 |
+
<script type="text/javascript">decorateTable('my-order-table', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
|
455 |
+
</div>
|
456 |
+
</div>
|
457 |
+
<script type="text/javascript">
|
458 |
+
jQuery(document).ready(function(){
|
459 |
+
jQuery("#resultado").hide();
|
460 |
+
jQuery("#token").val("<?php echo $url; ?>");
|
461 |
+
var settings = {
|
462 |
+
<?php if($refazerpagamento != "1") { echo $meio; } ?>
|
463 |
+
<?php if($refazerpagamento == "1" && $opcaopg['forma_pagamento'] == "BoletoBancario" ) { echo ('"Forma": "BoletoBancario"');} ?>
|
464 |
+
<?php if($refazerpagamento == "1" && $opcaopg['forma_pagamento'] == "DebitoBancario" ) { echo ('"Forma": "DebitoBancario","Instituicao":"'.$bandeira.'"');} ?>
|
465 |
+
};
|
466 |
+
MoipWidget(settings);
|
467 |
+
<?php
|
468 |
+
if($refazerpagamento == "1" && $opcaopg['forma_pagamento'] == "CartaoCredito" ) { echo ('jQuery("#refazercartao").css({display:"block"});');
|
469 |
+
echo('jQuery("#Errocartao").css({display:"none"});');
|
470 |
+
}
|
471 |
+
?>
|
472 |
+
});
|
473 |
+
|
474 |
+
var sucesso = function(data){
|
475 |
+
meio = data.TaxaMoIP;
|
476 |
+
jQuery("#statusmoip").html("");
|
477 |
+
jQuery("#statusmoipadd").html("");
|
478 |
+
jQuery("#idmoip").html("");
|
479 |
+
jQuery("#moiperro").html("");
|
480 |
+
jQuery("#Errocartao").css({display:"block"});
|
481 |
+
jQuery("#statusmoip").css({display:"block"});
|
482 |
+
jQuery("#moiperro").css({display:"block"});
|
483 |
+
jQuery("#statusmoipadd").css({display:"block"});
|
484 |
+
jQuery("#idmoip").css({display:"block"});
|
485 |
+
|
486 |
+
if (meio == undefined){
|
487 |
+
jQuery(".loader").css({display:"none"});
|
488 |
+
jQuery("#pgboletoedeb").removeAttr('disabled');
|
489 |
+
<?php if($opcaopg['forma_pagamento'] == "BoletoBancario"): ?>
|
490 |
+
jQuery(".modal-body").append("<iframe hspace=\"0\" vspace=\"0\" width=\"650\" height=\"900\" scrolling= \"no\" frameBorder=\"0\" allowtransparency=\"true\" src=\"<?php echo $urldomoip ?>/Instrucao.do?token=<?php echo $url ?>\"> </iframe>");
|
491 |
+
<?php endif; ?>
|
492 |
+
}else{
|
493 |
+
jQuery("#pgcartao").removeAttr('disabled');
|
494 |
+
if (data.Status == "Cancelado"){
|
495 |
+
jQuery("#refazercartao").css({display:"block"});
|
496 |
+
jQuery(".loader").css({display:"none"});
|
497 |
+
jQuery("#statusmoip").html("<h3>Pagamento Cancelado</h3>");
|
498 |
+
jQuery("#statusmoipadd").html("Transação não aprovada.");
|
499 |
+
jQuery("#idmoip").html("O número de sua transação no Moip é: ");
|
500 |
+
jQuery("#idmoip").html(data.CodigoMoIP);
|
501 |
+
jQuery("#moiperro").html("<h4>Motivo:</h4>");
|
502 |
+
var motivo = JSON.stringify(data.Classificacao.Descricao);
|
503 |
+
erro_mail(motivo);
|
504 |
+
if(motivo == '"Desconhecido"'){
|
505 |
+
jQuery("#moiperro").html("Seus dados estão incorretos ou não podemos envia-los a operadora de crédito.");
|
506 |
+
}
|
507 |
+
if(motivo == '"Transação não processada"'){
|
508 |
+
jQuery("#moiperro").html("O pagamento não pode ser processado.</br>Por favor, tente novamente.</br>Caso o erro persista, entre em contato com o nosso atendimento.");
|
509 |
+
}
|
510 |
+
if(motivo == '"Política de segurança do Moip"'){
|
511 |
+
jQuery("#moiperro").html("Pagamento não autorizado.</br>Entre em contato com o seu banco antes de uma nova tentativa.");
|
512 |
+
}
|
513 |
+
if(motivo == '"Política de segurança do Banco Emissor"'){
|
514 |
+
jQuery("#moiperro").html("O pagamento não foi autorizado pelo Banco Emissor do seu Cartão.</br>Entre em contato com o Banco para entender o motivo e refazer o pagamento..");
|
515 |
+
}
|
516 |
+
if(motivo == '"Cartão vencido"'){
|
517 |
+
jQuery("#moiperro").html("A validade do seu Cartão expirou.</br>Escolha outra forma de pagamento para concluir o pagamento.");
|
518 |
+
}
|
519 |
+
if(motivo == '"Dados inválidos"'){
|
520 |
+
jQuery("#moiperro").html("Dados informados inválidos.</br>Você digitou algo errado durante o preenchimento dos dados do seu Cartão.</br>Certifique-se de que está usando o Cartão correto e faça uma nova tentativa.");
|
521 |
+
}
|
522 |
+
}
|
523 |
+
if (data.Status == "EmAnalise"){
|
524 |
+
jQuery(".loader").css({display:"none"});
|
525 |
+
jQuery("#statusmoip").html("<h3>Pagamento Aguardando Aprovação</h3>");
|
526 |
+
jQuery("#statusmoipadd").html("Por favor, aguarde a em analise da transação. Assim que for alterado o status você será informado via e-mail.");
|
527 |
+
jQuery("#idmoip").html("O número de sua transação no Moip é: ");
|
528 |
+
jQuery("#idmoip").html(data.CodigoMoIP);
|
529 |
+
}
|
530 |
+
if (data.Status == "Autorizado"){
|
531 |
+
jQuery(".loader").css({display:"none"});
|
532 |
+
jQuery("#statusmoip").html("<h3>Pagamento Aprovado</h3>");
|
533 |
+
jQuery("#statusmoipadd").html("Por favor, aguarde o processo de envio.");
|
534 |
+
jQuery("#idmoip").html("O número de sua transação no Moip é: ");
|
535 |
+
jQuery("#idmoip").html(data.CodigoMoIP);
|
536 |
+
}
|
537 |
+
}
|
538 |
+
};
|
539 |
+
var erroValidacao = function(data) {
|
540 |
+
for (i=0; i<data.length; i++) {
|
541 |
+
Moip = data[i];
|
542 |
+
infosMoip = 'Ops, parece que há algo errado:';
|
543 |
+
for(j in Moip){
|
544 |
+
atributo = j;
|
545 |
+
if(atributo == "Mensagem"){
|
546 |
+
valor = Moip[j];
|
547 |
+
infosMoip += '<li class="erro" style="list-style: none;margin-left: 29px;font-weight: bold;">'+valor +'</li>';
|
548 |
+
erro_mail(valor);
|
549 |
+
if(valor != "Informe o token da Instrução"){
|
550 |
+
jQuery("#refazercartao").css({display:"block"});
|
551 |
+
}
|
552 |
+
}
|
553 |
+
}
|
554 |
+
|
555 |
+
jQuery("#Errocartao").html("");
|
556 |
+
jQuery("#Errocartao").css({display:"block"});
|
557 |
+
jQuery("#Errocartao").html(infosMoip);
|
558 |
+
infosMoip = '';
|
559 |
+
jQuery(".loader").css({display:"none"});
|
560 |
+
<?php if($refazerpagamento == "1" && $opcaopg['forma_pagamento'] == "CartaoCredito" ) { echo('jQuery("#Errocartao").html("");'); } ?>
|
561 |
+
<?php if($refazerpagamento == "1" && $opcaopg['forma_pagamento'] == "CartaoCredito" ) { echo('jQuery("#Errocartao2").html(infosMoip);'); } ?>
|
562 |
+
<?php if($refazerpagamento == "1" && $opcaopg['forma_pagamento'] == "CartaoCredito" ) { echo('jQuery(".loader").css({display:"none"});'); } ?>
|
563 |
+
}
|
564 |
+
};
|
565 |
+
function erro_mail(valor)
|
566 |
+
{
|
567 |
+
var xmlhttp;
|
568 |
+
if (window.XMLHttpRequest)
|
569 |
+
{
|
570 |
+
xmlhttp=new XMLHttpRequest();
|
571 |
+
}
|
572 |
+
else
|
573 |
+
{
|
574 |
+
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
|
575 |
+
}
|
576 |
+
xmlhttp.open("GET","<?php echo $urldosite?>index.php/Moip/Standard/email_erro_pgto?erro="+valor+"&pedido=<?php echo $sale_id ?>&navegador="+navigator.userAgent+"",true);
|
577 |
+
xmlhttp.send();
|
578 |
+
}
|
579 |
+
</script>
|
580 |
+
|
581 |
+
<?php
|
582 |
+
echo Mage::getStoreConfig('o2tiall/google/outros_funil');
|
583 |
+
try{
|
584 |
+
$order->sendNewOrderEmail();
|
585 |
+
}
|
586 |
+
catch (Exception $ex) { };
|
587 |
+
?>
|
app/design/frontend/default/default/layout/o2ti_moip.xml
CHANGED
@@ -3,6 +3,15 @@
|
|
3 |
<sales>
|
4 |
<block type="Moip/Standard_Info" name="moip.info" template="O2TI/moip/info.phtml"></block>
|
5 |
</sales>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
<checkout_onepage_index>
|
7 |
<reference name="head">
|
8 |
<action method="addJs"><script>O2TI/jquery.js</script></action>
|
3 |
<sales>
|
4 |
<block type="Moip/Standard_Info" name="moip.info" template="O2TI/moip/info.phtml"></block>
|
5 |
</sales>
|
6 |
+
<onepagecheckout_index_index>
|
7 |
+
<reference name="head">
|
8 |
+
<action method="addJs"><script>O2TI/jquery.js</script></action>
|
9 |
+
<action method="addJs"><script>O2TI/jquery_noconflict.js</script></action>
|
10 |
+
<action method="addJs"><script>O2TI/novamascara.js</script></action>
|
11 |
+
<action method="addJs"><script>O2TI/validacao.js</script></action>
|
12 |
+
<action method="addJs"><script>O2TI/moip/checkout.js</script></action>
|
13 |
+
</reference>
|
14 |
+
</onepagecheckout_index_index>
|
15 |
<checkout_onepage_index>
|
16 |
<reference name="head">
|
17 |
<action method="addJs"><script>O2TI/jquery.js</script></action>
|
app/design/frontend/default/default/template/O2TI/moip/vertical_form.phtml
CHANGED
@@ -36,64 +36,65 @@ jQuery(document).ready(function() {
|
|
36 |
|
37 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('O2TI/moip/css/formulario.css'); ?>"media="all">
|
38 |
<div id="checkouto2ti">
|
39 |
-
<div id="payment_form_<?php echo $this->getMethodCode() ?>">
|
40 |
<ul class="inline moip-payment-methods input-switcher">
|
41 |
<?php if($this->mostraCartao()): ?>
|
42 |
<li data-target="moip-cartao">
|
43 |
<img alt="Cartão de Crédito" src="<?php echo $this->getCartaoIcon(); ?>">
|
44 |
-
<input id="cartao_radio" type="radio" name="payment[forma_pagamento]" title="Cartão de Crédito" value="CartaoCredito" class="forma_pg">
|
45 |
</li>
|
46 |
<?php endif; ?>
|
47 |
<?php if($this->mostraBoleto()): ?>
|
48 |
<li data-target="moip-boleto">
|
49 |
<img alt="Boleto Bancário" src="<?php echo $this->getBoletoIcon(); ?>">
|
50 |
-
<input type="radio" name="payment[forma_pagamento]" title="Boleto" <?php if(!$this->boletoDisponivel('valid')): ?>value="BoletoBancario" <?php endif; ?>class="forma_pg<?php if(!$this->boletoDisponivel('valid')): ?> invalid-boleto<?php endif; ?>">
|
51 |
</li>
|
52 |
<?php endif; ?>
|
53 |
<?php if($this->mostraTransferencia()): ?>
|
54 |
<li data-target="moip-transferencia">
|
55 |
<img alt="Transferência Bancária" id="imageboleto" src="<?php echo $this->getTransferenciaIcon(); ?>">
|
56 |
-
<input type="radio" class="forma_pg" name="payment[forma_pagamento]" value="DebitoBancario" >
|
57 |
</li>
|
58 |
<?php endif; ?>
|
59 |
</ul>
|
60 |
|
61 |
-
<div class="moip-payment-method-content row-fluid" id="moip-cartao" style="display:
|
62 |
<h3>Cartão de Crédito</h3>
|
63 |
-
<
|
|
|
64 |
<ul class="inline banderias-cartao input-switcher input-switcher-5">
|
65 |
<li>
|
66 |
<img src="<?php echo $this->getVisaImage(); ?>" alt="Visa" border="0" onclick="setCcType('VI');">
|
67 |
-
<input type="radio" name="payment[credito_instituicao]" value="Visa" onclick="setCcType('VI');"
|
68 |
</li>
|
69 |
<li>
|
70 |
<img src="<?php echo $this->getMastercardImage(); ?>" alt="Mastercard" border="0" onclick="setCcType('MC');">
|
71 |
-
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" value="Mastercard" onclick="setCcType('MC');">
|
72 |
</li>
|
73 |
<li>
|
74 |
<img src="<?php echo $this->getAmericanExpressImage(); ?>" alt="AmericanExpress" border="0" onclick="setCcType('AE');">
|
75 |
-
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" value="AmericanExpress" onclick="setCcType('AE');">
|
76 |
</li>
|
77 |
<li>
|
78 |
<img onclick="" src="<?php echo $this->getDinersImage(); ?>" alt="Diners" border="0" onclick="setCcType('DI');">
|
79 |
-
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" value="Diners" onclick="setCcType('DI');">
|
80 |
</li>
|
81 |
<li>
|
82 |
<img onclick="" src="<?php echo $this->getHipercardImage(); ?>" alt="Hipercard" border="0" onclick="setCcType('HI');">
|
83 |
-
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" value="Hipercard" onclick="setCcType('HI');">
|
84 |
</li>
|
85 |
</ul>
|
86 |
<div id="checkout-payment-bandeira" class="validation-advice" style="display:none;position:relative;" ></div>
|
87 |
<ul class="form-list">
|
88 |
<li class="wide cc-cvv">
|
89 |
<div class="cc">
|
90 |
-
<label class="required" for="credito_numero">Número
|
91 |
<div class="input-box">
|
92 |
<input type="text" name="payment[credito_numero]" id="credito_numero" class="input-text required-entry validate-cc-number validate-cc-type">
|
93 |
</div>
|
94 |
</div>
|
95 |
<div class="cvv tooltip-moip-handler">
|
96 |
-
<label class="required" for="cvv">
|
97 |
<div class="input-box">
|
98 |
<input type="text" name="payment[credito_codigo_seguranca]" onkeyup="countChar(this)" class="input-text required-entry ccv validate-cc-cvn" minlength="3" maxlength="4" id="credito_codigo_seguranca" >
|
99 |
<span class="tooltip-moip">
|
@@ -103,7 +104,7 @@ jQuery(document).ready(function() {
|
|
103 |
</div>
|
104 |
</li>
|
105 |
<li class="wide cc-validade">
|
106 |
-
<label class="required" for="Validade">Validade
|
107 |
<div class="input-box">
|
108 |
<select name="payment[credito_expiracao_mes]" id="credito_expiracao_mes" class="input-text required-entry" >
|
109 |
<option value="">Mês</option>
|
@@ -139,7 +140,7 @@ jQuery(document).ready(function() {
|
|
139 |
</div>
|
140 |
</li>
|
141 |
<li class="wide">
|
142 |
-
<label class="required" for="credito_parcela">Opções de pagamento
|
143 |
<div class="input-box">
|
144 |
<select name="payment[credito_parcelamento]" id="credito_parcelamento" class="input-text required-entry" >
|
145 |
<?php echo $this->getParcelamento('parcelas'); ?>
|
@@ -152,22 +153,22 @@ jQuery(document).ready(function() {
|
|
152 |
<ul class="form-list dados-titular">
|
153 |
<h3>Dados do Titular</h3>
|
154 |
<li class="wide tooltip-moip-handler">
|
155 |
-
<label class="required" for="credito_parcela">Nome no Cartão
|
156 |
<div class="input-box">
|
157 |
<input type="text" name="payment[credito_portador_nome]" value="<?php echo $nome; ?>" class="input-text required-entry" id="credito_portador_nome" >
|
158 |
<span class="tooltip-moip">
|
159 |
-
<span class="custom help"><em>Nome do titular</em><br>deverá ser
|
160 |
</span>
|
161 |
</div>
|
162 |
</li>
|
163 |
<li class="wide">
|
164 |
-
<label class="required" for="credito_parcela"
|
165 |
<div class="input-box">
|
166 |
<input type="text" name="payment[credito_portador_cpf]" class="input-text required-entry validar_cpf" placeholder="Ex. 111.111.111-11" onkeypress="return txtBoxFormat(this, '999.999.999-99', event);" maxlength="14" id="credito_portador_cpf" value="<?php echo $cpf; ?>" >
|
167 |
</div>
|
168 |
</li>
|
169 |
<li class="wide tooltip-moip-handler">
|
170 |
-
<label class="required" for="credito_parcela"
|
171 |
<div class="input-box">
|
172 |
<input type="text" name="payment[credito_portador_telefone]" id="credito_portador_telefone" onkeypress="return txtBoxFormat(this, '(99)9999-9999', event);" maxlength="14" value="<?php echo $telefone; ?>" placeholder="Ex. (19)9999-9999" class="input-text required-entry">
|
173 |
<span class="tooltip-moip">
|
@@ -176,7 +177,7 @@ jQuery(document).ready(function() {
|
|
176 |
</div>
|
177 |
</li>
|
178 |
<li class="wide">
|
179 |
-
<label class="required" for="credito_parcela">Data nascimento
|
180 |
<div class="input-box">
|
181 |
<input type="text" name="payment[credito_portador_nascimento]" id="credito_portador_nascimento" onkeypress="return txtBoxFormat(this, '99/99/9999', event);" maxlength="10" value="<?php if ($dn !='') { echo $dn; } ?>" placeholder="Ex. 10/10/1985" class="input-text required-entry" >
|
182 |
</div>
|
@@ -205,19 +206,19 @@ jQuery(document).ready(function() {
|
|
205 |
<ul class="inline input-switcher input-switcher-4">
|
206 |
<li>
|
207 |
<img src="<?php echo $this->getBBImage(); ?>" alt="Banco do Brasil" id="debbb" >
|
208 |
-
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" value="BancoDoBrasil"
|
209 |
</li>
|
210 |
<li>
|
211 |
<img src="<?php echo $this->getBradescoImage(); ?>" id="debbradesco" alt="Bradesco">
|
212 |
-
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" value="Bradesco">
|
213 |
</li>
|
214 |
<li>
|
215 |
<img src="<?php echo $this->getItauImage(); ?>" id="debitau" alt="Itaú" >
|
216 |
-
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" value="Itau" >
|
217 |
</li>
|
218 |
<li>
|
219 |
<img src="<?php echo $this->getBanrisulImage(); ?>" id="Banrisul" alt="Banrisul" >
|
220 |
-
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" value="Banrisul">
|
221 |
</li>
|
222 |
</ul>
|
223 |
<div id="checkout-payment-banco" class="validation-advice" style="position:relative;display:none;"></div>
|
36 |
|
37 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('O2TI/moip/css/formulario.css'); ?>"media="all">
|
38 |
<div id="checkouto2ti">
|
39 |
+
<div id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none">
|
40 |
<ul class="inline moip-payment-methods input-switcher">
|
41 |
<?php if($this->mostraCartao()): ?>
|
42 |
<li data-target="moip-cartao">
|
43 |
<img alt="Cartão de Crédito" src="<?php echo $this->getCartaoIcon(); ?>">
|
44 |
+
<input id="cartao_radio" type="radio" name="payment[forma_pagamento]" title="Cartão de Crédito" value="CartaoCredito" class="forma_pg validate-one-required-by-name">
|
45 |
</li>
|
46 |
<?php endif; ?>
|
47 |
<?php if($this->mostraBoleto()): ?>
|
48 |
<li data-target="moip-boleto">
|
49 |
<img alt="Boleto Bancário" src="<?php echo $this->getBoletoIcon(); ?>">
|
50 |
+
<input type="radio" name="payment[forma_pagamento]" title="Boleto" <?php if(!$this->boletoDisponivel('valid')): ?>value="BoletoBancario" <?php endif; ?>class="forma_pg<?php if(!$this->boletoDisponivel('valid')): ?> invalid-boleto<?php endif; ?> validate-one-required-by-name">
|
51 |
</li>
|
52 |
<?php endif; ?>
|
53 |
<?php if($this->mostraTransferencia()): ?>
|
54 |
<li data-target="moip-transferencia">
|
55 |
<img alt="Transferência Bancária" id="imageboleto" src="<?php echo $this->getTransferenciaIcon(); ?>">
|
56 |
+
<input type="radio" class="forma_pg validate-one-required-by-name" name="payment[forma_pagamento]" value="DebitoBancario" >
|
57 |
</li>
|
58 |
<?php endif; ?>
|
59 |
</ul>
|
60 |
|
61 |
+
<div class="moip-payment-method-content row-fluid" id="moip-cartao" style="display:none">
|
62 |
<h3>Cartão de Crédito</h3>
|
63 |
+
<input type="hidden" name="moip_cc_type" id="moip_cc_type" value=""/>
|
64 |
+
<label class="required" for="credito_bandeira" >Selecione a Bandeira<em>*</em></label>
|
65 |
<ul class="inline banderias-cartao input-switcher input-switcher-5">
|
66 |
<li>
|
67 |
<img src="<?php echo $this->getVisaImage(); ?>" alt="Visa" border="0" onclick="setCcType('VI');">
|
68 |
+
<input type="radio" name="payment[credito_instituicao]" value="Visa" onclick="setCcType('VI');" class="validate-one-required-by-name" >
|
69 |
</li>
|
70 |
<li>
|
71 |
<img src="<?php echo $this->getMastercardImage(); ?>" alt="Mastercard" border="0" onclick="setCcType('MC');">
|
72 |
+
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" value="Mastercard" onclick="setCcType('MC');" class="validate-one-required-by-name" >
|
73 |
</li>
|
74 |
<li>
|
75 |
<img src="<?php echo $this->getAmericanExpressImage(); ?>" alt="AmericanExpress" border="0" onclick="setCcType('AE');">
|
76 |
+
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" value="AmericanExpress" onclick="setCcType('AE');" class="validate-one-required-by-name" >
|
77 |
</li>
|
78 |
<li>
|
79 |
<img onclick="" src="<?php echo $this->getDinersImage(); ?>" alt="Diners" border="0" onclick="setCcType('DI');">
|
80 |
+
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" value="Diners" onclick="setCcType('DI');" class="validate-one-required-by-name" >
|
81 |
</li>
|
82 |
<li>
|
83 |
<img onclick="" src="<?php echo $this->getHipercardImage(); ?>" alt="Hipercard" border="0" onclick="setCcType('HI');">
|
84 |
+
<input id="bandeiramoip" type="radio" name="payment[credito_instituicao]" value="Hipercard" onclick="setCcType('HI');" class="validate-one-required-by-name" >
|
85 |
</li>
|
86 |
</ul>
|
87 |
<div id="checkout-payment-bandeira" class="validation-advice" style="display:none;position:relative;" ></div>
|
88 |
<ul class="form-list">
|
89 |
<li class="wide cc-cvv">
|
90 |
<div class="cc">
|
91 |
+
<label class="required" for="credito_numero">Número<em>*</em></label>
|
92 |
<div class="input-box">
|
93 |
<input type="text" name="payment[credito_numero]" id="credito_numero" class="input-text required-entry validate-cc-number validate-cc-type">
|
94 |
</div>
|
95 |
</div>
|
96 |
<div class="cvv tooltip-moip-handler">
|
97 |
+
<label class="required" for="cvv">CVV <i class="icon-question-sign"></i><em>*</em></label>
|
98 |
<div class="input-box">
|
99 |
<input type="text" name="payment[credito_codigo_seguranca]" onkeyup="countChar(this)" class="input-text required-entry ccv validate-cc-cvn" minlength="3" maxlength="4" id="credito_codigo_seguranca" >
|
100 |
<span class="tooltip-moip">
|
104 |
</div>
|
105 |
</li>
|
106 |
<li class="wide cc-validade">
|
107 |
+
<label class="required" for="Validade">Validade<em>*</em></label>
|
108 |
<div class="input-box">
|
109 |
<select name="payment[credito_expiracao_mes]" id="credito_expiracao_mes" class="input-text required-entry" >
|
110 |
<option value="">Mês</option>
|
140 |
</div>
|
141 |
</li>
|
142 |
<li class="wide">
|
143 |
+
<label class="required" for="credito_parcela">Opções de pagamento<em>*</em></label>
|
144 |
<div class="input-box">
|
145 |
<select name="payment[credito_parcelamento]" id="credito_parcelamento" class="input-text required-entry" >
|
146 |
<?php echo $this->getParcelamento('parcelas'); ?>
|
153 |
<ul class="form-list dados-titular">
|
154 |
<h3>Dados do Titular</h3>
|
155 |
<li class="wide tooltip-moip-handler">
|
156 |
+
<label class="required" for="credito_parcela"><em>*</em>Nome no Cartão</label>
|
157 |
<div class="input-box">
|
158 |
<input type="text" name="payment[credito_portador_nome]" value="<?php echo $nome; ?>" class="input-text required-entry" id="credito_portador_nome" >
|
159 |
<span class="tooltip-moip">
|
160 |
+
<span class="custom help"><em>Nome do titular</em><br>deverá ser exatamente como está no cartão.</span>
|
161 |
</span>
|
162 |
</div>
|
163 |
</li>
|
164 |
<li class="wide">
|
165 |
+
<label class="required" for="credito_parcela"><em>*</em>CPF</label>
|
166 |
<div class="input-box">
|
167 |
<input type="text" name="payment[credito_portador_cpf]" class="input-text required-entry validar_cpf" placeholder="Ex. 111.111.111-11" onkeypress="return txtBoxFormat(this, '999.999.999-99', event);" maxlength="14" id="credito_portador_cpf" value="<?php echo $cpf; ?>" >
|
168 |
</div>
|
169 |
</li>
|
170 |
<li class="wide tooltip-moip-handler">
|
171 |
+
<label class="required" for="credito_parcela"><em>*</em>Telefone</label>
|
172 |
<div class="input-box">
|
173 |
<input type="text" name="payment[credito_portador_telefone]" id="credito_portador_telefone" onkeypress="return txtBoxFormat(this, '(99)9999-9999', event);" maxlength="14" value="<?php echo $telefone; ?>" placeholder="Ex. (19)9999-9999" class="input-text required-entry">
|
174 |
<span class="tooltip-moip">
|
177 |
</div>
|
178 |
</li>
|
179 |
<li class="wide">
|
180 |
+
<label class="required" for="credito_parcela"><em>*</em>Data nascimento</label>
|
181 |
<div class="input-box">
|
182 |
<input type="text" name="payment[credito_portador_nascimento]" id="credito_portador_nascimento" onkeypress="return txtBoxFormat(this, '99/99/9999', event);" maxlength="10" value="<?php if ($dn !='') { echo $dn; } ?>" placeholder="Ex. 10/10/1985" class="input-text required-entry" >
|
183 |
</div>
|
206 |
<ul class="inline input-switcher input-switcher-4">
|
207 |
<li>
|
208 |
<img src="<?php echo $this->getBBImage(); ?>" alt="Banco do Brasil" id="debbb" >
|
209 |
+
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" value="BancoDoBrasil" class="validate-one-required-by-name">
|
210 |
</li>
|
211 |
<li>
|
212 |
<img src="<?php echo $this->getBradescoImage(); ?>" id="debbradesco" alt="Bradesco">
|
213 |
+
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" value="Bradesco" class="validate-one-required-by-name">
|
214 |
</li>
|
215 |
<li>
|
216 |
<img src="<?php echo $this->getItauImage(); ?>" id="debitau" alt="Itaú" >
|
217 |
+
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" value="Itau" class="validate-one-required-by-name">
|
218 |
</li>
|
219 |
<li>
|
220 |
<img src="<?php echo $this->getBanrisulImage(); ?>" id="Banrisul" alt="Banrisul" >
|
221 |
+
<input type="radio" id="debito_instituicao" name="payment[debito_instituicao]" value="Banrisul" class="validate-one-required-by-name">
|
222 |
</li>
|
223 |
</ul>
|
224 |
<div id="checkout-payment-banco" class="validation-advice" style="position:relative;display:none;"></div>
|
app/design/frontend/default/default/template/O2TI/onestepcheckout/daskboard.phtml
CHANGED
@@ -20,7 +20,7 @@ function update_shippingmethods(){return 1;}
|
|
20 |
function zip_load(){return 1;}
|
21 |
function region_load(){return 0;}
|
22 |
function country_load(){return 1;}
|
23 |
-
function payment_load(){return
|
24 |
function shipping_load(){return 1;}
|
25 |
function has_default_billing()
|
26 |
{
|
@@ -93,7 +93,7 @@ function buscarEndereco(whatform) {
|
|
93 |
jQuery(campos.street_1).val(addressData.logradouro);
|
94 |
jQuery(campos.street_4).val(addressData.bairro);
|
95 |
jQuery(campos.city).val(addressData.cidade);
|
96 |
-
jQuery(campos.region).val(addressData.
|
97 |
},
|
98 |
error: function(){
|
99 |
jQuery(campos.street_1).val("");
|
@@ -125,7 +125,7 @@ function updateShippingMethod() {
|
|
125 |
function updateShippingType(str_value){
|
126 |
jQuery('#message-box').html('');
|
127 |
jQuery('#checkout-shipping-method-load').html('<div class="update_shipping">Calculando Frete.<img class="Loading" alt="Loading..." src="<?php echo $this->getSkinUrl("O2TI/onestepcheckout/images/ajax-loader-tr.gif")?>"></div>');
|
128 |
-
|
129 |
<?php if(!Mage::helper('onestepcheckout')->onlyProductDownloadable()):?>
|
130 |
if(update_shippingmethods()){
|
131 |
jQuery.ajax({
|
@@ -134,8 +134,7 @@ function updateShippingType(str_value){
|
|
134 |
data:jQuery("#onestep_form").serialize(),
|
135 |
success: function(msg){
|
136 |
jQuery('#checkout-shipping-method-load').html(msg);
|
137 |
-
|
138 |
-
updatePaymentAssociated();
|
139 |
}
|
140 |
});
|
141 |
}else{
|
@@ -152,7 +151,7 @@ function updatePaymentAssociated() {
|
|
152 |
if (jQuery('input[name=payment\\[method\\]]:checked').val() && payment_load()) {
|
153 |
updatePaymentMethod(jQuery('input[name=payment\\[method\\]]:checked').val());
|
154 |
} else {
|
155 |
-
|
156 |
}
|
157 |
} else {
|
158 |
jQuery.ajax({
|
@@ -164,7 +163,7 @@ function updatePaymentAssociated() {
|
|
164 |
if (jQuery('input[name=payment\\[method\\]]:checked').val() && payment_load()) {
|
165 |
updatePaymentMethod(jQuery('input[name=payment\\[method\\]]:checked').val());
|
166 |
} else {
|
167 |
-
|
168 |
}
|
169 |
}
|
170 |
});
|
@@ -372,7 +371,7 @@ $taxvat = Mage::getSingleton('customer/session')->getCustomer()->getTaxvat();
|
|
372 |
<?php } ?>
|
373 |
var completeajax=1;
|
374 |
if (jQuery('input[name=shipping_method]:checked').val() && shipping_load()) {
|
375 |
-
|
376 |
jQuery.ajax({
|
377 |
type: "POST",
|
378 |
url: updateshippingmethodurl,
|
@@ -384,7 +383,7 @@ $taxvat = Mage::getSingleton('customer/session')->getCustomer()->getTaxvat();
|
|
384 |
});
|
385 |
}
|
386 |
if (jQuery('input[name=payment\\[method\\]]:checked').val() && payment_load()) {
|
387 |
-
|
388 |
value = jQuery('input[name=payment\\[method\\]]:checked').val();
|
389 |
jQuery.ajax({
|
390 |
type: "POST",
|
@@ -397,7 +396,7 @@ $taxvat = Mage::getSingleton('customer/session')->getCustomer()->getTaxvat();
|
|
397 |
}
|
398 |
});
|
399 |
}
|
400 |
-
|
401 |
jQuery('.btn-checkout').bind("click",function(e){
|
402 |
|
403 |
var logic= true;
|
@@ -454,7 +453,7 @@ $taxvat = Mage::getSingleton('customer/session')->getCustomer()->getTaxvat();
|
|
454 |
if(logic){
|
455 |
jQuery('#onestep_form').submit();
|
456 |
jQuery('#loading-mask').show();
|
457 |
-
|
458 |
}else {
|
459 |
return false;
|
460 |
}
|
20 |
function zip_load(){return 1;}
|
21 |
function region_load(){return 0;}
|
22 |
function country_load(){return 1;}
|
23 |
+
function payment_load(){return 1;}
|
24 |
function shipping_load(){return 1;}
|
25 |
function has_default_billing()
|
26 |
{
|
93 |
jQuery(campos.street_1).val(addressData.logradouro);
|
94 |
jQuery(campos.street_4).val(addressData.bairro);
|
95 |
jQuery(campos.city).val(addressData.cidade);
|
96 |
+
jQuery(campos.region).val(addressData.ufid);
|
97 |
},
|
98 |
error: function(){
|
99 |
jQuery(campos.street_1).val("");
|
125 |
function updateShippingType(str_value){
|
126 |
jQuery('#message-box').html('');
|
127 |
jQuery('#checkout-shipping-method-load').html('<div class="update_shipping">Calculando Frete.<img class="Loading" alt="Loading..." src="<?php echo $this->getSkinUrl("O2TI/onestepcheckout/images/ajax-loader-tr.gif")?>"></div>');
|
128 |
+
|
129 |
<?php if(!Mage::helper('onestepcheckout')->onlyProductDownloadable()):?>
|
130 |
if(update_shippingmethods()){
|
131 |
jQuery.ajax({
|
134 |
data:jQuery("#onestep_form").serialize(),
|
135 |
success: function(msg){
|
136 |
jQuery('#checkout-shipping-method-load').html(msg);
|
137 |
+
|
|
|
138 |
}
|
139 |
});
|
140 |
}else{
|
151 |
if (jQuery('input[name=payment\\[method\\]]:checked').val() && payment_load()) {
|
152 |
updatePaymentMethod(jQuery('input[name=payment\\[method\\]]:checked').val());
|
153 |
} else {
|
154 |
+
|
155 |
}
|
156 |
} else {
|
157 |
jQuery.ajax({
|
163 |
if (jQuery('input[name=payment\\[method\\]]:checked').val() && payment_load()) {
|
164 |
updatePaymentMethod(jQuery('input[name=payment\\[method\\]]:checked').val());
|
165 |
} else {
|
166 |
+
|
167 |
}
|
168 |
}
|
169 |
});
|
371 |
<?php } ?>
|
372 |
var completeajax=1;
|
373 |
if (jQuery('input[name=shipping_method]:checked').val() && shipping_load()) {
|
374 |
+
|
375 |
jQuery.ajax({
|
376 |
type: "POST",
|
377 |
url: updateshippingmethodurl,
|
383 |
});
|
384 |
}
|
385 |
if (jQuery('input[name=payment\\[method\\]]:checked').val() && payment_load()) {
|
386 |
+
|
387 |
value = jQuery('input[name=payment\\[method\\]]:checked').val();
|
388 |
jQuery.ajax({
|
389 |
type: "POST",
|
396 |
}
|
397 |
});
|
398 |
}
|
399 |
+
|
400 |
jQuery('.btn-checkout').bind("click",function(e){
|
401 |
|
402 |
var logic= true;
|
453 |
if(logic){
|
454 |
jQuery('#onestep_form').submit();
|
455 |
jQuery('#loading-mask').show();
|
456 |
+
|
457 |
}else {
|
458 |
return false;
|
459 |
}
|
app/design/frontend/default/default/template/O2TI/onestepcheckout/daskboard/onepage/billing/billing_form.phtml
CHANGED
@@ -60,17 +60,21 @@ if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
|
60 |
<li class="wide">A senha é utilizada para você ter acesso futuro e acompanhar o seu pedido.</li>
|
61 |
<?php endif; ?>
|
62 |
<?php if(Mage::getStoreConfig('onestepcheckout/config/enable_pj')):?>
|
|
|
|
|
|
|
|
|
63 |
<li class="wide pj-pf">
|
64 |
-
<label class="required"><h3><em>*</em>Comprar como?</h3></label>
|
65 |
-
<div class="clearer clear"></div>
|
66 |
<div class="field">
|
|
|
67 |
<div class="input-box">
|
68 |
-
|
69 |
</div>
|
70 |
</div>
|
71 |
<div class="field">
|
|
|
72 |
<div class="input-box">
|
73 |
-
|
74 |
</div>
|
75 |
</div>
|
76 |
</li>
|
@@ -186,12 +190,13 @@ if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
|
186 |
<input type="text" maxlength="2" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($region_select) ?>" title="Estado" class="input-text" style="" autocomplete="off">
|
187 |
</div>
|
188 |
</li>
|
189 |
-
<li class="
|
190 |
<label for="billing:country_id" class="required"><em></em>País</label>
|
191 |
<div class="input-box">
|
192 |
<?php echo $this->getCountryHtmlSelect('billing') ?>
|
193 |
</div>
|
194 |
</li>
|
|
|
195 |
<script type="text/javascript">
|
196 |
jQuery(function(){jQuery("#billing-new-address-form").show();});
|
197 |
var billing = new Billing("co-billing-form","<?php echo $this->getUrl('checkout/onepage/getAddress/address/') ?>", "<?php echo $this->getUrl('checkout/onepage/saveBilling/') ?>");
|
60 |
<li class="wide">A senha é utilizada para você ter acesso futuro e acompanhar o seu pedido.</li>
|
61 |
<?php endif; ?>
|
62 |
<?php if(Mage::getStoreConfig('onestepcheckout/config/enable_pj')):?>
|
63 |
+
|
64 |
+
<li class="wide pj-pf">
|
65 |
+
<label class="required"><h3>Comprar como?</h3></label>
|
66 |
+
</li>
|
67 |
<li class="wide pj-pf">
|
|
|
|
|
68 |
<div class="field">
|
69 |
+
<label class="required">Pessoa Física:</label>
|
70 |
<div class="input-box">
|
71 |
+
<input type="radio" name="billing[tipopessoa]" value="1" onclick="getval(this);" checked>
|
72 |
</div>
|
73 |
</div>
|
74 |
<div class="field">
|
75 |
+
<label class="required">Pessoa Jurídica:</label>
|
76 |
<div class="input-box">
|
77 |
+
<input type="radio" name="billing[tipopessoa]" value="2" onclick="getval(this);">
|
78 |
</div>
|
79 |
</div>
|
80 |
</li>
|
190 |
<input type="text" maxlength="2" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($region_select) ?>" title="Estado" class="input-text" style="" autocomplete="off">
|
191 |
</div>
|
192 |
</li>
|
193 |
+
<li class="wide" style="display:none;">
|
194 |
<label for="billing:country_id" class="required"><em></em>País</label>
|
195 |
<div class="input-box">
|
196 |
<?php echo $this->getCountryHtmlSelect('billing') ?>
|
197 |
</div>
|
198 |
</li>
|
199 |
+
<div style="clear:both"></div>
|
200 |
<script type="text/javascript">
|
201 |
jQuery(function(){jQuery("#billing-new-address-form").show();});
|
202 |
var billing = new Billing("co-billing-form","<?php echo $this->getUrl('checkout/onepage/getAddress/address/') ?>", "<?php echo $this->getUrl('checkout/onepage/saveBilling/') ?>");
|
app/design/frontend/default/default/template/O2TI/onestepcheckout/daskboard/onepage/login.phtml
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
</li>
|
28 |
</ul>
|
29 |
</div>
|
30 |
-
<div id="dados_incorretos" style="display:none; height:
|
31 |
<ul class="messages"> <li class="error-msg">Dados incorretos, por favor tente novamente.<li><ul>
|
32 |
</div>
|
33 |
|
@@ -79,8 +79,6 @@ jQuery('.buttons-set .button').css('display','none');
|
|
79 |
jQuery('.buttons-set .button').css('display','block');
|
80 |
jQuery('#login-please-wait').css('display','none');
|
81 |
jQuery('#dados_incorretos').css('display','block');
|
82 |
-
jQuery('.col1-set').css('height','300px');
|
83 |
-
jQuery('#inline1').css('height','300px');
|
84 |
jQuery('#errorlogin').css('display','block');
|
85 |
jQuery('#login-email').addClass('validation-failed');
|
86 |
jQuery('#login-password').addClass('validation-failed');
|
27 |
</li>
|
28 |
</ul>
|
29 |
</div>
|
30 |
+
<div id="dados_incorretos" style="display:none; height:90px;position: relative">
|
31 |
<ul class="messages"> <li class="error-msg">Dados incorretos, por favor tente novamente.<li><ul>
|
32 |
</div>
|
33 |
|
79 |
jQuery('.buttons-set .button').css('display','block');
|
80 |
jQuery('#login-please-wait').css('display','none');
|
81 |
jQuery('#dados_incorretos').css('display','block');
|
|
|
|
|
82 |
jQuery('#errorlogin').css('display','block');
|
83 |
jQuery('#login-email').addClass('validation-failed');
|
84 |
jQuery('#login-password').addClass('validation-failed');
|
app/design/frontend/default/default/template/O2TI/onestepcheckout/daskboard/onepage/payment/methods.phtml
CHANGED
@@ -23,6 +23,7 @@
|
|
23 |
</dd>
|
24 |
<?php endif; ?>
|
25 |
<?php endif;?>
|
|
|
26 |
<?php endforeach; ?>
|
27 |
</dl>
|
28 |
<script type="text/javascript">
|
@@ -33,12 +34,12 @@ payment.init();
|
|
33 |
</script>
|
34 |
<script type="text/javascript">
|
35 |
var payment_method_changed = -1;
|
36 |
-
|
37 |
-
|
38 |
if(this.value != payment_method_changed){
|
39 |
updatePaymentMethod(this.value);
|
40 |
payment_method_changed = this.value;
|
41 |
}
|
42 |
-
|
43 |
-
|
44 |
</script>
|
23 |
</dd>
|
24 |
<?php endif; ?>
|
25 |
<?php endif;?>
|
26 |
+
<div style="clear:both !important"></div>
|
27 |
<?php endforeach; ?>
|
28 |
</dl>
|
29 |
<script type="text/javascript">
|
34 |
</script>
|
35 |
<script type="text/javascript">
|
36 |
var payment_method_changed = -1;
|
37 |
+
|
38 |
+
|
39 |
if(this.value != payment_method_changed){
|
40 |
updatePaymentMethod(this.value);
|
41 |
payment_method_changed = this.value;
|
42 |
}
|
43 |
+
|
44 |
+
|
45 |
</script>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>o2ti_moip</name>
|
4 |
-
<version>1.1
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://o2ti.com/licensa_checkout_moip.txt">Free to use with MoIP</license>
|
7 |
<channel>community</channel>
|
@@ -34,9 +34,9 @@ Store terms and conditions (Mandatory in all stores following the federal law (h
|
|
34 |
<notes>Alteração para o funcionamento do módulo MoIP para funcionamento em qualquer Módulo de checkout.
|
35 |
</notes>
|
36 |
<authors><author><name>O2TI</name><user>o2ti</user><email>contato@o2ti.com</email></author></authors>
|
37 |
-
<date>2014-03-
|
38 |
-
<time>20:
|
39 |
-
<contents><target name="magelocal"><dir name="O2TI"><dir name="All"><dir name="Helper"><file name="Data.php" hash="5cfce5f56526da7a17ac2e402b39dd6e"/></dir><dir name="etc"><file name="config.xml" hash="b4343acf6c3f25bb750a287f0b4fa7fc"/><file name="system.xml" hash="9bad1e5078f470994567ce7a68d71688"/></dir></dir><dir name="Moip"><dir name="Block"><dir name="Adminhtml"><dir name="moip"><dir name="Info"><file name="Customermessages.php" hash="bf0e3f76f8ab4dde138a4125fe2fb07c"/><file name="Info.php" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><file name="Info.php" hash="3284336179df5048bbbf44b59ea80398"/><dir name="Standard"><file name="Form.php" hash="f93521922122f4d4d5f829a67c0754c2"/><file name="Info.php" hash="a1826c09d72b4310573cae391b8a0f06"/><file name="Novaforma.php" hash="9dfbce5025124bd7e80f7ac23386aa1a"/><file name="Redirect.php" hash="35f4c74dd1c6669dde8be302ae17d4fb"/></dir></dir><dir name="Helper"><file name="Data.php" hash="36af3c64c424820d5e6124528959d296"/></dir><dir name="Model"><file name="Api.php" hash="24d554773ef0cb0264075995bacd8fba"/><dir name="Mysql4"><file name="Collection.php" hash="9e0195a71bb5a5cd959992a6cec97667"/><file name="Write.php" hash="056d78bdbbb7a9e466b62d78015a8ed5"/></dir><file name="Observer.php" hash="80db718dbfb7e493ad235e3bdf4d6baf"/><file name="Orders.php" hash="a6023047810e0652e9e6248d67704b44"/><dir name="Source"><file name="Ambiente.php" hash="439a9f70669af322f1de30937551a1f0"/><file name="FormasPagamento.php" hash="bfa5931fe39fc22841acc789e71e6e92"/><file name="Layout.php" hash="4cc1e4fb27e773ce93a1c6b9bc571158"/></dir><file name="Standard.php" hash="4404310e45f06ab588e463baf82bd192"/><file name="Write.php" hash="ac1d3e9ff033480cab6ea20af271fa91"/><file name=".ftpquota" hash="bd9db78914b33cca442f35848cc680b5"/></dir><dir name="controllers"><file name="IndexController.php" hash="1c46afa51975fee2e626df503cfc29c9"/><file name="StandardController.php" hash="41cda2a2e7f16fdd1929863ee2040bb2"/></dir><dir name="etc"><file name="adminhtml.xml" hash="75bde86c187ceb24042233abde0f88b0"/><file name="config.xml" hash="3e921887d5844a4b5602db406b476ee4"/><file name="system.xml" hash="abf7ba5636a5c869d7782e1177e78839"/></dir><dir name="sql"><dir name="moip_setup"><file name="mysql4-install-0.1.0.php" hash="bff338f70822b4af170073029558b511"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="e767051db0711586184d20abbdebcbca"/><file name="mysql4-upgrade-0.1.0-0.2.1.php" hash="441725100d074d7d212bae4bc07db841"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="7e22a5f81d536e1b024e07d60df808d7"/><file name="mysql4-upgrade-0.2.1-0.2.3.php" hash="b6a1c02303eb5be5ac7c2c9bee962bb0"/><file name="mysql4-upgrade-0.2.1-0.2.4.php" hash="39985ee007790d939be31c8339c570fe"/></dir></dir></dir><dir name="Onestepcheckout"><dir name="Block"><dir name="Adminhtml"><dir name="Form"><dir name="Renderer"><dir name="Config"><file name="Createfield.php" hash="bca92a144c0564105091fb78ec75a235"/></dir></dir></dir><dir name="Onestepcheckout"><dir name="Edit"><file name="Form.php" hash="011556489a4e2e987d622bbc193ca5db"/><dir name="Tab"><file name="Form.php" hash="786a5a8d580250f8ab5c9def49f197c4"/></dir><file name="Tabs.php" hash="3e49037ed0f2ba7d930e7675398a6fd6"/></dir><file name="Edit.php" hash="b4a2a6c99cea16750408cb5c89c97ad8"/><file name="Grid.php" hash="8aa5742a2357b1c632ef26ce2a71e217"/><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="e23140dfc8b567ba7d957afeabee6643"/><dir name="View"><dir name="Tab"><dir name="Info"><file name="Customermessages.php" hash="bf0e3f76f8ab4dde138a4125fe2fb07c"/><file name="Deliverydate.php" hash="64ea9d43321c8b51d74621ee90916553"/></dir></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Addtimerange.php" hash="08419845203bd4dd3421cdcab5cf241d"/></dir></dir></dir></dir></dir><file name="Onestepcheckout.php" hash="d0253394f7c3515fcc4ba81f34f192d4"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Billing"><file name="Sortbilling.php" hash="c92c36496e94fd9dc6da3aa8e53dda86"/></dir><file name="Billing.php" hash="ef4f0f010d7e288c6664002060fa5b8a"/><dir name="Review"><file name="Options.php" hash="67b005f43191b0be294d4ecf50c37485"/></dir><dir name="Shipping"><file name="Sortshipping.php" hash="9af5fa1281bf34c37e4c92fb40a4873c"/></dir><file name="Shipping.php" hash="a56afd3502132baab34c4a9419aa7e3c"/><dir name="Shippingmethod"><file name="Deliverydate.php" hash="36ba92c13f59f21c33902ea1146d6cdc"/></dir></dir><file name="Top.php" hash="70e323dbbb57a29579c13412a8a2443f"/></dir><file name="Onestepcheckout.php" hash="e8b954f14acebf579bb0910813e899e4"/><dir name="Sales"><dir name="Info"><file name="Customermessages.php" hash="6666cedaeb9597e0c5f90cf7cc2934ae"/><file name="Deliverydate.php" hash="225859a718283767ca44b1ddccfd4bfb"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="fb1897f58ca16ce27184dc0790f0ecf2"/></dir><dir name="Model"><dir name="Customer"><file name="Customer.php" hash="b1b26b8e170bd4ed90b27fb9fcea8481"/></dir><dir name="Entity"><file name="Tipopessoa.php" hash="af14c8d054fe25c7f8cef5f89fcb65da"/></dir><dir name="Mysql4"><dir name="Onestepcheckout"><file name="Collection.php" hash="13781c0c51fcde3c6afc4f31054a6e03"/></dir><file name="Onestepcheckout.php" hash="5777de55ec60a045e86dc9de10f768bd"/></dir><file name="Observer.php" hash="75aeac65c1e5ffa22465b3a1d9c754c7"/><file name="Onestepcheckout.php" hash="3630794e4b1fda8229b82826e49a702f"/><dir name="Sales"><dir name="Quote"><file name="Address.php" hash="09cba85a351b58f16b4daba5be0d5595"/></dir></dir><dir name="Shipping"><file name="Allowedmethods.php" hash="801e98156ee12fd5fa08f30c37b64086"/></dir><file name="Status.php" hash="3e1d737e4f8cef4b6a591240efdafd83"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Checkuncheck.php" hash="a232182e727d089f1a730d1e0bb05996"/><file name="Disablefield.php" hash="d5a2192f21d68175ed7375f3a6e7f85a"/><file name="Formatdate.php" hash="7e3eeae0c5a8ebba85ed501ef513b192"/><file name="Optionaddfield.php" hash="3b9cf9f6a67931b7d56c21c9e8cb48b3"/><file name="Optionhidefield.php" hash="847e6415e5d037ae3b3572e1df28f347"/><file name="Pagelayout.php" hash="676dd09a7aad20c0e3cfdb74e9f7f87f"/><dir name="Payment"><file name="Allowedmethods.php" hash="ea276b37bfdf6bcdbc302a76df966523"/></dir><dir name="Shipping"><file name="Allowedmethods.php" hash="801e98156ee12fd5fa08f30c37b64086"/></dir><file name="Subscribenewletter.php" hash="48dd4e572839e532e5321854bdd07750"/><dir name="form"><file name="Createfield.php" hash="6cc825f91bc3f787b7a84e5369422f39"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OnestepcheckoutController.php" hash="260a95696953ed372ed3d22ab52e7c85"/></dir><file name="IndexController.php" hash="b27320c1411d103bfa2616f4825de62b"/><file name="TestController.php" hash="b7814c4a88338b9e031f26274bd7d07a"/></dir><dir name="etc"><file name="config.xml" hash="a8cd520ee0f0b93c00a01d95951da4fa"/><file name="system.xml" hash="d6f72abeb349cb9753f30a1f84e1d5a1"/></dir><dir name="sql"><dir name="onestepcheckout_setup"><file name="mysql4-install-0.1.0.php" hash="0bcce57d95b0c63e8efb86faad1d798c"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="6d20a03343747545eb10c276631114c8"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="o2ti_moip.xml" hash="a891434ec116cab42d3466cfd7b6c6a3"/><file name="o2ti_onestepcheckout.xml" hash="a901f57e619569a8cd6b35b4cb9576d1"/></dir><dir name="template"><dir name="O2TI"><dir name="cadastro"><dir name="customer"><dir name="form"><file name="edit.phtml" hash="1cdb3179dd883809bd7357409ca0a5d0"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="5fc8ba027dfb92482c1a85d88e211cda"/></dir></dir><dir name="customer"><dir name="form"><file name="register.phtml" hash="08b5b692abfce0e689d243c3478de77e"/></dir></dir></dir></dir><dir name="moip"><file name="Novaforma.phtml" hash="49d046daa42bae37c1c5e80ff88c3e0d"/><file name="boleto.phtml" hash="9667a8ec9a4456be9a38c71ae70d2ad5"/><file name="cartao.phtml" hash="f51236967fdc8f086bf708f9e1cc86b3"/><file name="emptyupdate.phtml" hash="8625e958f0e2dd1138721b8518c8069a"/><file name="form.phtml" hash="97159f0fb40753ded7c032dfba582762"/><file name="horizontal_form.phtml" hash="41ddf8a11071c36e026fd989ca884178"/><file name="info.phtml" hash="13a80155eccc99e762b57c14a6634815"/><file name="layout_boleto.phtml" hash="6a609b4bc4bbbb610f151266983c06e1"/><file name="redirect.phtml" hash="1d302d419b7855d702b5f04078062024"/><file name="refaz.phtml" hash="61375f1a1f052fa29100cae10623fd85"/><file name="transferencia.phtml" hash="efc376926a603a9884a9ef615de726e2"/><file name="vertical_form.phtml" hash="732b71303fd887cb2d79266b3e2adb6e"/></dir><dir name="onestepcheckout"><dir name="daskboard"><dir name="onepage"><file name="agreements.phtml" hash="5b762aa76287b160fcbec8fed8b789e8"/><dir name="billing"><file name="billing_form.phtml" hash="908f6689451953e64b295da644181255"/></dir><file name="billing.phtml" hash="3ace016f656dd99a2f18b35ec13740a5"/><file name="correio.phtml" hash="461b88fcbf6adffc4f23c5905932bafa"/><file name="coupon.phtml" hash="7e3ffcc7e51d78c7607d91bc40ed68db"/><file name="forgotpassword.phtml" hash="2fb80e3ec1a8151dde497743b149c6e9"/><file name="local.xml" hash="08c7ce351c502056fb9ee3a14a9b065a"/><file name="login.phtml" hash="85198c4e290aec3eaf72057cf04d5ca8"/><dir name="payment"><file name="methods.phtml" hash="235eecfb6272e525a70cab79785852e2"/></dir><file name="payment.phtml" hash="3501af6f3b4c108f11bc2bc6d58a9d87"/><dir name="review"><file name="button.phtml" hash="4d5c7c5a2d70f85ec324e79c7e81946b"/><file name="info.phtml" hash="68556313d6d0943c153d69ebd00c8c4b"/><file name="item.phtml" hash="af2406220da6cd44940a672e2771f902"/><dir name="options"><file name="additional.phtml" hash="724b44c70421d206a77f72c2c151cf40"/></dir><file name="options.phtml" hash="c0281a5dc15905296ac8e93a9d13071b"/><file name="totals.phtml" hash="6e857d144768ed8faa0be977b547b32f"/></dir><file name="review.phtml" hash="763347e2b03553d1bf791b3c6df093a3"/><dir name="shipping"><file name="shipping_form.phtml" hash="87bf26552fb0c331c012a2b40c7ce059"/></dir><file name="shipping.phtml" hash="69f97ed0e0eb2e391b1e761bb8b1ffc7"/><dir name="shipping_method"><file name="available.phtml" hash="f0eb7caf698a2dddf1895b5211167467"/></dir><file name="shipping_method.phtml" hash="58c56da9e30df17c997e08e20e32a8ee"/></dir></dir><file name="daskboard.phtml" hash="1c0bb096ae8389fbc8cc6aab802ceb00"/><file name="emptyupdate.phtml" hash="7bf34446254428a5c42740731127b435"/><file name="onepage.phtml" hash="149f7077a5a959968afc0da9a0d952db"/><dir name="sales"><dir name="order"><dir name="info"><file name="customermessages.phtml" hash="1d783fb503426ca094f02525dd1a827b"/><file name="customermessages.phtml~" hash="aa6199bb564edbf6d950fa154b624c02"/><file name="deliverydate.phtml" hash="24d4d3fafafca91bb44b2159695c24bc"/><file name="deliverydate.phtml~" hash="75709e72398a0df41305dee259dc3de2"/></dir><file name="info.phtml" hash="a5b6b9223ec3d5da923e04f8becc84f3"/><dir name="view"><dir name="tab"><dir name="info"><file name="customermessages.phtml" hash="7de74c4598eceef2d17215585252f740"/><file name="deliverydate.phtml" hash="6e1260a32a1f6801ac185ef38a33114c"/></dir><file name="info.phtml" hash="57f4718dbfaa448976954368c1932b2b"/></dir></dir></dir></dir></dir></dir><dir name="customer"><dir><dir name="widget"><file name="dob.phtml" hash="7ac1cc016c90251d0c423d7347e9d715"/><file name="taxvat.phtml" hash="67333f779d3c7503209ce057a3b44c34"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="O2TI"><dir name="moip"><file name="form.phtml" hash="e381151a9b66f0fdc6cd74d019cefb5e"/><file name="info.phtml" hash="4517c05488d791fec96b8c882f10bfbc"/><file name="redirect.phtml" hash="a928915ad38266f0ca462a6e434cbb77"/></dir><dir name="onestepcheckout"><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><dir name="info"><file name="Customermessages.phtml" hash="bfaea7d5c4300ae8c73c31f3472c5a14"/><file name="Deliverydate.phtml" hash="b5040d3cb30cc31c0c63bfaa81d3c7ac"/></dir><file name="info.phtml" hash="1b6b38d40668d878487f1710a28c1e69"/></dir></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="view"><file name="info.phtml" hash="c6aa8255f5c494857c557a21a59e3367"/></dir></dir></dir></dir></dir><dir name="layout"><file name="o2ti_onestepcheckout.xml" hash="b601985811c14292e18b3e242ac6cc93"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="O2TI_All.xml" hash="0112972a847c93755903dd13239eae1f"/><file name="O2TI_Moip.xml" hash="e2cef22a0e5c667be681851c03dbffd4"/><file name="O2TI_Onestepcheckout.xml" hash="dbcbe66be4612fd2942b6f6847b834c9"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="O2TI_Onestepcheckout.csv" hash="4bff2b6a4c9e13f8d9ea2a287c10c85f"/><dir name="template"><dir name="email"><file name="statusmail_cancelado_o2ti.html" hash="867805dc1d9ecd61f96e1134cdacecf1"/><file name="statusmail_cancelado_o2ti.html~" hash="cb69a0a0e730655677332354bf3dd4a2"/></dir></dir></dir><dir name="pt_BR"><file name="O2TI_Onestepcheckout.csv" hash="4bff2b6a4c9e13f8d9ea2a287c10c85f"/><dir name="template"><dir name="email"><file name="statusmail_cancelado_o2ti.html" hash="867805dc1d9ecd61f96e1134cdacecf1"/><file name="statusmail_cancelado_o2ti.html~" hash="cb69a0a0e730655677332354bf3dd4a2"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="O2TI"><dir name="moip"><dir name="css"><file name="bootstrap.css" hash="39f61bb34cd4c8ae95a771d2593ccfc3"/><file name="formulario.css" hash="dba3b96839a8e49fd4dff529ded7a2db"/><file name="formulario_horizontal.css" hash="3ebe4fefb3bdcea345187d043f71e843"/><file name="prettify.css" hash="ecd4a5d6c0cbee10b168f6aa000c64ea"/></dir><dir name="imagem"><file name="AmericanExpress.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="BancoDoBrasil.png" hash="572914d1e4b635dc56cd507c6c46b023"/><file name="Banrisul.png" hash="d4ac02772b3f521a92542b849e679092"/><file name="Bradesco.png" hash="ceb6a2aaf263fc359fabaf6f102cb8db"/><file name="Diners.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="Hipercard.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="Itau.png" hash="40d639fe4b14d063d810589577f0eb7d"/><file name="Mastercard.png" hash="836466c092121163320e9e6279f11f8b"/><file name="Visa.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ababoleto.png" hash="47e3ede4db46d5938a68f126bb68bcfe"/><file name="abacartao.png" hash="667954485c4082bafa84920073288453"/><file name="abatransf.png" hash="0623c4cf50653b9c13d12cca5eed43f6"/><file name="ajax-loader.gif" hash="57ca1a2085d82f0574e3ef740b9a5ead"/><dir name="azul"><file name="ababoleto.png" hash="47e3ede4db46d5938a68f126bb68bcfe"/><file name="abacartao.png" hash="667954485c4082bafa84920073288453"/><file name="abatransf.png" hash="0623c4cf50653b9c13d12cca5eed43f6"/></dir><file name="bank-icon.png" hash="3f73473ce94841328abffa85fe314f3e"/><file name="bank-title.png" hash="3d33028c41f80b1042ef5500ea05c0d1"/><file name="bb.png" hash="572914d1e4b635dc56cd507c6c46b023"/><file name="boleto-icon.png" hash="c4560588cb6e12ca7756788648493ad3"/><file name="boleto.png" hash="fe1b591868a937c40e1a095b1313e3ed"/><dir name="branco"><file name="ababoleto.png" hash="f3baeeaf41a6528905b97d825ac67cf7"/><file name="abacartao.png" hash="684d8a48644f55f2c3504da1f51a350b"/><file name="abatransf.png" hash="ea6f42607620ea8f8dca34c1fc98b42b"/><file name="e-sedex.gif" hash="9d0af24408b3798ab687094ab9b76199"/><file name="e-sedex.png" hash="19c04d68032987d594c4da51e3b66094"/><file name="pac.gif" hash="fc1373622266269e8b0986b637e93851"/><file name="pac.png" hash="17aaff70f9924a8e37166429ceae549e"/><file name="sedex.gif" hash="9b6771f2d93f8f73dbbc8f5584a7f580"/><file name="sedex.png" hash="15e2831cad72756b9a9bf99a6e2af5e5"/></dir><file name="cc-title.png" hash="f3064bbd55a468c5bb717762e93a8a3b"/><file name="codigo-seguranca.png" hash="b1cdecab044511593083ff18033d4e4f"/><file name="flatrate_flatrate.gif" hash="a27796835310fe5e57ed11b5792d5530"/><file name="freeshipping_freeshipping.gif" hash="80af8e1da4c9cf03b1856f47bf7e27a4"/><file name="info.png" hash="051e3f3601ab034ba27615e42dd5cfdf"/><file name="logomoip.png" hash="0f09942428d649b8aa6b8999f0c60c0b"/><file name="logomoipck.png" hash="684da020f45d07cbee27cc231920d72a"/><file name="moip.png" hash="14273d22979881d4a57c960b952866e3"/><file name="moipamerican.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="moipbanner2.png" hash="1c24f42b0cbb05f00ea779d3a719ebe1"/><file name="moipdiners.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="moiphiper.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="moipmaster.png" hash="836466c092121163320e9e6279f11f8b"/><file name="moipvisa.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="pedroteixeira_correios_40010.gif" hash="e260acafdeaf0f493350cfa5c34b8be1"/><file name="pedroteixeira_correios_40096.gif" hash="9d0af24408b3798ab687094ab9b76199"/><file name="pedroteixeira_correios_41068.gif" hash="fc1373622266269e8b0986b637e93851"/><file name="pedroteixeira_correios_41106.gif" hash="dcb56e6f42c1730736b44363d7c01e11"/><file name="pedroteixeira_correios_81019.gif" hash="9b6771f2d93f8f73dbbc8f5584a7f580"/><dir name="preto"><file name="ababoleto.png" hash="a728ac886e7e57744e62bba2c7b0b969"/><file name="abacartao.png" hash="50b6103cb5b7e51a27f3c26eaa7411d0"/><file name="abatransf.png" hash="61eec388356aea3230fc5d811ef996ea"/></dir><file name="printer.png" hash="f4bfc0849dceba778a6e7f252b7a3b9c"/><dir name="verde"><file name="ababoleto.png" hash="3c3e047acb513328ebdfd6bfc9c339fa"/><file name="abacartao.png" hash="809d7e21263b3474d1685087a91ca18a"/><file name="abatransf.png" hash="0e3e6bdba002a69be78e126f3e7e775f"/></dir><dir name="vermelho"><file name="ababoleto.png" hash="0d84f05b75c8e964122c4f087268bd1c"/><file name="abacartao.png" hash="63b85e98d5b77c6a373bc351080e60f4"/><file name="abatransf.png" hash="0bef9fec6108a914ebc108f3c600c013"/></dir><file name="warning.png" hash="3fbeef48124ccb146e082a9d20977b3e"/></dir></dir><dir name="onestepcheckout"><dir name="css"><file name="960grid_onestepcheckout.css" hash="0c8bb8b5a5519baf105c81be27fb8213"/><dir name="images"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_overlay.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="f6ccaf1eda8a79a2bd44643e5a346990"/><file name="ui-bg_diagonals-thick_18_b81900_40x40.png" hash="95f9cceeb9d742dd3e917ec16ed754f8"/><file name="ui-bg_diagonals-thick_20_666666_40x40.png" hash="f040b255ca13e693da34ab33c7d6b554"/><file name="ui-bg_flat_10_000000_40x100.png" hash="c18cd01623c7fed23c80d53e2f5e7c78"/><file name="ui-bg_glass_100_f6f6f6_1x400.png" hash="5f1847175ba18c41322cb9cb0581e0fb"/><file name="ui-bg_glass_100_fdf5ce_1x400.png" hash="d26e8f463195a7b86f86b7d550cfc114"/><file name="ui-bg_glass_65_ffffff_1x400.png" hash="e5a8f32e28fd5c27bf0fed33c8a8b9b5"/><file name="ui-bg_gloss-wave_35_000_500x100.png" hash="5038a7d5d5bc3c3a565c585079798dca"/><file name="ui-bg_gloss-wave_35_f6a828_500x100.png" hash="5038a7d5d5bc3c3a565c585079798dca"/><file name="ui-bg_highlight-soft_100_eeeeee_1x100.png" hash="384c3f17709ba0f809b023b6e7b10b84"/><file name="ui-bg_highlight-soft_75_ffe45c_1x100.png" hash="b806658954cb4d16ade8977af737f486"/><file name="ui-icons_222222_256x240.png" hash="ebe6b6902a408fbf9cac6379a1477525"/><file name="ui-icons_228ef1_256x240.png" hash="ff1768bb6731566603303d106e298bec"/><file name="ui-icons_ef8c08_256x240.png" hash="ef9a6ccfe3b14041928ddc708665b226"/><file name="ui-icons_ffd27a_256x240.png" hash="ab8c30acc0e3608fb79e01fccf832c70"/><file name="ui-icons_ffffff_256x240.png" hash="342bc03f6264c75d3f1d7f99e34295b9"/></dir><file name="jquery.fancybox-1.3.1.css" hash="cc35aa3ea29cb379c994b32050f313b6"/><file name="onestepcheckout.css" hash="776267da336ae7dabe485db3189bfb95"/></dir><dir name="images"><file name="01.png" hash="89fcfa0fa3fe73b65ca2420269c26158"/><file name="02.png" hash="dab59c7515b3366465a4dd57d2d9deb2"/><file name="03.png" hash="dcaf4232529a8f9ac304db7553397450"/><file name="04.png" hash="68ae3a414c70c12f340e7c801d854c53"/><file name="05.png" hash="6e8fe636f0593ed3cf00d140e68d2308"/><file name="2_clock.png" hash="bb35645e06d8687f818a583202ad1615"/><file name="ajax-loader-tr.gif" hash="7a46575a4d543082fd6174c593aa762a"/><file name="bkg-giftmessage.png" hash="e0dc9f84c687af088bcc04e3ea200e0b"/><file name="bkg-step-review.png" hash="589914598419e9625c9358df8f68d49c"/><file name="bkg_form-search.gif" hash="2ca36eb80ea705e063409153f3821f78"/><file name="bkg_header.jpg" hash="0211c47be1493bd0ec72949c47932b81"/><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="btn_checkout.gif" hash="d2060501e14e86c29e28137130e5726e"/><file name="clock.gif" hash="c6d5badd40d31d332470c32a03d2e98c"/><file name="clock.png" hash="73f0648c150bde4ef647db7e9c14ca3e"/><file name="demo-large_03.png" hash="86628bc4358a1c1f655534d4ae15be45"/><file name="demo-large_04.png" hash="0d5f289d2bf808165be000b318a50591"/><file name="demo-large_05.png" hash="5fd1386a147ea4768553c3990d9db804"/><file name="demo-large_051.png" hash="452556661a99a8fb20c6d507ce9506f0"/><file name="demo-large_06.png" hash="247e5412b0e70bf164a428374b15a82d"/><file name="demo-large_07.png" hash="9deac604cfb692b2e17f0f53c3aebbf4"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_overlay.png" hash="7a46575a4d543082fd6174c593aa762a"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><file name="grid-cal.gif" hash="b1468e5239504974c689eea5d93f86d4"/><file name="line-gradient.gif" hash="bef9df2d426124dbe3d496407219190b"/><file name="loja_segura.jpg" hash="5e65fd40952db665746dc485d67fdf35"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="validation_advice_bg.gif" hash="b85432906de8985a8b14eeb2dc652d3c"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="O2TI"><dir name="moip"><dir name="css"><file name="bootstrap.css" hash="1899fb29f3f5bdeeaecd6d16485614e6"/><file name="formulario.css" hash="54920765fd12d894d8db2fbcdb3e62d5"/><file name="prettify.css" hash="a5ec3900f58a1827c96f8f103dc51ee6"/></dir><dir name="imagem"><file name="AmericanExpress.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="BancoDoBrasil.png" hash="572914d1e4b635dc56cd507c6c46b023"/><file name="Banrisul.png" hash="d4ac02772b3f521a92542b849e679092"/><file name="Bradesco.png" hash="ceb6a2aaf263fc359fabaf6f102cb8db"/><file name="Diners.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="Hipercard.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="Itau.png" hash="40d639fe4b14d063d810589577f0eb7d"/><file name="Mastercard.png" hash="836466c092121163320e9e6279f11f8b"/><file name="Visa.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ababoleto.png" hash="f99320f749bda4f07e6bc9b43d4d98ad"/><file name="abacartao.png" hash="b9a2891519c51bb19ac1647dd5640be3"/><file name="abatransf.png" hash="86de71f37be51f0f19838c8952dd34b5"/><file name="ajax-loader.gif" hash="57ca1a2085d82f0574e3ef740b9a5ead"/><file name="bb.png" hash="572914d1e4b635dc56cd507c6c46b023"/><file name="boleto.png" hash="fe1b591868a937c40e1a095b1313e3ed"/><file name="codigo-seguranca.png" hash="03f97c4205ab539ba49ef83017e8ec94"/><file name="flatrate_flatrate.gif" hash="a27796835310fe5e57ed11b5792d5530"/><file name="freeshipping_freeshipping.gif" hash="80af8e1da4c9cf03b1856f47bf7e27a4"/><file name="info.png" hash="051e3f3601ab034ba27615e42dd5cfdf"/><file name="logomoip.png" hash="0f09942428d649b8aa6b8999f0c60c0b"/><file name="logomoipck.png" hash="684da020f45d07cbee27cc231920d72a"/><file name="moip.png" hash="14273d22979881d4a57c960b952866e3"/><file name="moipamerican.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="moipdiners.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="moiphiper.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="moipmaster.png" hash="836466c092121163320e9e6279f11f8b"/><file name="moipvisa.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="pedroteixeira_correios_40010.gif" hash="3defbbdc7b3d5ca86d76643260182320"/><file name="pedroteixeira_correios_40096.gif" hash="33cd0845f40648cf0584b13fa65c942a"/><file name="pedroteixeira_correios_41068.gif" hash="f317b7dff693b6598c78829c1592b2b7"/><file name="pedroteixeira_correios_41106.gif" hash="f317b7dff693b6598c78829c1592b2b7"/><file name="pedroteixeira_correios_81019.gif" hash="3defbbdc7b3d5ca86d76643260182320"/></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="O2TI"><dir name="all"><file name="logo.png" hash="c08692c7e53617ad2a6d5f1449d04e96"/></dir></dir></target><target name="mageweb"><dir name="js"><dir name="O2TI"><file name="jquery.js" hash="f8e2833ce2f57ec673b178be7eefbd82"/><file name="jquery_noconflict.js" hash="afdd9b4ecb226d898fe655136f849752"/><dir name="moip"><file name="bootstrap-modal.js" hash="3a3af727bfc923a064aad1b02681ffce"/><file name="bootstrap.min.js" hash="5eb1cb055ddcf2f7b2b662f73f56cf1f"/><file name="checkout.js" hash="27c351b3b8b9a88da68bb8b18ea809ee"/></dir><file name="novamascara.js" hash="b9e977ef39649ce38245bb62a855551b"/><dir name="onestepcheckout"><file name="billing.js" hash="9f72ed92f8f51401ebc2fe98395c6af0"/><file name="change-events.js" hash="5f2255559e09fc56f24c72acd80e70b7"/><file name="jquery.fancybox-1.3.1.js" hash="9a060de18420a5bbe26cfa42b8470323"/><file name="shipping.js" hash="d9045d07a8adddeaddf25a757e86cf44"/></dir><file name="validacao.js" hash="73cb3aaf10be38fda611e8cff9abd550"/></dir></dir><dir name="."><file name="MOIP_README.md" hash="4dfe78832a2ea8f2f065cd150c846658"/><file name="MOIP_SQL_MANUAL_INSTALATION.txt" hash="57eca9f3b60792f0e4925ff14b8eba0e"/></dir></target></contents>
|
40 |
<compatible/>
|
41 |
<dependencies><required><php><min>4.0.0</min><max>5.5.5</max></php><extension><name>openssl</name><min>1</min><max>1</max></extension><extension><name>PDO</name><min>1</min><max>1</max></extension><extension><name>mcrypt</name><min>1</min><max>1</max></extension></required></dependencies>
|
42 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>o2ti_moip</name>
|
4 |
+
<version>1.2.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://o2ti.com/licensa_checkout_moip.txt">Free to use with MoIP</license>
|
7 |
<channel>community</channel>
|
34 |
<notes>Alteração para o funcionamento do módulo MoIP para funcionamento em qualquer Módulo de checkout.
|
35 |
</notes>
|
36 |
<authors><author><name>O2TI</name><user>o2ti</user><email>contato@o2ti.com</email></author></authors>
|
37 |
+
<date>2014-03-27</date>
|
38 |
+
<time>20:22:05</time>
|
39 |
+
<contents><target name="magelocal"><dir name="O2TI"><dir name="All"><dir name="Helper"><file name="Data.php" hash="5cfce5f56526da7a17ac2e402b39dd6e"/></dir><dir name="etc"><file name="config.xml" hash="b4343acf6c3f25bb750a287f0b4fa7fc"/><file name="system.xml" hash="9bad1e5078f470994567ce7a68d71688"/></dir></dir><dir name="Moip"><dir name="Block"><dir name="Adminhtml"><dir name="moip"><dir name="Info"><file name="Customermessages.php" hash="bf0e3f76f8ab4dde138a4125fe2fb07c"/><file name="Info.php" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><file name="Info.php" hash="3284336179df5048bbbf44b59ea80398"/><dir name="Standard"><file name="Form.php" hash="f93521922122f4d4d5f829a67c0754c2"/><file name="Info.php" hash="a1826c09d72b4310573cae391b8a0f06"/><file name="Novaforma.php" hash="9dfbce5025124bd7e80f7ac23386aa1a"/><file name="Redirect.php" hash="35f4c74dd1c6669dde8be302ae17d4fb"/></dir></dir><dir name="Helper"><file name="Data.php" hash="36af3c64c424820d5e6124528959d296"/></dir><dir name="Model"><file name="Api.php" hash="24d554773ef0cb0264075995bacd8fba"/><dir name="Mysql4"><file name="Collection.php" hash="9e0195a71bb5a5cd959992a6cec97667"/><file name="Write.php" hash="056d78bdbbb7a9e466b62d78015a8ed5"/></dir><file name="Observer.php" hash="80db718dbfb7e493ad235e3bdf4d6baf"/><file name="Orders.php" hash="a6023047810e0652e9e6248d67704b44"/><dir name="Source"><file name="Ambiente.php" hash="439a9f70669af322f1de30937551a1f0"/><file name="FormasPagamento.php" hash="bfa5931fe39fc22841acc789e71e6e92"/><file name="Layout.php" hash="4cc1e4fb27e773ce93a1c6b9bc571158"/></dir><file name="Standard.php" hash="4404310e45f06ab588e463baf82bd192"/><file name="Write.php" hash="ac1d3e9ff033480cab6ea20af271fa91"/><file name=".ftpquota" hash="bd9db78914b33cca442f35848cc680b5"/></dir><dir name="controllers"><file name="IndexController.php" hash="1c46afa51975fee2e626df503cfc29c9"/><file name="StandardController.php" hash="41cda2a2e7f16fdd1929863ee2040bb2"/></dir><dir name="etc"><file name="adminhtml.xml" hash="75bde86c187ceb24042233abde0f88b0"/><file name="config.xml" hash="3e921887d5844a4b5602db406b476ee4"/><file name="system.xml" hash="abf7ba5636a5c869d7782e1177e78839"/></dir><dir name="sql"><dir name="moip_setup"><file name="mysql4-install-0.1.0.php" hash="bff338f70822b4af170073029558b511"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="e767051db0711586184d20abbdebcbca"/><file name="mysql4-upgrade-0.1.0-0.2.1.php" hash="441725100d074d7d212bae4bc07db841"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="7e22a5f81d536e1b024e07d60df808d7"/><file name="mysql4-upgrade-0.2.1-0.2.3.php" hash="b6a1c02303eb5be5ac7c2c9bee962bb0"/><file name="mysql4-upgrade-0.2.1-0.2.4.php" hash="39985ee007790d939be31c8339c570fe"/></dir></dir></dir><dir name="Onestepcheckout"><dir name="Block"><dir name="Adminhtml"><dir name="Form"><dir name="Renderer"><dir name="Config"><file name="Createfield.php" hash="bca92a144c0564105091fb78ec75a235"/></dir></dir></dir><dir name="Onestepcheckout"><dir name="Edit"><file name="Form.php" hash="011556489a4e2e987d622bbc193ca5db"/><dir name="Tab"><file name="Form.php" hash="786a5a8d580250f8ab5c9def49f197c4"/></dir><file name="Tabs.php" hash="3e49037ed0f2ba7d930e7675398a6fd6"/></dir><file name="Edit.php" hash="b4a2a6c99cea16750408cb5c89c97ad8"/><file name="Grid.php" hash="8aa5742a2357b1c632ef26ce2a71e217"/><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="e23140dfc8b567ba7d957afeabee6643"/><dir name="View"><dir name="Tab"><dir name="Info"><file name="Customermessages.php" hash="bf0e3f76f8ab4dde138a4125fe2fb07c"/><file name="Deliverydate.php" hash="64ea9d43321c8b51d74621ee90916553"/></dir></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Addtimerange.php" hash="08419845203bd4dd3421cdcab5cf241d"/></dir></dir></dir></dir></dir><file name="Onestepcheckout.php" hash="d0253394f7c3515fcc4ba81f34f192d4"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Billing"><file name="Sortbilling.php" hash="c92c36496e94fd9dc6da3aa8e53dda86"/></dir><file name="Billing.php" hash="ef4f0f010d7e288c6664002060fa5b8a"/><dir name="Review"><file name="Options.php" hash="67b005f43191b0be294d4ecf50c37485"/></dir><dir name="Shipping"><file name="Sortshipping.php" hash="9af5fa1281bf34c37e4c92fb40a4873c"/></dir><file name="Shipping.php" hash="a56afd3502132baab34c4a9419aa7e3c"/><dir name="Shippingmethod"><file name="Deliverydate.php" hash="36ba92c13f59f21c33902ea1146d6cdc"/></dir></dir><file name="Top.php" hash="70e323dbbb57a29579c13412a8a2443f"/></dir><file name="Onestepcheckout.php" hash="e8b954f14acebf579bb0910813e899e4"/><dir name="Sales"><dir name="Info"><file name="Customermessages.php" hash="6666cedaeb9597e0c5f90cf7cc2934ae"/><file name="Deliverydate.php" hash="225859a718283767ca44b1ddccfd4bfb"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="fb1897f58ca16ce27184dc0790f0ecf2"/></dir><dir name="Model"><dir name="Customer"><file name="Customer.php" hash="b1b26b8e170bd4ed90b27fb9fcea8481"/></dir><dir name="Entity"><file name="Tipopessoa.php" hash="af14c8d054fe25c7f8cef5f89fcb65da"/></dir><dir name="Mysql4"><dir name="Onestepcheckout"><file name="Collection.php" hash="13781c0c51fcde3c6afc4f31054a6e03"/></dir><file name="Onestepcheckout.php" hash="5777de55ec60a045e86dc9de10f768bd"/></dir><file name="Observer.php" hash="75aeac65c1e5ffa22465b3a1d9c754c7"/><file name="Onestepcheckout.php" hash="3630794e4b1fda8229b82826e49a702f"/><dir name="Sales"><dir name="Quote"><file name="Address.php" hash="09cba85a351b58f16b4daba5be0d5595"/></dir></dir><dir name="Shipping"><file name="Allowedmethods.php" hash="801e98156ee12fd5fa08f30c37b64086"/></dir><file name="Status.php" hash="3e1d737e4f8cef4b6a591240efdafd83"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Checkuncheck.php" hash="a232182e727d089f1a730d1e0bb05996"/><file name="Disablefield.php" hash="d5a2192f21d68175ed7375f3a6e7f85a"/><file name="Formatdate.php" hash="7e3eeae0c5a8ebba85ed501ef513b192"/><file name="Optionaddfield.php" hash="3b9cf9f6a67931b7d56c21c9e8cb48b3"/><file name="Optionhidefield.php" hash="847e6415e5d037ae3b3572e1df28f347"/><file name="Pagelayout.php" hash="676dd09a7aad20c0e3cfdb74e9f7f87f"/><dir name="Payment"><file name="Allowedmethods.php" hash="ea276b37bfdf6bcdbc302a76df966523"/></dir><dir name="Shipping"><file name="Allowedmethods.php" hash="801e98156ee12fd5fa08f30c37b64086"/></dir><file name="Subscribenewletter.php" hash="48dd4e572839e532e5321854bdd07750"/><dir name="form"><file name="Createfield.php" hash="6cc825f91bc3f787b7a84e5369422f39"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OnestepcheckoutController.php" hash="260a95696953ed372ed3d22ab52e7c85"/></dir><file name="IndexController.php" hash="b27320c1411d103bfa2616f4825de62b"/><file name="TestController.php" hash="b7814c4a88338b9e031f26274bd7d07a"/></dir><dir name="etc"><file name="config.xml" hash="a8cd520ee0f0b93c00a01d95951da4fa"/><file name="system.xml" hash="d6f72abeb349cb9753f30a1f84e1d5a1"/></dir><dir name="sql"><dir name="onestepcheckout_setup"><file name="mysql4-install-0.1.0.php" hash="0bcce57d95b0c63e8efb86faad1d798c"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="6d20a03343747545eb10c276631114c8"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="o2ti_moip.xml" hash="6fb94710e848801bf227ba48ba5030d5"/><file name="o2ti_onestepcheckout.xml" hash="a901f57e619569a8cd6b35b4cb9576d1"/></dir><dir name="template"><dir name="O2TI"><dir name="cadastro"><dir name="customer"><dir name="form"><file name="edit.phtml" hash="1cdb3179dd883809bd7357409ca0a5d0"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="5fc8ba027dfb92482c1a85d88e211cda"/></dir></dir><dir name="customer"><dir name="form"><file name="register.phtml" hash="08b5b692abfce0e689d243c3478de77e"/></dir></dir></dir></dir><dir name="moip"><file name="Novaforma.phtml" hash="49d046daa42bae37c1c5e80ff88c3e0d"/><file name="boleto.phtml" hash="9667a8ec9a4456be9a38c71ae70d2ad5"/><file name="cartao.phtml" hash="f51236967fdc8f086bf708f9e1cc86b3"/><file name="emptyupdate.phtml" hash="8625e958f0e2dd1138721b8518c8069a"/><file name="form.phtml" hash="97159f0fb40753ded7c032dfba582762"/><file name="horizontal_form.phtml" hash="41ddf8a11071c36e026fd989ca884178"/><file name="info.phtml" hash="13a80155eccc99e762b57c14a6634815"/><file name="layout_boleto.phtml" hash="6a609b4bc4bbbb610f151266983c06e1"/><file name="redirect.phtml" hash="1d302d419b7855d702b5f04078062024"/><file name="refaz.phtml" hash="61375f1a1f052fa29100cae10623fd85"/><file name="transferencia.phtml" hash="efc376926a603a9884a9ef615de726e2"/><file name="vertical_form.phtml" hash="568b9c25a3f3f975c3f352aafd32bef0"/></dir><dir name="onestepcheckout"><dir name="daskboard"><dir name="onepage"><file name="agreements.phtml" hash="5b762aa76287b160fcbec8fed8b789e8"/><dir name="billing"><file name="billing_form.phtml" hash="ed0bd9061c1cb449e25cd694b18b1b6e"/></dir><file name="billing.phtml" hash="3ace016f656dd99a2f18b35ec13740a5"/><file name="correio.phtml" hash="461b88fcbf6adffc4f23c5905932bafa"/><file name="coupon.phtml" hash="7e3ffcc7e51d78c7607d91bc40ed68db"/><file name="forgotpassword.phtml" hash="2fb80e3ec1a8151dde497743b149c6e9"/><file name="local.xml" hash="08c7ce351c502056fb9ee3a14a9b065a"/><file name="login.phtml" hash="e0f06114449d9fa635ff6d2ad7928f2e"/><dir name="payment"><file name="methods.phtml" hash="d6fc964f422d4c4fc75f0605d58e004c"/></dir><file name="payment.phtml" hash="3501af6f3b4c108f11bc2bc6d58a9d87"/><dir name="review"><file name="button.phtml" hash="4d5c7c5a2d70f85ec324e79c7e81946b"/><file name="info.phtml" hash="68556313d6d0943c153d69ebd00c8c4b"/><file name="item.phtml" hash="af2406220da6cd44940a672e2771f902"/><dir name="options"><file name="additional.phtml" hash="724b44c70421d206a77f72c2c151cf40"/></dir><file name="options.phtml" hash="c0281a5dc15905296ac8e93a9d13071b"/><file name="totals.phtml" hash="6e857d144768ed8faa0be977b547b32f"/></dir><file name="review.phtml" hash="763347e2b03553d1bf791b3c6df093a3"/><dir name="shipping"><file name="shipping_form.phtml" hash="87bf26552fb0c331c012a2b40c7ce059"/></dir><file name="shipping.phtml" hash="69f97ed0e0eb2e391b1e761bb8b1ffc7"/><dir name="shipping_method"><file name="available.phtml" hash="f0eb7caf698a2dddf1895b5211167467"/></dir><file name="shipping_method.phtml" hash="58c56da9e30df17c997e08e20e32a8ee"/></dir></dir><file name="daskboard.phtml" hash="00048895035f6177c28ddf3b3c1ba589"/><file name="emptyupdate.phtml" hash="7bf34446254428a5c42740731127b435"/><file name="onepage.phtml" hash="149f7077a5a959968afc0da9a0d952db"/><dir name="sales"><dir name="order"><dir name="info"><file name="customermessages.phtml" hash="1d783fb503426ca094f02525dd1a827b"/><file name="customermessages.phtml~" hash="aa6199bb564edbf6d950fa154b624c02"/><file name="deliverydate.phtml" hash="24d4d3fafafca91bb44b2159695c24bc"/><file name="deliverydate.phtml~" hash="75709e72398a0df41305dee259dc3de2"/></dir><file name="info.phtml" hash="a5b6b9223ec3d5da923e04f8becc84f3"/><dir name="view"><dir name="tab"><dir name="info"><file name="customermessages.phtml" hash="7de74c4598eceef2d17215585252f740"/><file name="deliverydate.phtml" hash="6e1260a32a1f6801ac185ef38a33114c"/></dir><file name="info.phtml" hash="57f4718dbfaa448976954368c1932b2b"/></dir></dir></dir></dir></dir></dir><dir name="customer"><dir><dir name="widget"><file name="dob.phtml" hash="7ac1cc016c90251d0c423d7347e9d715"/><file name="taxvat.phtml" hash="67333f779d3c7503209ce057a3b44c34"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="O2TI"><dir name="moip"><file name="form.phtml" hash="e381151a9b66f0fdc6cd74d019cefb5e"/><file name="info.phtml" hash="4517c05488d791fec96b8c882f10bfbc"/><file name="redirect.phtml" hash="a928915ad38266f0ca462a6e434cbb77"/></dir><dir name="onestepcheckout"><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><dir name="info"><file name="Customermessages.phtml" hash="bfaea7d5c4300ae8c73c31f3472c5a14"/><file name="Deliverydate.phtml" hash="b5040d3cb30cc31c0c63bfaa81d3c7ac"/></dir><file name="info.phtml" hash="1b6b38d40668d878487f1710a28c1e69"/></dir></dir></dir></dir></dir><dir name="pagseguro"><file name="form.phtml" hash="e381151a9b66f0fdc6cd74d019cefb5e"/><file name="info.phtml" hash="4517c05488d791fec96b8c882f10bfbc"/><file name="redirect.phtml" hash="a928915ad38266f0ca462a6e434cbb77"/></dir><dir name="sales"><dir name="order"><dir name="view"><file name="info.phtml" hash="c6aa8255f5c494857c557a21a59e3367"/></dir></dir></dir></dir></dir><dir name="layout"><file name="o2ti_onestepcheckout.xml" hash="b601985811c14292e18b3e242ac6cc93"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="O2TI_All.xml" hash="0112972a847c93755903dd13239eae1f"/><file name="O2TI_Moip.xml" hash="e2cef22a0e5c667be681851c03dbffd4"/><file name="O2TI_Onestepcheckout.xml" hash="dbcbe66be4612fd2942b6f6847b834c9"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="O2TI_Onestepcheckout.csv" hash="4bff2b6a4c9e13f8d9ea2a287c10c85f"/><dir name="template"><dir name="email"><file name="statusmail_cancelado_o2ti.html" hash="867805dc1d9ecd61f96e1134cdacecf1"/><file name="statusmail_cancelado_o2ti.html~" hash="cb69a0a0e730655677332354bf3dd4a2"/></dir></dir></dir><dir name="pt_BR"><file name="O2TI_Onestepcheckout.csv" hash="4bff2b6a4c9e13f8d9ea2a287c10c85f"/><dir name="template"><dir name="email"><file name="statusmail_cancelado_o2ti.html" hash="867805dc1d9ecd61f96e1134cdacecf1"/><file name="statusmail_cancelado_o2ti.html~" hash="cb69a0a0e730655677332354bf3dd4a2"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="O2TI"><dir name="moip"><dir name="css"><file name="bootstrap.css" hash="39f61bb34cd4c8ae95a771d2593ccfc3"/><file name="formulario.css" hash="cfd9fefe3e825e38bf55856e99fb11f1"/><file name="formulario_horizontal.css" hash="3ebe4fefb3bdcea345187d043f71e843"/><file name="prettify.css" hash="ecd4a5d6c0cbee10b168f6aa000c64ea"/></dir><dir name="imagem"><file name="AmericanExpress.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="BancoDoBrasil.png" hash="572914d1e4b635dc56cd507c6c46b023"/><file name="Banrisul.png" hash="d4ac02772b3f521a92542b849e679092"/><file name="Bradesco.png" hash="ceb6a2aaf263fc359fabaf6f102cb8db"/><file name="Diners.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="Hipercard.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="Itau.png" hash="40d639fe4b14d063d810589577f0eb7d"/><file name="Mastercard.png" hash="836466c092121163320e9e6279f11f8b"/><file name="Visa.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ababoleto.png" hash="47e3ede4db46d5938a68f126bb68bcfe"/><file name="abacartao.png" hash="667954485c4082bafa84920073288453"/><file name="abatransf.png" hash="0623c4cf50653b9c13d12cca5eed43f6"/><file name="ajax-loader.gif" hash="57ca1a2085d82f0574e3ef740b9a5ead"/><dir name="azul"><file name="ababoleto.png" hash="47e3ede4db46d5938a68f126bb68bcfe"/><file name="abacartao.png" hash="667954485c4082bafa84920073288453"/><file name="abatransf.png" hash="0623c4cf50653b9c13d12cca5eed43f6"/></dir><file name="bank-icon.png" hash="3f73473ce94841328abffa85fe314f3e"/><file name="bank-title.png" hash="3d33028c41f80b1042ef5500ea05c0d1"/><file name="bb.png" hash="572914d1e4b635dc56cd507c6c46b023"/><file name="boleto-icon.png" hash="c4560588cb6e12ca7756788648493ad3"/><file name="boleto.png" hash="fe1b591868a937c40e1a095b1313e3ed"/><dir name="branco"><file name="ababoleto.png" hash="f3baeeaf41a6528905b97d825ac67cf7"/><file name="abacartao.png" hash="684d8a48644f55f2c3504da1f51a350b"/><file name="abatransf.png" hash="ea6f42607620ea8f8dca34c1fc98b42b"/><file name="e-sedex.gif" hash="9d0af24408b3798ab687094ab9b76199"/><file name="e-sedex.png" hash="19c04d68032987d594c4da51e3b66094"/><file name="pac.gif" hash="fc1373622266269e8b0986b637e93851"/><file name="pac.png" hash="17aaff70f9924a8e37166429ceae549e"/><file name="sedex.gif" hash="9b6771f2d93f8f73dbbc8f5584a7f580"/><file name="sedex.png" hash="15e2831cad72756b9a9bf99a6e2af5e5"/></dir><file name="cc-title.png" hash="f3064bbd55a468c5bb717762e93a8a3b"/><file name="codigo-seguranca.png" hash="b1cdecab044511593083ff18033d4e4f"/><file name="flatrate_flatrate.gif" hash="a27796835310fe5e57ed11b5792d5530"/><file name="freeshipping_freeshipping.gif" hash="80af8e1da4c9cf03b1856f47bf7e27a4"/><file name="info.png" hash="051e3f3601ab034ba27615e42dd5cfdf"/><file name="logomoip.png" hash="0f09942428d649b8aa6b8999f0c60c0b"/><file name="logomoipck.png" hash="684da020f45d07cbee27cc231920d72a"/><file name="moip.png" hash="14273d22979881d4a57c960b952866e3"/><file name="moipamerican.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="moipbanner2.png" hash="1c24f42b0cbb05f00ea779d3a719ebe1"/><file name="moipdiners.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="moiphiper.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="moipmaster.png" hash="836466c092121163320e9e6279f11f8b"/><file name="moipvisa.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="pedroteixeira_correios_40010.gif" hash="e260acafdeaf0f493350cfa5c34b8be1"/><file name="pedroteixeira_correios_40096.gif" hash="9d0af24408b3798ab687094ab9b76199"/><file name="pedroteixeira_correios_41068.gif" hash="fc1373622266269e8b0986b637e93851"/><file name="pedroteixeira_correios_41106.gif" hash="dcb56e6f42c1730736b44363d7c01e11"/><file name="pedroteixeira_correios_81019.gif" hash="9b6771f2d93f8f73dbbc8f5584a7f580"/><dir name="preto"><file name="ababoleto.png" hash="a728ac886e7e57744e62bba2c7b0b969"/><file name="abacartao.png" hash="50b6103cb5b7e51a27f3c26eaa7411d0"/><file name="abatransf.png" hash="61eec388356aea3230fc5d811ef996ea"/></dir><file name="printer.png" hash="f4bfc0849dceba778a6e7f252b7a3b9c"/><dir name="verde"><file name="ababoleto.png" hash="3c3e047acb513328ebdfd6bfc9c339fa"/><file name="abacartao.png" hash="809d7e21263b3474d1685087a91ca18a"/><file name="abatransf.png" hash="0e3e6bdba002a69be78e126f3e7e775f"/></dir><dir name="vermelho"><file name="ababoleto.png" hash="0d84f05b75c8e964122c4f087268bd1c"/><file name="abacartao.png" hash="63b85e98d5b77c6a373bc351080e60f4"/><file name="abatransf.png" hash="0bef9fec6108a914ebc108f3c600c013"/></dir><file name="warning.png" hash="3fbeef48124ccb146e082a9d20977b3e"/></dir></dir><dir name="onestepcheckout"><dir name="css"><file name="960grid_onestepcheckout.css" hash="0c8bb8b5a5519baf105c81be27fb8213"/><dir name="images"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_overlay.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="f6ccaf1eda8a79a2bd44643e5a346990"/><file name="ui-bg_diagonals-thick_18_b81900_40x40.png" hash="95f9cceeb9d742dd3e917ec16ed754f8"/><file name="ui-bg_diagonals-thick_20_666666_40x40.png" hash="f040b255ca13e693da34ab33c7d6b554"/><file name="ui-bg_flat_10_000000_40x100.png" hash="c18cd01623c7fed23c80d53e2f5e7c78"/><file name="ui-bg_glass_100_f6f6f6_1x400.png" hash="5f1847175ba18c41322cb9cb0581e0fb"/><file name="ui-bg_glass_100_fdf5ce_1x400.png" hash="d26e8f463195a7b86f86b7d550cfc114"/><file name="ui-bg_glass_65_ffffff_1x400.png" hash="e5a8f32e28fd5c27bf0fed33c8a8b9b5"/><file name="ui-bg_gloss-wave_35_000_500x100.png" hash="5038a7d5d5bc3c3a565c585079798dca"/><file name="ui-bg_gloss-wave_35_f6a828_500x100.png" hash="5038a7d5d5bc3c3a565c585079798dca"/><file name="ui-bg_highlight-soft_100_eeeeee_1x100.png" hash="384c3f17709ba0f809b023b6e7b10b84"/><file name="ui-bg_highlight-soft_75_ffe45c_1x100.png" hash="b806658954cb4d16ade8977af737f486"/><file name="ui-icons_222222_256x240.png" hash="ebe6b6902a408fbf9cac6379a1477525"/><file name="ui-icons_228ef1_256x240.png" hash="ff1768bb6731566603303d106e298bec"/><file name="ui-icons_ef8c08_256x240.png" hash="ef9a6ccfe3b14041928ddc708665b226"/><file name="ui-icons_ffd27a_256x240.png" hash="ab8c30acc0e3608fb79e01fccf832c70"/><file name="ui-icons_ffffff_256x240.png" hash="342bc03f6264c75d3f1d7f99e34295b9"/></dir><file name="jquery.fancybox-1.3.1.css" hash="cc35aa3ea29cb379c994b32050f313b6"/><file name="onestepcheckout.css" hash="5b6f1f4b87e5f306a9937a470c0e4da2"/></dir><dir name="images"><file name="01.png" hash="89fcfa0fa3fe73b65ca2420269c26158"/><file name="02.png" hash="dab59c7515b3366465a4dd57d2d9deb2"/><file name="03.png" hash="dcaf4232529a8f9ac304db7553397450"/><file name="04.png" hash="68ae3a414c70c12f340e7c801d854c53"/><file name="05.png" hash="6e8fe636f0593ed3cf00d140e68d2308"/><file name="2_clock.png" hash="bb35645e06d8687f818a583202ad1615"/><file name="ajax-loader-tr.gif" hash="7a46575a4d543082fd6174c593aa762a"/><file name="bkg-giftmessage.png" hash="e0dc9f84c687af088bcc04e3ea200e0b"/><file name="bkg-step-review.png" hash="589914598419e9625c9358df8f68d49c"/><file name="bkg_form-search.gif" hash="2ca36eb80ea705e063409153f3821f78"/><file name="bkg_header.jpg" hash="0211c47be1493bd0ec72949c47932b81"/><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="btn_checkout.gif" hash="d2060501e14e86c29e28137130e5726e"/><file name="clock.gif" hash="c6d5badd40d31d332470c32a03d2e98c"/><file name="clock.png" hash="73f0648c150bde4ef647db7e9c14ca3e"/><file name="demo-large_03.png" hash="86628bc4358a1c1f655534d4ae15be45"/><file name="demo-large_04.png" hash="0d5f289d2bf808165be000b318a50591"/><file name="demo-large_05.png" hash="5fd1386a147ea4768553c3990d9db804"/><file name="demo-large_051.png" hash="452556661a99a8fb20c6d507ce9506f0"/><file name="demo-large_06.png" hash="247e5412b0e70bf164a428374b15a82d"/><file name="demo-large_07.png" hash="9deac604cfb692b2e17f0f53c3aebbf4"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_overlay.png" hash="7a46575a4d543082fd6174c593aa762a"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><file name="grid-cal.gif" hash="b1468e5239504974c689eea5d93f86d4"/><file name="line-gradient.gif" hash="bef9df2d426124dbe3d496407219190b"/><file name="loja_segura.jpg" hash="5e65fd40952db665746dc485d67fdf35"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="validation_advice_bg.gif" hash="b85432906de8985a8b14eeb2dc652d3c"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="O2TI"><dir name="moip"><dir name="css"><file name="bootstrap.css" hash="1899fb29f3f5bdeeaecd6d16485614e6"/><file name="formulario.css" hash="54920765fd12d894d8db2fbcdb3e62d5"/><file name="prettify.css" hash="ff466c83ef659614e43b38735456e67b"/></dir><dir name="imagem"><file name="AmericanExpress.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="BancoDoBrasil.png" hash="572914d1e4b635dc56cd507c6c46b023"/><file name="Banrisul.png" hash="d4ac02772b3f521a92542b849e679092"/><file name="Bradesco.png" hash="ceb6a2aaf263fc359fabaf6f102cb8db"/><file name="Diners.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="Hipercard.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="Itau.png" hash="40d639fe4b14d063d810589577f0eb7d"/><file name="Mastercard.png" hash="836466c092121163320e9e6279f11f8b"/><file name="Visa.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ababoleto.png" hash="f99320f749bda4f07e6bc9b43d4d98ad"/><file name="abacartao.png" hash="b9a2891519c51bb19ac1647dd5640be3"/><file name="abatransf.png" hash="86de71f37be51f0f19838c8952dd34b5"/><file name="ajax-loader.gif" hash="57ca1a2085d82f0574e3ef740b9a5ead"/><file name="bb.png" hash="572914d1e4b635dc56cd507c6c46b023"/><file name="boleto.png" hash="fe1b591868a937c40e1a095b1313e3ed"/><file name="codigo-seguranca.png" hash="03f97c4205ab539ba49ef83017e8ec94"/><file name="flatrate_flatrate.gif" hash="a27796835310fe5e57ed11b5792d5530"/><file name="freeshipping_freeshipping.gif" hash="80af8e1da4c9cf03b1856f47bf7e27a4"/><file name="info.png" hash="051e3f3601ab034ba27615e42dd5cfdf"/><file name="logomoip.png" hash="0f09942428d649b8aa6b8999f0c60c0b"/><file name="logomoipck.png" hash="684da020f45d07cbee27cc231920d72a"/><file name="moip.png" hash="14273d22979881d4a57c960b952866e3"/><file name="moipamerican.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="moipdiners.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="moiphiper.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="moipmaster.png" hash="836466c092121163320e9e6279f11f8b"/><file name="moipvisa.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="pedroteixeira_correios_40010.gif" hash="3defbbdc7b3d5ca86d76643260182320"/><file name="pedroteixeira_correios_40096.gif" hash="33cd0845f40648cf0584b13fa65c942a"/><file name="pedroteixeira_correios_41068.gif" hash="f317b7dff693b6598c78829c1592b2b7"/><file name="pedroteixeira_correios_41106.gif" hash="f317b7dff693b6598c78829c1592b2b7"/><file name="pedroteixeira_correios_81019.gif" hash="3defbbdc7b3d5ca86d76643260182320"/></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="O2TI"><dir name="all"><file name="logo.png" hash="c08692c7e53617ad2a6d5f1449d04e96"/></dir></dir></target><target name="mageweb"><dir name="js"><dir name="O2TI"><file name="jquery.js" hash="f8e2833ce2f57ec673b178be7eefbd82"/><file name="jquery_noconflict.js" hash="afdd9b4ecb226d898fe655136f849752"/><dir name="moip"><file name="bootstrap-modal.js" hash="3a3af727bfc923a064aad1b02681ffce"/><file name="bootstrap.min.js" hash="5eb1cb055ddcf2f7b2b662f73f56cf1f"/><file name="checkout.js" hash="27c351b3b8b9a88da68bb8b18ea809ee"/></dir><file name="novamascara.js" hash="b9e977ef39649ce38245bb62a855551b"/><dir name="onestepcheckout"><file name="billing.js" hash="9f72ed92f8f51401ebc2fe98395c6af0"/><file name="change-events.js" hash="5f2255559e09fc56f24c72acd80e70b7"/><file name="jquery.fancybox-1.3.1.js" hash="9a060de18420a5bbe26cfa42b8470323"/><file name="shipping.js" hash="d9045d07a8adddeaddf25a757e86cf44"/></dir><file name="validacao.js" hash="73cb3aaf10be38fda611e8cff9abd550"/></dir></dir><dir name="."><file name="MOIP_README.md" hash="4dfe78832a2ea8f2f065cd150c846658"/><file name="MOIP_SQL_MANUAL_INSTALATION.txt" hash="57eca9f3b60792f0e4925ff14b8eba0e"/></dir></target></contents>
|
40 |
<compatible/>
|
41 |
<dependencies><required><php><min>4.0.0</min><max>5.5.5</max></php><extension><name>openssl</name><min>1</min><max>1</max></extension><extension><name>PDO</name><min>1</min><max>1</max></extension><extension><name>mcrypt</name><min>1</min><max>1</max></extension></required></dependencies>
|
42 |
</package>
|
skin/adminhtml/default/default/O2TI/moip/css/prettify.css
CHANGED
Binary file
|
skin/frontend/default/default/O2TI/moip/css/formulario.css
CHANGED
@@ -8,7 +8,7 @@ ul.form-list .wide.cc-validade > div > select#credito_expiracao_mes{margin: 0 !i
|
|
8 |
|
9 |
ul.form-list.dados-titular > li > label{clear: none !important; width: 105px;float: left !important;padding-top: 5px;}
|
10 |
ul.form-list.dados-titular > li > div{ width: 50% !important;clear: none !important; float: left;}
|
11 |
-
|
12 |
ul.inline li{float: left;width: 30%;margin-right: 2%; text-align: center;}
|
13 |
ul.inline li img{width: 100%; height: auto; clear: both; display: block;margin-bottom: 5px;}
|
14 |
|
@@ -18,6 +18,6 @@ ul.inline.input-switcher-4 > li{width: 23%}
|
|
18 |
ul.inline.input-switcher-5 > li{width: 18%}
|
19 |
|
20 |
.tooltip-moip-handler{position: relative !important;}
|
21 |
-
.tooltip-moip{display: none;position: absolute; right: 0px;top:
|
22 |
.tooltip-moip-handler:hover .tooltip-moip{display: block;}
|
23 |
.span3.method-image > img {float: right;margin-right: 15px;margin-top: 25px;}
|
8 |
|
9 |
ul.form-list.dados-titular > li > label{clear: none !important; width: 105px;float: left !important;padding-top: 5px;}
|
10 |
ul.form-list.dados-titular > li > div{ width: 50% !important;clear: none !important; float: left;}
|
11 |
+
#formcli > ul > li > label > em {right: 2px !important;}
|
12 |
ul.inline li{float: left;width: 30%;margin-right: 2%; text-align: center;}
|
13 |
ul.inline li img{width: 100%; height: auto; clear: both; display: block;margin-bottom: 5px;}
|
14 |
|
18 |
ul.inline.input-switcher-5 > li{width: 18%}
|
19 |
|
20 |
.tooltip-moip-handler{position: relative !important;}
|
21 |
+
.tooltip-moip{display: none;position: absolute; right: 0px;top: auto;background: #cccccc;padding: 20px;border-radius: 10px;min-width: 245px;box-shadow: 0 0 10px #000;z-index:999;}
|
22 |
.tooltip-moip-handler:hover .tooltip-moip{display: block;}
|
23 |
.span3.method-image > img {float: right;margin-right: 15px;margin-top: 25px;}
|
skin/frontend/default/default/O2TI/onestepcheckout/css/onestepcheckout.css
CHANGED
@@ -1,37 +1,41 @@
|
|
1 |
/* page blocks */
|
2 |
-
.o2ti-osc-checkoutcontainer{display:block;clear:both;width:100%;}
|
3 |
-
.o2ti-osc-checkoutcontainer .o2ti-osc-column-left{display:block;width:33%;float:left;}
|
4 |
-
.o2ti-osc-checkoutcontainer .o2ti-osc-column-2{display:block;width:65%;margin-left: 2%;float:left;}
|
5 |
-
.o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .o2ti-osc-column-middle{display:block;width:47%;float:left;}
|
6 |
-
.o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .o2ti-osc-column-right{display:block;width:
|
7 |
-
.o2ti-osc-checkoutcontainer .o2ti-osc-block-title h3{margin: 0;padding: 5px;}
|
8 |
-
.o2ti-osc-checkoutcontainer .o2ti-osc-block-content{border:1px solid #ccc;border-radius: 0 0 5px 5px;padding:15px;}
|
9 |
-
.o2ti-osc-checkoutcontainer .review{float:left; width:100%;clear:both;margin-top:20px;}
|
10 |
-
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .shipping-payment{width: 45%;float: left;}
|
11 |
-
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .shipping-payment .o2ti-osc-column{width:100%;margin:0 0 15px 0;}
|
12 |
-
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .review{width:
|
13 |
-
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .review .o2ti-osc-column-middle{width: 100%;clear: both;margin: 0;}
|
14 |
-
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .review .o2ti-osc-column-middle #id_comments{width: 100%;border-radius: 5px;clear: both;margin: 0;}
|
15 |
-
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .review .o2ti-osc-column-right{width: 100%;clear: both;margin: 0;}
|
16 |
/* form list */
|
17 |
-
.form-list .field{float:left !important;width:47.5% !important;}
|
18 |
-
.form-list .field.odd{margin-left:5%;}
|
19 |
-
.form-list .wide
|
20 |
-
.form-list
|
21 |
-
.form-list label
|
22 |
-
.form-list
|
23 |
-
.form-list .input-box
|
24 |
-
.form-list .input-box input
|
25 |
-
.
|
26 |
-
.
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
#
|
33 |
-
#
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
}
|
|
|
|
|
|
|
|
1 |
/* page blocks */
|
2 |
+
.o2ti-osc-checkoutcontainer { display: block; clear: both; width: 100%; }
|
3 |
+
.o2ti-osc-checkoutcontainer .o2ti-osc-column-left { display: block; width: 33%; float: left; }
|
4 |
+
.o2ti-osc-checkoutcontainer .o2ti-osc-column-2 { display: block; width: 65%; margin-left: 2%; float: left; }
|
5 |
+
.o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .o2ti-osc-column-middle { display: block; width: 47%; float: left; min-width: 290px !important; }
|
6 |
+
.o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .o2ti-osc-column-right { display: block; width: 48%; float: left; margin-left: 2%; min-width: 283px !important; }
|
7 |
+
.o2ti-osc-checkoutcontainer .o2ti-osc-block-title h3 { margin: 0; padding: 5px; }
|
8 |
+
.o2ti-osc-checkoutcontainer .o2ti-osc-block-content { border: 1px solid #ccc; border-radius: 0 0 5px 5px; padding: 15px; }
|
9 |
+
.o2ti-osc-checkoutcontainer .review { float: left; width: 100%; clear: both; margin-top: 20px; }
|
10 |
+
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .shipping-payment { width: 45%; float: left; min-width: 290px !important; }
|
11 |
+
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .shipping-payment .o2ti-osc-column { width: 100%; margin: 0 0 15px 0; }
|
12 |
+
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .review { width: 52%; clear: none; margin-left: 1%; margin-top: 0; }
|
13 |
+
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .review .o2ti-osc-column-middle { width: 100%; clear: both; margin: 0; }
|
14 |
+
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .review .o2ti-osc-column-middle #id_comments { width: 100%; border-radius: 5px; clear: both; margin: 0; }
|
15 |
+
.o2ti-opc-2columns .o2ti-osc-checkoutcontainer .o2ti-osc-column-2 .review .o2ti-osc-column-right { width: 100%; clear: both; margin: 0; }
|
16 |
/* form list */
|
17 |
+
.form-list .field { float: left !important; width: 47.5% !important; }
|
18 |
+
.form-list .field.odd { margin-left: 5%; }
|
19 |
+
.form-list .wide,
|
20 |
+
.form-list .fields { width: 100%; clear: both; }
|
21 |
+
.form-list label { float: left; position: relative; clear: both; }
|
22 |
+
.form-list label em { position: absolute; top: 0; right: 0; color: red; }
|
23 |
+
.form-list .input-box { width: 100% !important; }
|
24 |
+
.form-list .input-box input,
|
25 |
+
.form-list .input-box select { width: 97% !important; border-radius: 3px; padding: 5px; }
|
26 |
+
.form-list .input-box input[type="checkbox"],
|
27 |
+
.form-list .input-box input[type="radio"] { width: auto !important; float: left; clear: none; margin-right: 5px; }
|
28 |
+
.dados-pj { display: none }
|
29 |
+
.customer-dob .dob-day,
|
30 |
+
.customer-dob .dob-month { margin: 0; max-width: 26px !important; }
|
31 |
+
#loading-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.5) }
|
32 |
+
#loading-mask #loading_mask_loader { position: absolute; top: 50%; left: 50%; width: 230px; height: auto; background: #fff; border: 1px solid #ccc; border-radius: 10px; box-shadow: 0 0 10px #000; margin-left: -115px; display: block; text-align: center; padding: 20px; margin-top: -39px; }
|
33 |
+
#loginbox { background: #000000; padding: 10px 0px !important; color: #fff; text-decoration: none; border-radius: 5px; margin-bottom: 10px; float: left; clear: both; width: 100%; text-align: center; }
|
34 |
+
#co-billing-form { clear: both; }
|
35 |
+
.update_shipping,
|
36 |
+
.update_payment { width: 100%; text-align: center; font-size: 14px; min-height: 115px; padding-top: 50px; }
|
37 |
+
#co-payment-form { min-height: 150px !important; }
|
38 |
+
#advice-required-entry-id_accept_terms { position: relative !important; }
|
39 |
+
.sp-methods .form-list { padding-left: 0px !important; }
|
40 |
+
#checkout-review-table-wrapper { overflow-x: visible !important; }
|
41 |
+
.o2ti-osc-block { min-width: 290px !important; }
|