Version Notes
Update em livro de endereço
Download this release
Release Info
| Developer | O2TI |
| Extension | o2ti_moip |
| Version | 1.2.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.3 to 1.2.4
- MOIP_README.md +5 -1
- MOIP_SQL_MANUAL_INSTALATION.txt +26 -12
- app/code/local/O2TI/Moip/Block/Standard/Form.php +11 -7
- app/code/local/O2TI/Moip/Model/Api.php +101 -139
- app/code/local/O2TI/Moip/Model/Standard.php +2 -2
- app/code/local/O2TI/Moip/controllers/IndexController.php +1 -1
- app/code/local/O2TI/Moip/controllers/StandardController.php +3 -0
- app/code/local/O2TI/Onestepcheckout/Block/Checkout/Onepage/Billing.php +43 -17
- app/code/local/O2TI/Onestepcheckout/Block/Checkout/Onepage/Shipping.php +1 -1
- app/code/local/O2TI/Onestepcheckout/Block/Checkout/Onepage/Shippingmethod/Deliverydate.php +0 -9
- app/code/local/O2TI/Onestepcheckout/controllers/IndexController.php +144 -115
- app/code/local/O2TI/Onestepcheckout/controllers/TestController.php +1 -1
- app/design/frontend/base/default/layout/o2ti_moip.xml +6 -4
- app/design/frontend/base/default/layout/o2ti_onestepcheckout.xml +4 -9
- app/design/frontend/base/default/template/O2TI/moip/info.phtml +7 -7
- app/design/frontend/base/default/template/O2TI/moip/transferencia.phtml +1 -1
- app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard.phtml +9 -4
- app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/billing.phtml +17 -99
- app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/billing/billing_form.phtml +12 -6
- app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/login.phtml +2 -0
- app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/review/item.phtml +2 -2
- app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/shipping.phtml +9 -6
- app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/shipping/shipping_form.phtml +1 -1
- js/O2TI/onestepcheckout/billing.js +5 -5
- js/O2TI/onestepcheckout/change-events.js +52 -3
- package.xml +5 -5
- skin/frontend/base/default/O2TI/moip/css/bootstrap.css +1 -2
- skin/frontend/base/default/O2TI/onestepcheckout/css/onestepcheckout.css +5 -2
MOIP_README.md
CHANGED
|
@@ -1 +1,5 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Instalação e Suporte
|
| 2 |
+
|
| 3 |
+
Para Dúvidas Comuns Acesse: http://suporte.o2ti.com
|
| 4 |
+
Para Instalação do Módulo veja o Video: http://vimeo.com/58153143
|
| 5 |
+
Erro 404 Após a instalação : Deslogue-se do admin e logue-se novamente.
|
MOIP_SQL_MANUAL_INSTALATION.txt
CHANGED
|
@@ -1,15 +1,29 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
############# Atualizando o MoIP ################
|
| 15 |
vá em core_resource e apague a linha do moip, geralmente ficará na segunda página.
|
| 1 |
+
|
| 2 |
+
tabela o2ti * atenção para o uso do banco se possuir prefixo *
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
CREATE TABLE IF NOT EXISTS `o2ti_moip` (
|
| 6 |
+
`order_id` int(11) NOT NULL AUTO_INCREMENT,
|
| 7 |
+
`realorder_id` int(11) DEFAULT NULL,
|
| 8 |
+
`meio_pg` longtext DEFAULT NULL,
|
| 9 |
+
`key_payment` char(50) DEFAULT NULL,
|
| 10 |
+
`order_idmoip` char(50) DEFAULT NULL,
|
| 11 |
+
`customer_id` int(11) DEFAULT NULL,
|
| 12 |
+
`customer_idmoip` char(50) DEFAULT NULL,
|
| 13 |
+
`creditcard_parc` char(50) DEFAULT NULL,
|
| 14 |
+
`creditcard_idmoip` char(50) DEFAULT NULL,
|
| 15 |
+
`brand_moip` varchar(250) DEFAULT NULL,
|
| 16 |
+
`first6` int(11) DEFAULT NULL,
|
| 17 |
+
`last4` int(11) DEFAULT NULL,
|
| 18 |
+
`boleto_line` char(100) DEFAULT NULL,
|
| 19 |
+
`urlcheckout_pg` text DEFAULT NULL,
|
| 20 |
+
`fees` char(50) DEFAULT NULL,
|
| 21 |
+
`json_send` longtext DEFAULT NULL,
|
| 22 |
+
`token` varchar(250) DEFAULT NULL,
|
| 23 |
+
`status_token` varchar(250) DEFAULT NULL,
|
| 24 |
+
PRIMARY KEY (`order_id`)
|
| 25 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
|
| 26 |
+
|
| 27 |
|
| 28 |
############# Atualizando o MoIP ################
|
| 29 |
vá em core_resource e apague a linha do moip, geralmente ficará na segunda página.
|
app/code/local/O2TI/Moip/Block/Standard/Form.php
CHANGED
|
@@ -313,14 +313,18 @@ class O2TI_Moip_Block_Standard_Form extends Mage_Payment_Block_Form {
|
|
| 313 |
}
|
| 314 |
}
|
| 315 |
public function getTextoParcelas() {
|
| 316 |
-
$
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 321 |
}
|
| 322 |
-
}else {
|
| 323 |
-
return
|
| 324 |
}
|
| 325 |
}
|
| 326 |
|
| 313 |
}
|
| 314 |
}
|
| 315 |
public function getTextoParcelas() {
|
| 316 |
+
if( $tipo_parcelamento = Mage::getSingleton('moip/standard')->getConfigData('jurostipo') == 1){
|
| 317 |
+
$parcelamento = Mage::getSingleton('moip/standard')->getInfoParcelamento();
|
| 318 |
+
if ($parcelamento['c_juros1'] == 0) {
|
| 319 |
+
echo "<div id=\"addparcelasdesc\"> Sem juros até ".$parcelamento['c_ate1']." parcelas";
|
| 320 |
+
if ($parcelamento['ate1'] < 13) {
|
| 321 |
+
return ", após juros de 1,99% ao mês.</div>";
|
| 322 |
+
}
|
| 323 |
+
}else {
|
| 324 |
+
return "<div id=\"addparcelasdesc\"> Com juros de ".$parcelamento['c_juros1']."% ao mês.</div>";
|
| 325 |
}
|
| 326 |
+
} else {
|
| 327 |
+
return;
|
| 328 |
}
|
| 329 |
}
|
| 330 |
|
app/code/local/O2TI/Moip/Model/Api.php
CHANGED
|
@@ -24,55 +24,7 @@ class O2TI_Moip_Model_Api {
|
|
| 24 |
$this->ambiente = $ambiente;
|
| 25 |
}
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
if (ini_get('zend.ze1_compatibility_mode') == 1)
|
| 30 |
-
{
|
| 31 |
-
ini_set ('zend.ze1_compatibility_mode', 0);
|
| 32 |
-
}
|
| 33 |
-
// turn off compatibility mode as simple xml throws a wobbly if you don't.
|
| 34 |
-
|
| 35 |
-
if ($xml == null) {
|
| 36 |
-
$xml = new SimpleXmlElement('<?xml version="1.0" encoding="utf-8" ?><EnviarInstrucao></EnviarInstrucao>');
|
| 37 |
-
}
|
| 38 |
-
|
| 39 |
-
// loop through the data passed in.
|
| 40 |
-
foreach ($data as $key => $value) {
|
| 41 |
-
|
| 42 |
-
if (is_array($value)) {
|
| 43 |
-
$node = $xml->addChild($key);
|
| 44 |
-
$this->generateXml($value, $rootNodeName, $node);
|
| 45 |
-
} else {
|
| 46 |
-
$value = $this->decode($value);
|
| 47 |
-
$xml->addChild($key, $value);
|
| 48 |
-
}
|
| 49 |
-
}
|
| 50 |
-
$return = $this->convert_encoding($xml->asXML(), true);
|
| 51 |
-
|
| 52 |
-
return str_ireplace("\n", "", $return);
|
| 53 |
-
}
|
| 54 |
-
|
| 55 |
-
private function convert_encoding($text, $post = false) {
|
| 56 |
-
if ($post) {
|
| 57 |
-
return mb_convert_encoding($text, 'UTF-8');
|
| 58 |
-
} else {
|
| 59 |
-
/* No need to convert if its already in utf-8 */
|
| 60 |
-
if ($this->encoding === 'UTF-8') {
|
| 61 |
-
return $text;
|
| 62 |
-
}
|
| 63 |
-
$texto = mb_convert_encoding($text, $this->encoding, 'UTF-8');
|
| 64 |
-
return strtoupper($texto);
|
| 65 |
-
}
|
| 66 |
-
}
|
| 67 |
-
|
| 68 |
-
public function decode($string) {
|
| 69 |
-
|
| 70 |
-
$find = array('Á', 'á', 'Â', 'â', 'À', 'à', 'Å', 'å', 'Ã', 'ã', 'Ä', 'ä', 'Æ', 'æ', 'É', 'é', 'Ê', 'ê', 'È', 'è', 'Ë', 'ë', 'Ð', 'ð', 'Í', 'í', 'Î', 'î', 'Ì', 'ì', 'Ï', 'ï', 'Ó', 'ó', 'Ô', 'ô', 'Ç', 'Ò', 'ç', 'ò', 'Ø', 'Ñ', 'ø', 'ñ', 'Õ', 'õ', 'Ý', 'Ö', 'ý', 'ö', '"', 'Ú', '<', 'ú', '>', 'Û', '&', 'û', 'Ù', '®', 'ù', '©', 'Ó', 'Ü', 'Þ', 'ó', 'ü', 'þ', 'Ô', 'ß');
|
| 71 |
-
$replace = array('Á', 'á', 'Â', 'â', 'À', 'à', 'Å', 'å', 'Ã', 'ã', 'Ä', 'ä', 'Æ', 'æ', 'É', 'é', 'Ê', 'ê', 'È', 'è', 'Ë', 'ë', 'Ð', 'ð', 'Í', 'í', 'Î', 'î', 'Ì', 'ì', 'Ï', 'ï', 'Ó', 'ó', 'Ô', 'ô', 'Ç', 'Ò', 'ç', 'ò', 'Ø', 'Ñ', 'ø', 'ñ', 'Õ', 'õ', 'Ý', 'Ö', 'ý', 'ö', '"', 'Ú', '<', 'ú', '>', 'Û', '&', 'û', 'Ù', '®', 'ù', '©', 'Ó', 'Ü', 'Þ', 'ó', 'ü', 'þ', 'Ô', 'ß');
|
| 72 |
-
|
| 73 |
-
$decodedstring = str_replace($find, $replace, $string);
|
| 74 |
-
return $decodedstring;
|
| 75 |
-
}
|
| 76 |
|
| 77 |
public function generatePedido($data, $pgto) {
|
| 78 |
if($pgto['credito_parcelamento'] == ""){
|
|
@@ -88,69 +40,17 @@ class O2TI_Moip_Model_Api {
|
|
| 88 |
$valorcompra = $data['valor'];
|
| 89 |
$vcmentoboleto = $standard->getConfigData('vcmentoboleto');
|
| 90 |
$vcmento = date('c', strtotime("+" . $vcmentoboleto . " days"));
|
| 91 |
-
|
| 92 |
if($pgto['tipoderecebimento'] =="0"):
|
| 93 |
$tipoderecebimento = "Parcelado";
|
| 94 |
else:
|
| 95 |
$tipoderecebimento = "Avista";
|
| 96 |
endif;
|
| 97 |
$parcelamento = $standard->getInfoParcelamento();
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
if($tipo_parcelamento == 1){
|
| 101 |
-
|
| 102 |
-
$max_parcelas = $parcelamento['c_ate1'];
|
| 103 |
-
$min_parcelas = $parcelamento['c_de1'];
|
| 104 |
-
$juros = $parcelamento['c_juros1'];
|
| 105 |
-
|
| 106 |
-
if($max_parcelas == 12){
|
| 107 |
-
$pacelamento_xml = array(
|
| 108 |
-
'Parcelamento' => array(
|
| 109 |
-
'MinimoParcelas' => $min_parcelas,
|
| 110 |
-
'MaximoParcelas' => $max_parcelas,
|
| 111 |
-
'Recebimento'=>$tipoderecebimento,
|
| 112 |
-
'Juros' => $juros,
|
| 113 |
-
),
|
| 114 |
-
);
|
| 115 |
-
} else{
|
| 116 |
-
$pacelamento_xml = array(
|
| 117 |
-
'Parcelamento' => array(
|
| 118 |
-
'MinimoParcelas' => $min_parcelas,
|
| 119 |
-
'MaximoParcelas' => $max_parcelas,
|
| 120 |
-
'Recebimento'=>$tipoderecebimento,
|
| 121 |
-
'Juros' => $juros,
|
| 122 |
-
),
|
| 123 |
-
'Parcelamento' => array(
|
| 124 |
-
'MinimoParcelas' => $max_parcelas+1,
|
| 125 |
-
'MaximoParcelas' => '12',
|
| 126 |
-
'Recebimento'=>$tipoderecebimento,
|
| 127 |
-
'Juros' => '1.99',
|
| 128 |
-
),
|
| 129 |
-
);
|
| 130 |
-
}
|
| 131 |
-
} else {
|
| 132 |
-
$parcelas = array('');
|
| 133 |
-
for ($i=1; $i <= 12; $i++) {
|
| 134 |
-
$juros_parcela = 's_juros'.$i;
|
| 135 |
-
$parcelas[$i] = array('Parcelamento' => array(
|
| 136 |
-
'MinimoParcelas' => $i,
|
| 137 |
-
'MaximoParcelas' => $i+1,
|
| 138 |
-
'Juros' => $parcelamento[$juros_parcela],
|
| 139 |
-
'Repassar' => 'true',
|
| 140 |
-
),
|
| 141 |
-
);
|
| 142 |
-
if($i == 12){
|
| 143 |
-
for ($i=2; $i <= 12; $i++) {
|
| 144 |
-
$pacelamento_xml[$i] = $parcelas[$pgto['credito_parcelamento']];
|
| 145 |
-
}
|
| 146 |
-
}
|
| 147 |
|
| 148 |
-
|
| 149 |
-
$pacelamento_xml = end($pacelamento_xml);
|
| 150 |
|
| 151 |
-
}
|
| 152 |
-
|
| 153 |
-
|
| 154 |
|
| 155 |
if ($meio == "BoletoBancario"):
|
| 156 |
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/pagamento_boleto')):
|
|
@@ -169,7 +69,7 @@ class O2TI_Moip_Model_Api {
|
|
| 169 |
endif;
|
| 170 |
endif;
|
| 171 |
|
| 172 |
-
if ($
|
| 173 |
$valorcompra = $data['valor'];
|
| 174 |
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/transf_desc')):
|
| 175 |
if ($valorcompra >= Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor')):
|
|
@@ -191,41 +91,103 @@ class O2TI_Moip_Model_Api {
|
|
| 191 |
$alterapedido = rand(999999, 99999999);
|
| 192 |
else
|
| 193 |
$alterapedido = "";
|
| 194 |
-
|
| 195 |
-
'LoginMoIP' => $pgto['conta_moip'],
|
| 196 |
-
'Apelido' => $pgto['apelido'],
|
| 197 |
-
);
|
| 198 |
-
$addresses = array(
|
| 199 |
-
"Logradouro" => $data['pagador_logradouro'],
|
| 200 |
-
"Numero" => $data['pagador_complemento'],
|
| 201 |
-
"Complemento" => $data['pagador_complemento'],
|
| 202 |
-
"Bairro" => $data['pagador_bairro'],
|
| 203 |
-
"Cidade" => $data['pagador_cidade'],
|
| 204 |
-
"Estado" => $data['pagador_estado'],
|
| 205 |
-
"Pais" => 'BRA',
|
| 206 |
-
"CEP" => $data['pagador_cep'],
|
| 207 |
-
"TelefoneFixo" => $data['pagador_ddd'] . $data['pagador_telefone']
|
| 208 |
-
);
|
| 209 |
$id_proprio = $pgto['conta_moip'].'_'.$data['id_transacao'];
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 229 |
}
|
| 230 |
public function generateUrl($token) {
|
| 231 |
if ($this->getAmbiente() == "teste")
|
| 24 |
$this->ambiente = $ambiente;
|
| 25 |
}
|
| 26 |
|
| 27 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
public function generatePedido($data, $pgto) {
|
| 30 |
if($pgto['credito_parcelamento'] == ""){
|
| 40 |
$valorcompra = $data['valor'];
|
| 41 |
$vcmentoboleto = $standard->getConfigData('vcmentoboleto');
|
| 42 |
$vcmento = date('c', strtotime("+" . $vcmentoboleto . " days"));
|
| 43 |
+
|
| 44 |
if($pgto['tipoderecebimento'] =="0"):
|
| 45 |
$tipoderecebimento = "Parcelado";
|
| 46 |
else:
|
| 47 |
$tipoderecebimento = "Avista";
|
| 48 |
endif;
|
| 49 |
$parcelamento = $standard->getInfoParcelamento();
|
| 50 |
+
$tipo_parcelamento = Mage::getSingleton('moip/standard')->getConfigData('jurostipo');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
+
$comissionamento = Mage::getStoreConfig('o2tiall/mktplace/comissionamento');
|
|
|
|
| 53 |
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
if ($meio == "BoletoBancario"):
|
| 56 |
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/pagamento_boleto')):
|
| 69 |
endif;
|
| 70 |
endif;
|
| 71 |
|
| 72 |
+
if ($meio == "DebitoBancario"):
|
| 73 |
$valorcompra = $data['valor'];
|
| 74 |
if (Mage::getStoreConfig('o2tiall/pagamento_avancado/transf_desc')):
|
| 75 |
if ($valorcompra >= Mage::getStoreConfig('o2tiall/pagamento_avancado/boleto_valor')):
|
| 91 |
$alterapedido = rand(999999, 99999999);
|
| 92 |
else
|
| 93 |
$alterapedido = "";
|
| 94 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
$id_proprio = $pgto['conta_moip'].'_'.$data['id_transacao'];
|
| 96 |
+
|
| 97 |
+
# $xml = $this->generateXml($json);
|
| 98 |
+
$xml = new SimpleXMLElement('<?xml version = "1.0" encoding = "UTF-8"?><EnviarInstrucao/>');
|
| 99 |
+
$InstrucaoUnica = $xml->addChild('InstrucaoUnica');
|
| 100 |
+
$InstrucaoUnica->addAttribute('TipoValidacao', 'Transparente');
|
| 101 |
+
$InstrucaoUnica->addChild('Razao', 'Pagamento do Pedido #'.$data['id_transacao']);
|
| 102 |
+
$Valores = $InstrucaoUnica->addChild('Valores');
|
| 103 |
+
$Valor = $Valores->addChild('Valor', number_format($valorcompra, 2, '.', ''));
|
| 104 |
+
$Valor->addAttribute('moeda', 'BRL');
|
| 105 |
+
$Recebedor = $InstrucaoUnica->addChild('Recebedor');
|
| 106 |
+
$Recebedor->addChild('LoginMoIP', $pgto['conta_moip']);
|
| 107 |
+
$Recebedor->addChild('Apelido', $pgto['apelido']);
|
| 108 |
+
|
| 109 |
+
if($comissionamento){
|
| 110 |
+
$Comissoes = $InstrucaoUnica->addChild('Comissoes');
|
| 111 |
+
$Comissionamento = $Comissoes->addChild('Comissionamento');
|
| 112 |
+
$Comissionamento->addChild('Razao', 'Pagamento do Pedido #'.$data['id_transacao'].' da Loja '.$pgto['apelido']);
|
| 113 |
+
$Comissionado = $Comissionamento->addChild('Comissionado');
|
| 114 |
+
$Comissionado->addChild('LoginMoIP', Mage::getStoreConfig('o2tiall/mktplace/logincomissionamento'));
|
| 115 |
+
$Comissionamento->addChild('ValorPercentual', Mage::getStoreConfig('o2tiall/mktplace/porc_comissionamento'));
|
| 116 |
+
if(Mage::getStoreConfig('o2tiall/mktplace/pagadordataxa')){
|
| 117 |
+
$PagadorTaxa = $Comissoes->addChild('PagadorTaxa');
|
| 118 |
+
$PagadorTaxa->addChild('LoginMoIP',Mage::getStoreConfig('o2tiall/mktplace/logincomissionamento'));
|
| 119 |
+
}
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
$InstrucaoUnica->addChild('IdProprio', $id_proprio);
|
| 123 |
+
$Pagador = $InstrucaoUnica->addChild('Pagador');
|
| 124 |
+
$Pagador->addChild('Nome',$data['pagador_nome']);
|
| 125 |
+
$Pagador->addChild('Email',$data['pagador_email']);
|
| 126 |
+
$Pagador->addChild('IdPagador',$data['pagador_email']);
|
| 127 |
+
$EnderecoCobranca = $Pagador->addChild('EnderecoCobranca');
|
| 128 |
+
$EnderecoCobranca->addChild('Logradouro', $data['pagador_logradouro']);
|
| 129 |
+
$EnderecoCobranca->addChild('Numero', $data['pagador_complemento']);
|
| 130 |
+
$EnderecoCobranca->addChild('Complemento', $data['pagador_complemento']);
|
| 131 |
+
$EnderecoCobranca->addChild('Bairro', $data['pagador_bairro']);
|
| 132 |
+
$EnderecoCobranca->addChild('Cidade', $data['pagador_cidade']);
|
| 133 |
+
$EnderecoCobranca->addChild('Estado', $data['pagador_estado']);
|
| 134 |
+
$EnderecoCobranca->addChild('Pais', 'BRA');
|
| 135 |
+
$EnderecoCobranca->addChild('CEP', $data['pagador_cep']);
|
| 136 |
+
$EnderecoCobranca->addChild('TelefoneFixo', $data['pagador_ddd'] . $data['pagador_telefone']);
|
| 137 |
+
$Parcelamentos = $InstrucaoUnica->addChild('Parcelamentos', $vcmento);
|
| 138 |
+
if($tipo_parcelamento == 1){
|
| 139 |
+
$max_parcelas = $parcelamento['c_ate1'];
|
| 140 |
+
$min_parcelas = $parcelamento['c_de1'];
|
| 141 |
+
$juros = $parcelamento['c_juros1'];
|
| 142 |
+
if($max_parcelas == 12){
|
| 143 |
+
$Parcelamento = $Parcelamentos->addChild('Parcelamento');
|
| 144 |
+
$Parcelamento->addChild('MinimoParcelas',$min_parcelas);
|
| 145 |
+
$Parcelamento->addChild('MaximoParcelas',$max_parcelas);
|
| 146 |
+
$Parcelamento->addChild('Recebimento',$tipoderecebimento);
|
| 147 |
+
$Parcelamento->addChild('Juros',$juros);
|
| 148 |
+
} else{
|
| 149 |
+
$Parcelamento = $Parcelamentos->addChild('Parcelamento');
|
| 150 |
+
$Parcelamento->addChild('MinimoParcelas',$min_parcelas);
|
| 151 |
+
$Parcelamento->addChild('MaximoParcelas',$max_parcelas);
|
| 152 |
+
$Parcelamento->addChild('Recebimento',$tipoderecebimento);
|
| 153 |
+
$Parcelamento->addChild('Juros',$juros);
|
| 154 |
+
|
| 155 |
+
$Parcelamento = $Parcelamentos->addChild('Parcelamento');
|
| 156 |
+
$Parcelamento->addChild('MinimoParcelas',$max_parcelas+1);
|
| 157 |
+
$Parcelamento->addChild('MaximoParcelas',12);
|
| 158 |
+
$Parcelamento->addChild('Recebimento',$tipoderecebimento);
|
| 159 |
+
$Parcelamento->addChild('Juros',1.99);
|
| 160 |
+
}
|
| 161 |
+
} else {
|
| 162 |
+
for ($i=2; $i <= 12; $i++) {
|
| 163 |
+
$Parcelamento = $Parcelamentos->addChild('Parcelamento');
|
| 164 |
+
$juros_parcela = 's_juros'.$i;
|
| 165 |
+
$Parcelamento->addChild('MinimoParcelas',$i);
|
| 166 |
+
$Parcelamento->addChild('MaximoParcelas',$i);
|
| 167 |
+
$Parcelamento->addChild('Recebimento',$tipoderecebimento);
|
| 168 |
+
$Parcelamento->addChild('Juros',$parcelamento[$juros_parcela]);
|
| 169 |
+
$Parcelamento->addChild('Repassar','true');
|
| 170 |
+
}
|
| 171 |
+
}
|
| 172 |
+
$FormasPagamento = $InstrucaoUnica->addChild('FormasPagamento');
|
| 173 |
+
$FormasPagamento->addChild('FormaPagamento', 'CartaoCredito' );
|
| 174 |
+
$FormasPagamento->addChild('FormaPagamento', 'CartaoDebito' );
|
| 175 |
+
$FormasPagamento->addChild('FormaPagamento', 'DebitoBancario' );
|
| 176 |
+
$FormasPagamento->addChild('FormaPagamento', 'BoletoBancario' );
|
| 177 |
+
$FormasPagamento->addChild('FormaPagamento', 'FinanciamentoBancario');
|
| 178 |
+
if ($meio == "BoletoBancario"){
|
| 179 |
+
$Boleto_xml = $InstrucaoUnica->addChild('Boleto');
|
| 180 |
+
$Boleto_xml->addChild('Instrucao1', 'Pagamento do Pedido #'.$data['id_transacao']);
|
| 181 |
+
$Boleto_xml->addChild('Instrucao2', 'NÃO RECEBER APÓS O VENCIMENTO');
|
| 182 |
+
$Boleto_xml->addChild('Instrucao3', '+ Info em: '.Mage::getBaseUrl());
|
| 183 |
+
$Boleto_xml->addChild('DataVencimento');
|
| 184 |
+
}
|
| 185 |
+
$InstrucaoUnica->addChild('URLNotificacao', $url_retorno);
|
| 186 |
+
$request = $xml->asXML();
|
| 187 |
+
$request = utf8_decode($request);
|
| 188 |
+
$request = utf8_encode($request);
|
| 189 |
+
#var_dump($request); die();
|
| 190 |
+
return $request;
|
| 191 |
}
|
| 192 |
public function generateUrl($token) {
|
| 193 |
if ($this->getAmbiente() == "teste")
|
app/code/local/O2TI/Moip/Model/Standard.php
CHANGED
|
@@ -142,7 +142,7 @@ class O2TI_Moip_Model_Standard extends Mage_Payment_Model_Method_Abstract {
|
|
| 142 |
'peso_compra' => $this->getPesoProdutosPedido(),
|
| 143 |
'pagador_nome' => $a->getFirstname() . ' ' . $a->getLastname(),
|
| 144 |
//'pagador_email' => Mage::getSingleton('customer/session')->getCustomer()->getEmail(),// this is original code of Moip
|
| 145 |
-
'pagador_email' => $email,
|
| 146 |
'pagador_ddd' => $this->getNumberOrDDD($a->getTelephone(), true),
|
| 147 |
'pagador_telefone' => $this->getNumberOrDDD($a->getTelephone()),
|
| 148 |
'pagador_logradouro' => $a->getStreet(1),
|
|
@@ -158,7 +158,7 @@ class O2TI_Moip_Model_Standard extends Mage_Payment_Model_Method_Abstract {
|
|
| 158 |
'pagador_sexo' => '',
|
| 159 |
'pagador_data_nascimento' => $dob,
|
| 160 |
);
|
| 161 |
-
return
|
| 162 |
}
|
| 163 |
public function getInfoParcelamento() {
|
| 164 |
$config = array();
|
| 142 |
'peso_compra' => $this->getPesoProdutosPedido(),
|
| 143 |
'pagador_nome' => $a->getFirstname() . ' ' . $a->getLastname(),
|
| 144 |
//'pagador_email' => Mage::getSingleton('customer/session')->getCustomer()->getEmail(),// this is original code of Moip
|
| 145 |
+
'pagador_email' => strtolower($email),
|
| 146 |
'pagador_ddd' => $this->getNumberOrDDD($a->getTelephone(), true),
|
| 147 |
'pagador_telefone' => $this->getNumberOrDDD($a->getTelephone()),
|
| 148 |
'pagador_logradouro' => $a->getStreet(1),
|
| 158 |
'pagador_sexo' => '',
|
| 159 |
'pagador_data_nascimento' => $dob,
|
| 160 |
);
|
| 161 |
+
return $Arr;
|
| 162 |
}
|
| 163 |
public function getInfoParcelamento() {
|
| 164 |
$config = array();
|
app/code/local/O2TI/Moip/controllers/IndexController.php
CHANGED
|
@@ -54,7 +54,7 @@ class O2TI_Moip_IndexController extends Mage_Core_Controller_Front_Action
|
|
| 54 |
'Forma' => 'DebitoBancario',
|
| 55 |
'Instituicao' => $post['instituicao'],
|
| 56 |
);
|
| 57 |
-
|
| 58 |
} else {
|
| 59 |
|
| 60 |
$json = array(
|
| 54 |
'Forma' => 'DebitoBancario',
|
| 55 |
'Instituicao' => $post['instituicao'],
|
| 56 |
);
|
| 57 |
+
|
| 58 |
} else {
|
| 59 |
|
| 60 |
$json = array(
|
app/code/local/O2TI/Moip/controllers/StandardController.php
CHANGED
|
@@ -138,6 +138,9 @@ class O2TI_Moip_StandardController extends Mage_Core_Controller_Front_Action {
|
|
| 138 |
if($states_atual == 'processing'){
|
| 139 |
$naexecuta = 1;
|
| 140 |
}
|
|
|
|
|
|
|
|
|
|
| 141 |
Mage::log("Nasp acionou para o pedido ".$order_magento. " - Status - " .$data['status_pagamento'], null, 'O2TI_Moip.log', true);
|
| 142 |
if ($order->isCanceled() && $data['status_pagamento'] != "5") {
|
| 143 |
if (Mage::helper('sales/reorder')->canReorder($order)) {
|
| 138 |
if($states_atual == 'processing'){
|
| 139 |
$naexecuta = 1;
|
| 140 |
}
|
| 141 |
+
if($states_atual == 'canceled' && $data['status_pagamento']==5){
|
| 142 |
+
$naexecuta = 1;
|
| 143 |
+
}
|
| 144 |
Mage::log("Nasp acionou para o pedido ".$order_magento. " - Status - " .$data['status_pagamento'], null, 'O2TI_Moip.log', true);
|
| 145 |
if ($order->isCanceled() && $data['status_pagamento'] != "5") {
|
| 146 |
if (Mage::helper('sales/reorder')->canReorder($order)) {
|
app/code/local/O2TI/Onestepcheckout/Block/Checkout/Onepage/Billing.php
CHANGED
|
@@ -1,37 +1,63 @@
|
|
| 1 |
<?php
|
| 2 |
class O2TI_Onestepcheckout_Block_Checkout_Onepage_Billing extends Mage_Checkout_Block_Onepage_Billing
|
| 3 |
{
|
|
|
|
| 4 |
public function getCountryHtmlSelect($type)
|
| 5 |
{
|
| 6 |
-
|
|
|
|
| 7 |
|
| 8 |
-
if (is_null($countryId)){
|
| 9 |
-
if(Mage::getStoreConfig('onestepcheckout/config/enable_geoip')){
|
| 10 |
-
$countryId=Mage::registry('Countrycode');
|
| 11 |
-
}
|
| 12 |
-
elseif (Mage::getStoreConfig('onestepcheckout/config/default_country')) {
|
| 13 |
-
$countryId = Mage::getStoreConfig('onestepcheckout/config/default_country'); // xuat ra voi' default country duoc cau hinh trong onestepcheckout
|
| 14 |
-
}
|
| 15 |
-
else {
|
| 16 |
-
$countryId = Mage::getStoreConfig('general/country/default'); // xuat ra voi' default country duoc cau hinh trong GENERAL DEFAULT CUA MAGENTO
|
| 17 |
-
}
|
| 18 |
-
}
|
| 19 |
|
| 20 |
$select = $this->getLayout()->createBlock('core/html_select')
|
| 21 |
->setName($type.'[country_id]')
|
| 22 |
->setId($type.':country_id')
|
| 23 |
->setTitle(Mage::helper('checkout')->__('Country'))
|
| 24 |
->setClass('validate-select billing_country')
|
| 25 |
-
->setValue(
|
| 26 |
->setOptions($this->getCountryOptions());
|
| 27 |
-
|
| 28 |
-
$select->setExtraParams('onchange="shipping.setSameAsBilling(false);"');
|
| 29 |
-
}
|
| 30 |
return $select->getHtml();
|
| 31 |
|
| 32 |
}
|
| 33 |
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
}
|
| 1 |
<?php
|
| 2 |
class O2TI_Onestepcheckout_Block_Checkout_Onepage_Billing extends Mage_Checkout_Block_Onepage_Billing
|
| 3 |
{
|
| 4 |
+
|
| 5 |
public function getCountryHtmlSelect($type)
|
| 6 |
{
|
| 7 |
+
|
| 8 |
+
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
$select = $this->getLayout()->createBlock('core/html_select')
|
| 12 |
->setName($type.'[country_id]')
|
| 13 |
->setId($type.':country_id')
|
| 14 |
->setTitle(Mage::helper('checkout')->__('Country'))
|
| 15 |
->setClass('validate-select billing_country')
|
| 16 |
+
->setValue("BR")
|
| 17 |
->setOptions($this->getCountryOptions());
|
| 18 |
+
|
|
|
|
|
|
|
| 19 |
return $select->getHtml();
|
| 20 |
|
| 21 |
}
|
| 22 |
|
| 23 |
+
public function getAddressesHtmlSelect22($type)
|
| 24 |
+
{
|
| 25 |
+
|
| 26 |
+
if ($this->isCustomerLoggedIn()) {
|
| 27 |
+
$options = array();
|
| 28 |
+
foreach ($this->getCustomer()->getAddresses() as $address) {
|
| 29 |
+
$options[] = array(
|
| 30 |
+
'value'=>$address->getId(),
|
| 31 |
+
'label'=>$address->format('oneline')
|
| 32 |
+
);
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
$addressId = $this->getAddress()->getId();
|
| 36 |
+
if (empty($addressId)) {
|
| 37 |
+
if ($type=='billing') {
|
| 38 |
+
$address = $this->getCustomer()->getPrimaryBillingAddress();
|
| 39 |
+
} else {
|
| 40 |
+
$address = $this->getCustomer()->getPrimaryShippingAddress();
|
| 41 |
+
}
|
| 42 |
+
if ($address) {
|
| 43 |
+
$addressId = $address->getId();
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
$select = $this->getLayout()->createBlock('core/html_select')
|
| 48 |
+
->setName($type.'_address_id')
|
| 49 |
+
->setId($type.'-address-select')
|
| 50 |
+
->setClass('address-select')
|
| 51 |
+
->setExtraParams('')
|
| 52 |
+
->setValue($addressId)
|
| 53 |
+
->setOptions($options);
|
| 54 |
+
|
| 55 |
+
$select->addOption('', Mage::helper('checkout')->__('Salvar um novo endereço'));
|
| 56 |
+
|
| 57 |
+
return $select->getHtml();
|
| 58 |
+
}
|
| 59 |
+
return '';
|
| 60 |
+
}
|
| 61 |
|
| 62 |
|
| 63 |
}
|
app/code/local/O2TI/Onestepcheckout/Block/Checkout/Onepage/Shipping.php
CHANGED
|
@@ -3,7 +3,7 @@ class O2TI_Onestepcheckout_Block_Checkout_Onepage_Shipping extends Mage_Checkout
|
|
| 3 |
{
|
| 4 |
public function getAddressesHtmlSelect($type)
|
| 5 |
{
|
| 6 |
-
|
| 7 |
if ($this->isCustomerLoggedIn()) {
|
| 8 |
$options = array();
|
| 9 |
foreach ($this->getCustomer()->getAddresses() as $address) {
|
| 3 |
{
|
| 4 |
public function getAddressesHtmlSelect($type)
|
| 5 |
{
|
| 6 |
+
|
| 7 |
if ($this->isCustomerLoggedIn()) {
|
| 8 |
$options = array();
|
| 9 |
foreach ($this->getCustomer()->getAddresses() as $address) {
|
app/code/local/O2TI/Onestepcheckout/Block/Checkout/Onepage/Shippingmethod/Deliverydate.php
DELETED
|
@@ -1,9 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
class O2TI_Onestepcheckout_Block_Checkout_Onepage_Shippingmethod_Deliverydate extends Mage_Core_Block_Template
|
| 3 |
-
{
|
| 4 |
-
public function _prepareLayout()
|
| 5 |
-
{
|
| 6 |
-
return parent::_prepareLayout();
|
| 7 |
-
}
|
| 8 |
-
|
| 9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/O2TI/Onestepcheckout/controllers/IndexController.php
CHANGED
|
@@ -16,24 +16,19 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 16 |
return Mage::getSingleton('checkout/cart')->getQuote();
|
| 17 |
}
|
| 18 |
public function indexAction() {
|
| 19 |
-
|
| 20 |
-
if (!Mage::getStoreConfig('onestepcheckout/config/allowguestcheckout')
|
| 21 |
if (!Mage::getSingleton('customer/session')->isLoggedIn()) {
|
| 22 |
$this->_redirect('customer/account/login');
|
| 23 |
return;
|
| 24 |
}
|
| 25 |
}
|
| 26 |
if ($this->_initAction()) {
|
| 27 |
-
|
| 28 |
if ($blocks=$this->getLayout()->getBlock('checkout.onepage')) {
|
| 29 |
$blocks=$this->getLayout()->getBlock('checkout.onepage')->unsetChildren();
|
| 30 |
}
|
| 31 |
-
|
| 32 |
-
else {
|
| 33 |
-
$blocks=$this->getLayout()->getBlock('content')->unsetChild('onestepcheckout.daskboard');
|
| 34 |
-
$skin=$this->getLayout()->getBlock('head')->unsetChild('onestepcheckout.head');
|
| 35 |
-
$template=$this->getLayout()->getBlock('root')->setTemplate('page/2columns-right.phtml');
|
| 36 |
-
}
|
| 37 |
$this->renderLayout();
|
| 38 |
}
|
| 39 |
else
|
|
@@ -57,8 +52,9 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 57 |
}
|
| 58 |
Mage::getSingleton('checkout/session')->setCartWasUpdated(false);
|
| 59 |
Mage::getSingleton('customer/session')->setBeforeAuthUrl(Mage::getUrl('*/*/*', array('_secure'=>true)));
|
| 60 |
-
$this->getOnepage()->initCheckout();
|
| 61 |
$this->initInfoaddress();
|
|
|
|
|
|
|
| 62 |
$defaultpaymentmethod=$this->initpaymentmethod();
|
| 63 |
if ($defaultpaymentmethod) {
|
| 64 |
try{
|
|
@@ -162,33 +158,20 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 162 |
}
|
| 163 |
public function initInfoaddress() {
|
| 164 |
$coutryid='';$postcode='';$region='';$regionid='';$city='';$customerAddressId='';
|
| 165 |
-
$
|
| 166 |
-
|
| 167 |
-
$coutryid=Mage::registry('Countrycode');
|
| 168 |
-
$postcode=Mage::registry('Zipcode');
|
| 169 |
-
$region=Mage::registry('Regionname');
|
| 170 |
-
if (Mage::getModel('customer/address_abstract')->getRegionModel(Mage::registry('Regioncode')))
|
| 171 |
-
$regionid=Mage::registry('Regioncode');
|
| 172 |
-
$city=Mage::registry('City');
|
| 173 |
-
}
|
| 174 |
-
elseif (Mage::getStoreConfig('onestepcheckout/config/default_country')) {
|
| 175 |
-
$coutryid = Mage::getStoreConfig('onestepcheckout/config/default_country');
|
| 176 |
-
}
|
| 177 |
-
else {
|
| 178 |
-
$coutryid = Mage::getStoreConfig('general/country/default');
|
| 179 |
-
}
|
| 180 |
$postData=array(
|
| 181 |
'address_id'=>'',
|
| 182 |
'firstname'=>'',
|
| 183 |
'lastname'=>'',
|
| 184 |
'company'=>'',
|
| 185 |
'email'=>'',
|
| 186 |
-
'street'=>array('', ''),
|
| 187 |
-
'city'
|
| 188 |
-
'region_id'
|
| 189 |
-
'region'
|
| 190 |
-
'postcode'
|
| 191 |
-
'country_id'
|
| 192 |
'telephone'=>'',
|
| 193 |
'fax'=>'',
|
| 194 |
'save_in_address_book'=>'0'
|
|
@@ -196,19 +179,26 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 196 |
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
| 197 |
$customerAddressId =Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling();
|
| 198 |
}
|
| 199 |
-
|
| 200 |
$postData = $this->filterdata($postData);
|
| 201 |
-
if (version_compare(Mage::getVersion(), '1.4.0.1', '>='))
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
if (isset($data['email'])) {
|
| 206 |
-
$data['email'] = trim($data['email']);
|
| 207 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
$this->saveBilling($data, $customerAddressId);
|
| 209 |
$this->saveShipping($data, $customerAddressId);
|
| 210 |
}
|
| 211 |
else {
|
|
|
|
| 212 |
$this->_getQuote()->getShippingAddress()
|
| 213 |
->setCountryId('')
|
| 214 |
->setPostcode('')
|
|
@@ -217,6 +207,7 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 217 |
$this->loadLayout()->renderLayout();
|
| 218 |
return;
|
| 219 |
}
|
|
|
|
| 220 |
}
|
| 221 |
public function saveShipping($data, $customerAddressId) {
|
| 222 |
if (empty($data)) {
|
|
@@ -537,34 +528,16 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 537 |
}
|
| 538 |
|
| 539 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 540 |
|
| 541 |
$this->loadLayout()->renderLayout();
|
| 542 |
}
|
| 543 |
-
|
| 544 |
-
$dateisnow=$this->getRequest()->getPost('now');
|
| 545 |
-
$starttime=$this->getRequest()->getPost('stime');
|
| 546 |
-
$starray=explode(":", $starttime);
|
| 547 |
-
$count_stimetominutes=$starray[0]*60+$starray[1];
|
| 548 |
-
$endtime=$this->getRequest()->getPost('etime');
|
| 549 |
-
$etarray=explode(":", $endtime);
|
| 550 |
-
$count_etimetominutes=$etarray[0]*60+$etarray[1];
|
| 551 |
-
$count_timenow=date("G", Mage::getModel("core/date")->timestamp(time()))*60+date("i", Mage::getModel("core/date")->timestamp(time()));
|
| 552 |
-
if ($dateisnow) {
|
| 553 |
-
if ($count_timenow>=$count_stimetominutes) {
|
| 554 |
-
if ($count_timenow<$count_etimetominutes) {
|
| 555 |
-
echo date("G", Mage::getModel("core/date")->timestamp(time())).":".date("i", Mage::getModel("core/date")->timestamp(time()));
|
| 556 |
-
}
|
| 557 |
-
else {
|
| 558 |
-
echo "";
|
| 559 |
-
}
|
| 560 |
-
}
|
| 561 |
-
else {
|
| 562 |
-
echo $starttime;
|
| 563 |
-
}
|
| 564 |
-
}
|
| 565 |
-
else
|
| 566 |
-
echo $starttime;
|
| 567 |
-
}
|
| 568 |
public function _getSession() {
|
| 569 |
Mage::getSingleton('customer/session');
|
| 570 |
}
|
|
@@ -686,12 +659,10 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 686 |
}
|
| 687 |
$request_data = Mage::app()->getRequest()->getPost();
|
| 688 |
|
|
|
|
|
|
|
| 689 |
|
| 690 |
|
| 691 |
-
|
| 692 |
-
$customerAddressId = "";
|
| 693 |
-
|
| 694 |
-
|
| 695 |
if (isset($data_save_billing['email'])) {
|
| 696 |
$data_save_billing['email'] = trim($data_save_billing['email']);
|
| 697 |
}
|
|
@@ -815,7 +786,7 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 815 |
'city'=>'n/a',
|
| 816 |
'region_id'=>'n/a',
|
| 817 |
'region'=>'n/a' ,
|
| 818 |
-
'postcode'=>'
|
| 819 |
'country_id'=>'n/a',
|
| 820 |
'telephone'=>'n/a',
|
| 821 |
'fax'=>'n/a',
|
|
@@ -910,8 +881,30 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 910 |
}
|
| 911 |
else {
|
| 912 |
$street=$value;
|
| 913 |
-
|
| 914 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 915 |
}
|
| 916 |
}
|
| 917 |
return $filterdata;
|
|
@@ -921,8 +914,7 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 921 |
return Mage::getSingleton('customer/session')->isLoggedIn();
|
| 922 |
}
|
| 923 |
|
| 924 |
-
|
| 925 |
-
}
|
| 926 |
public function savesubscibe($mail) {
|
| 927 |
if ($mail) {
|
| 928 |
if (version_compare(Mage::getVersion(), '1.3.2.4', '>')) {
|
|
@@ -1040,52 +1032,89 @@ class O2TI_Onestepcheckout_IndexController extends Mage_Checkout_OnepageControll
|
|
| 1040 |
else {
|
| 1041 |
|
| 1042 |
}
|
|
|
|
| 1043 |
}
|
| 1044 |
-
|
| 1045 |
}
|
| 1046 |
-
|
| 1047 |
-
|
| 1048 |
-
|
| 1049 |
-
|
| 1050 |
-
|
| 1051 |
-
|
| 1052 |
-
|
| 1053 |
-
|
| 1054 |
-
|
| 1055 |
-
$existsAddress = $customer->getAddressById($addressId);
|
| 1056 |
-
if ($existsAddress->getId() && $existsAddress->getCustomerId() == $customer->getId()) {
|
| 1057 |
-
$address->setId($existsAddress->getId());
|
| 1058 |
-
}
|
| 1059 |
-
$errors = array();
|
| 1060 |
-
$addressForm = Mage::getModel('customer/form');
|
| 1061 |
-
$addressForm->setFormCode('customer_address_edit')
|
| 1062 |
-
->setEntity($address);
|
| 1063 |
-
$addressData = $this->getRequest()->getPost($type, array());
|
| 1064 |
-
$addressErrors = $addressForm->validateData($addressData);
|
| 1065 |
-
if ($addressErrors !== true) {
|
| 1066 |
-
$errors = $addressErrors;
|
| 1067 |
-
}
|
| 1068 |
-
|
| 1069 |
-
try {
|
| 1070 |
-
$addressForm->compactData($addressData);
|
| 1071 |
-
$address->setCustomerId($customer->getId())
|
| 1072 |
-
->setIsDefaultBilling($this->getRequest()->getParam('default_billing', false))
|
| 1073 |
-
->setIsDefaultShipping($this->getRequest()->getParam('default_shipping', false));
|
| 1074 |
|
| 1075 |
-
|
| 1076 |
-
|
| 1077 |
-
if ($addressErrors !== true) {
|
| 1078 |
-
$errors = array_merge($errors, $addressErrors);
|
| 1079 |
-
}
|
| 1080 |
|
| 1081 |
-
|
| 1082 |
-
|
| 1083 |
-
|
| 1084 |
-
|
| 1085 |
-
|
| 1086 |
-
|
| 1087 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1088 |
|
| 1089 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1090 |
}
|
| 1091 |
-
|
|
|
|
|
|
| 16 |
return Mage::getSingleton('checkout/cart')->getQuote();
|
| 17 |
}
|
| 18 |
public function indexAction() {
|
| 19 |
+
|
| 20 |
+
if (!Mage::getStoreConfig('onestepcheckout/config/allowguestcheckout')) {
|
| 21 |
if (!Mage::getSingleton('customer/session')->isLoggedIn()) {
|
| 22 |
$this->_redirect('customer/account/login');
|
| 23 |
return;
|
| 24 |
}
|
| 25 |
}
|
| 26 |
if ($this->_initAction()) {
|
| 27 |
+
|
| 28 |
if ($blocks=$this->getLayout()->getBlock('checkout.onepage')) {
|
| 29 |
$blocks=$this->getLayout()->getBlock('checkout.onepage')->unsetChildren();
|
| 30 |
}
|
| 31 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
$this->renderLayout();
|
| 33 |
}
|
| 34 |
else
|
| 52 |
}
|
| 53 |
Mage::getSingleton('checkout/session')->setCartWasUpdated(false);
|
| 54 |
Mage::getSingleton('customer/session')->setBeforeAuthUrl(Mage::getUrl('*/*/*', array('_secure'=>true)));
|
|
|
|
| 55 |
$this->initInfoaddress();
|
| 56 |
+
$this->getOnepage()->initCheckout();
|
| 57 |
+
|
| 58 |
$defaultpaymentmethod=$this->initpaymentmethod();
|
| 59 |
if ($defaultpaymentmethod) {
|
| 60 |
try{
|
| 158 |
}
|
| 159 |
public function initInfoaddress() {
|
| 160 |
$coutryid='';$postcode='';$region='';$regionid='';$city='';$customerAddressId='';
|
| 161 |
+
$coutryid = 'BR';
|
| 162 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
$postData=array(
|
| 164 |
'address_id'=>'',
|
| 165 |
'firstname'=>'',
|
| 166 |
'lastname'=>'',
|
| 167 |
'company'=>'',
|
| 168 |
'email'=>'',
|
| 169 |
+
'street'=>array('', '', '', ''),
|
| 170 |
+
'city'=>'',
|
| 171 |
+
'region_id'=>'',
|
| 172 |
+
'region'=>'',
|
| 173 |
+
'postcode'=>'00000-000',
|
| 174 |
+
'country_id'=>'BR',
|
| 175 |
'telephone'=>'',
|
| 176 |
'fax'=>'',
|
| 177 |
'save_in_address_book'=>'0'
|
| 179 |
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
| 180 |
$customerAddressId =Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling();
|
| 181 |
}
|
| 182 |
+
|
| 183 |
$postData = $this->filterdata($postData);
|
| 184 |
+
if (version_compare(Mage::getVersion(), '1.4.0.1', '>=')){
|
| 185 |
+
if (isset($postData['email']))
|
| 186 |
+
$postData['email'] = trim($postData['email']);
|
| 187 |
+
$data = $this->_filterPostData($postData);
|
|
|
|
|
|
|
| 188 |
}
|
| 189 |
+
|
| 190 |
+
else{
|
| 191 |
+
if (isset($postData['email']))
|
| 192 |
+
$postData['email'] = trim($postData['email']);
|
| 193 |
+
$data=$postData;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
if (($postData['country_id']!='') || $customerAddressId) {
|
| 197 |
$this->saveBilling($data, $customerAddressId);
|
| 198 |
$this->saveShipping($data, $customerAddressId);
|
| 199 |
}
|
| 200 |
else {
|
| 201 |
+
|
| 202 |
$this->_getQuote()->getShippingAddress()
|
| 203 |
->setCountryId('')
|
| 204 |
->setPostcode('')
|
| 207 |
$this->loadLayout()->renderLayout();
|
| 208 |
return;
|
| 209 |
}
|
| 210 |
+
|
| 211 |
}
|
| 212 |
public function saveShipping($data, $customerAddressId) {
|
| 213 |
if (empty($data)) {
|
| 528 |
}
|
| 529 |
|
| 530 |
}
|
| 531 |
+
$this->_getQuote()->getShippingAddress()
|
| 532 |
+
->setCountryId('BR')
|
| 533 |
+
->setPostcode($postData['postcode'])
|
| 534 |
+
->setCollectShippingRates(true);
|
| 535 |
+
$this->_getQuote()->save();
|
| 536 |
+
|
| 537 |
|
| 538 |
$this->loadLayout()->renderLayout();
|
| 539 |
}
|
| 540 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 541 |
public function _getSession() {
|
| 542 |
Mage::getSingleton('customer/session');
|
| 543 |
}
|
| 659 |
}
|
| 660 |
$request_data = Mage::app()->getRequest()->getPost();
|
| 661 |
|
| 662 |
+
|
| 663 |
+
$customerAddressId = "";
|
| 664 |
|
| 665 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 666 |
if (isset($data_save_billing['email'])) {
|
| 667 |
$data_save_billing['email'] = trim($data_save_billing['email']);
|
| 668 |
}
|
| 786 |
'city'=>'n/a',
|
| 787 |
'region_id'=>'n/a',
|
| 788 |
'region'=>'n/a' ,
|
| 789 |
+
'postcode'=>'n/a',
|
| 790 |
'country_id'=>'n/a',
|
| 791 |
'telephone'=>'n/a',
|
| 792 |
'fax'=>'n/a',
|
| 881 |
}
|
| 882 |
else {
|
| 883 |
$street=$value;
|
| 884 |
+
|
| 885 |
+
if (isset($street[0])){
|
| 886 |
+
|
| 887 |
+
if(isset($street[1]) || $street[1] =="."){
|
| 888 |
+
$street_1 = $street[1];
|
| 889 |
+
} else {
|
| 890 |
+
$street_2 = "";
|
| 891 |
+
}
|
| 892 |
+
|
| 893 |
+
if(isset($street[2])){
|
| 894 |
+
$street_2 = $street[2];
|
| 895 |
+
} else {
|
| 896 |
+
$street_2 = "";
|
| 897 |
+
}
|
| 898 |
+
if(isset($street[3])){
|
| 899 |
+
$street_3 = $street[3];
|
| 900 |
+
} else {
|
| 901 |
+
$street_3 = "";
|
| 902 |
+
}
|
| 903 |
+
|
| 904 |
+
|
| 905 |
+
$filterdata[$item]=array($street[0], $street_1,$street_2,$street_3);
|
| 906 |
+
}
|
| 907 |
+
|
| 908 |
}
|
| 909 |
}
|
| 910 |
return $filterdata;
|
| 914 |
return Mage::getSingleton('customer/session')->isLoggedIn();
|
| 915 |
}
|
| 916 |
|
| 917 |
+
|
|
|
|
| 918 |
public function savesubscibe($mail) {
|
| 919 |
if ($mail) {
|
| 920 |
if (version_compare(Mage::getVersion(), '1.3.2.4', '>')) {
|
| 1032 |
else {
|
| 1033 |
|
| 1034 |
}
|
| 1035 |
+
$this->loadLayout()->renderLayout();
|
| 1036 |
}
|
| 1037 |
+
|
| 1038 |
}
|
| 1039 |
+
public function saveAddress($type,$data)
|
| 1040 |
+
{
|
| 1041 |
+
|
| 1042 |
+
$save_in_address_book = $data['save_in_address_book'];
|
| 1043 |
+
$addressId = $this->getRequest()->getPost($type.'_address_id');
|
| 1044 |
+
|
| 1045 |
+
|
| 1046 |
+
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
| 1047 |
+
$address = Mage::getModel('customer/address');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1048 |
|
| 1049 |
+
if($save_in_address_book && $addressId != "")
|
| 1050 |
+
{
|
|
|
|
|
|
|
|
|
|
| 1051 |
|
| 1052 |
+
// Save data
|
| 1053 |
+
|
| 1054 |
+
|
| 1055 |
+
if ($addressId) {
|
| 1056 |
+
$existsAddress = $customer->getAddressById($addressId);
|
| 1057 |
+
if ($existsAddress->getId() && $existsAddress->getCustomerId() == $customer->getId()) {
|
| 1058 |
+
$address->setId($existsAddress->getId());
|
| 1059 |
+
}
|
| 1060 |
+
$errors = array();
|
| 1061 |
+
/* @var $addressForm Mage_Customer_Model_Form */
|
| 1062 |
+
$addressForm = Mage::getModel('customer/form');
|
| 1063 |
+
$addressForm->setFormCode('customer_address_edit')
|
| 1064 |
+
->setEntity($address);
|
| 1065 |
+
$addressData = $this->getRequest()->getPost($type, array());//$addressForm->extractData($this->getRequest());
|
| 1066 |
+
$addressErrors = $addressForm->validateData($addressData);
|
| 1067 |
+
|
| 1068 |
+
if ($addressErrors !== true) {
|
| 1069 |
+
$errors = $addressErrors;
|
| 1070 |
+
}
|
| 1071 |
+
|
| 1072 |
+
try {
|
| 1073 |
+
$addressForm->compactData($addressData);
|
| 1074 |
+
$address->setCustomerId($customer->getId())
|
| 1075 |
+
->setIsDefaultBilling($this->getRequest()->getParam('default_billing', false))
|
| 1076 |
+
->setIsDefaultShipping($this->getRequest()->getParam('default_shipping', false)) ;
|
| 1077 |
+
|
| 1078 |
+
$addressErrors = $address->validate();
|
| 1079 |
+
|
| 1080 |
+
if ($addressErrors !== true) {
|
| 1081 |
+
$errors = array_merge($errors, $addressErrors);
|
| 1082 |
+
}
|
| 1083 |
+
|
| 1084 |
+
if (count($errors) === 0) {
|
| 1085 |
+
$address->save();
|
| 1086 |
+
|
| 1087 |
+
} else {
|
| 1088 |
+
|
| 1089 |
+
}
|
| 1090 |
+
} catch (Mage_Core_Exception $e) {
|
| 1091 |
+
Zend_Debug::dump($ex->getMessage());
|
| 1092 |
+
}
|
| 1093 |
+
}
|
| 1094 |
+
|
| 1095 |
+
}
|
| 1096 |
+
|
| 1097 |
|
| 1098 |
+
if(Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()) {
|
| 1099 |
+
|
| 1100 |
+
|
| 1101 |
+
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
| 1102 |
+
$customAddress = Mage::getModel('customer/address');
|
| 1103 |
+
$addressData = $this->getRequest()->getPost($type, array());
|
| 1104 |
+
$customAddress->setData($addressData)
|
| 1105 |
+
->setCustomerId($customer->getId())
|
| 1106 |
+
->setIsDefaultBilling($this->getRequest()->getParam('default_billing', false))
|
| 1107 |
+
->setIsDefaultShipping($this->getRequest()->getParam('default_shipping', false))
|
| 1108 |
+
->setSaveInAddressBook('1');
|
| 1109 |
+
try {
|
| 1110 |
+
$customAddress->save();
|
| 1111 |
+
}
|
| 1112 |
+
catch (Exception $ex) {
|
| 1113 |
+
Zend_Debug::dump($ex->getMessage());
|
| 1114 |
+
}
|
| 1115 |
+
|
| 1116 |
+
}
|
| 1117 |
}
|
| 1118 |
+
|
| 1119 |
+
|
| 1120 |
+
}
|
app/code/local/O2TI/Onestepcheckout/controllers/TestController.php
CHANGED
|
@@ -3,6 +3,6 @@ class O2TI_Onestepcheckout_TestController extends Mage_Core_Controller_Front_Act
|
|
| 3 |
{
|
| 4 |
public function indexAction()
|
| 5 |
{
|
| 6 |
-
|
| 7 |
}
|
| 8 |
}
|
| 3 |
{
|
| 4 |
public function indexAction()
|
| 5 |
{
|
| 6 |
+
# echo Mage::getUrl('onestepcheckout/index/updatebillingform');
|
| 7 |
}
|
| 8 |
}
|
app/design/frontend/base/default/layout/o2ti_moip.xml
CHANGED
|
@@ -21,9 +21,10 @@
|
|
| 21 |
<action method="addJs"><script>O2TI/moip/checkout.js</script></action>
|
| 22 |
</reference>
|
| 23 |
</checkout_onepage_index>
|
| 24 |
-
<moip_standard_redirect>
|
| 25 |
-
|
| 26 |
<reference name="head">
|
|
|
|
| 27 |
<action method="addJs"><script>O2TI/jquery.js</script></action>
|
| 28 |
<action method="addJs"><script>O2TI/jquery_noconflict.js</script></action>
|
| 29 |
<action method="addJs"><script>O2TI/moip/bootstrap.min.js</script></action>
|
|
@@ -34,6 +35,7 @@
|
|
| 34 |
|
| 35 |
</reference>
|
| 36 |
<reference name="root">
|
|
|
|
| 37 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
| 38 |
</reference>
|
| 39 |
<reference name="left">
|
|
@@ -74,8 +76,8 @@
|
|
| 74 |
<action method="addJs"><script>O2TI/jquery_noconflict.js</script></action>
|
| 75 |
<action method="addJs"><script>O2TI/moip/bootstrap.min.js</script></action>
|
| 76 |
<action method="addJs"><script>O2TI/moip/bootstrap-modal.js</script></action>
|
| 77 |
-
<action method="addJs"><script>O2TI/
|
| 78 |
-
<action method="addJs"><script>O2TI/
|
| 79 |
<action method="addCss"><stylesheet>O2TI/moip/css/bootstrap.css</stylesheet></action>
|
| 80 |
</reference>
|
| 81 |
</sales_order_view>
|
| 21 |
<action method="addJs"><script>O2TI/moip/checkout.js</script></action>
|
| 22 |
</reference>
|
| 23 |
</checkout_onepage_index>
|
| 24 |
+
<moip_standard_redirect translate="label">
|
| 25 |
+
|
| 26 |
<reference name="head">
|
| 27 |
+
<action method="setTitle"><params><![CDATA[Pagamento via MoIP S/A]]></params></action>
|
| 28 |
<action method="addJs"><script>O2TI/jquery.js</script></action>
|
| 29 |
<action method="addJs"><script>O2TI/jquery_noconflict.js</script></action>
|
| 30 |
<action method="addJs"><script>O2TI/moip/bootstrap.min.js</script></action>
|
| 35 |
|
| 36 |
</reference>
|
| 37 |
<reference name="root">
|
| 38 |
+
|
| 39 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
| 40 |
</reference>
|
| 41 |
<reference name="left">
|
| 76 |
<action method="addJs"><script>O2TI/jquery_noconflict.js</script></action>
|
| 77 |
<action method="addJs"><script>O2TI/moip/bootstrap.min.js</script></action>
|
| 78 |
<action method="addJs"><script>O2TI/moip/bootstrap-modal.js</script></action>
|
| 79 |
+
<action method="addJs"><script>O2TI/novamascara.js</script></action>
|
| 80 |
+
<action method="addJs"><script>O2TI/validacao.js</script></action>
|
| 81 |
<action method="addCss"><stylesheet>O2TI/moip/css/bootstrap.css</stylesheet></action>
|
| 82 |
</reference>
|
| 83 |
</sales_order_view>
|
app/design/frontend/base/default/layout/o2ti_onestepcheckout.xml
CHANGED
|
@@ -112,20 +112,15 @@ ou use <type>js</type> caso o js da pasta pasta_da_loja/js
|
|
| 112 |
<block type="checkout/onepage_payment_methods" name="root" template="O2TI/onestepcheckout/daskboard/onepage/payment/methods.phtml"/>
|
| 113 |
</reference>
|
| 114 |
</onestepcheckout_index_updatepaymenttype>
|
| 115 |
-
<onestepcheckout_index_updatebillingform>
|
| 116 |
-
<reference name="root">
|
| 117 |
-
<action method="setTemplate"><template>O2TI/onestepcheckout/emptyupdate.phtml</template></action>
|
| 118 |
-
</reference>
|
| 119 |
|
| 120 |
-
|
| 121 |
-
<onestepcheckout_index_updatebilling_formform>
|
| 122 |
<reference name="root">
|
| 123 |
<action method="setTemplate"><template>O2TI/onestepcheckout/emptyupdate.phtml</template></action>
|
| 124 |
</reference>
|
| 125 |
<reference name="content">
|
| 126 |
-
|
| 127 |
-
</reference>
|
| 128 |
-
</
|
| 129 |
<sales_order_view>
|
| 130 |
<reference name="sales.order.info">
|
| 131 |
<action method="setTemplate"><template>O2TI/onestepcheckout/sales/order/info.phtml</template></action>
|
| 112 |
<block type="checkout/onepage_payment_methods" name="root" template="O2TI/onestepcheckout/daskboard/onepage/payment/methods.phtml"/>
|
| 113 |
</reference>
|
| 114 |
</onestepcheckout_index_updatepaymenttype>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
+
<onestepcheckout_index_updatebillingform>
|
|
|
|
| 117 |
<reference name="root">
|
| 118 |
<action method="setTemplate"><template>O2TI/onestepcheckout/emptyupdate.phtml</template></action>
|
| 119 |
</reference>
|
| 120 |
<reference name="content">
|
| 121 |
+
<block type="onestepcheckout/checkout_onepage_billing_sortbilling" name="checkout.onepage.billing.disablesortbilling" as="disablesortbilling" template="O2TI/onestepcheckout/daskboard/onepage/billing/billing_form.phtml"/>
|
| 122 |
+
</reference>
|
| 123 |
+
</onestepcheckout_index_updatebillingform>
|
| 124 |
<sales_order_view>
|
| 125 |
<reference name="sales.order.info">
|
| 126 |
<action method="setTemplate"><template>O2TI/onestepcheckout/sales/order/info.phtml</template></action>
|
app/design/frontend/base/default/template/O2TI/moip/info.phtml
CHANGED
|
@@ -2,11 +2,11 @@
|
|
| 2 |
/* Mage::getModel("sales/order")->getCollection()->getLastItem()->getIncrementId(); */
|
| 3 |
|
| 4 |
if(Mage::app()->getRequest()->getModuleName() != "onestepcheckout" && Mage::app()->getRequest()->getModuleName() != "checkout"){
|
| 5 |
-
$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;
|
| 6 |
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));
|
| 7 |
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;";
|
| 8 |
-
$css_boleto = "padding: 15px 20px 15px
|
| 9 |
-
$css_trans = "padding: 20px 20px 20px
|
| 10 |
$css_email_img = "position: absolute !important;left: -70px !important;top: -20px !important;min-height: 100px;width: 115px;";
|
| 11 |
?>
|
| 12 |
<?php $info = $this->_prepareInfo(); ?>
|
|
@@ -32,7 +32,7 @@ $css_email_img = "position: absolute !important;left: -70px !important;top: -20p
|
|
| 32 |
<?php if($info['result_meio'] == "Boleto Bancário"): ?>
|
| 33 |
<div class="metodo title"><h3><?php echo $info['result_meio'] ?></h3></div>
|
| 34 |
<div style="clear:both; width:100%;">
|
| 35 |
-
<button style="<?php echo $css_email.$css_boleto ?>" onclick="window.location='<?php echo $info['url'] ?>'"
|
| 36 |
</div></br>
|
| 37 |
<div class="boleto_line_title"><h4>Ou Cópie o endereço:</h4></div>
|
| 38 |
<div class="boleto_line"><input type="text" class="input-text" value="<?php echo $info['url'] ?>" readonly="true" style="width:350px"></div>
|
|
@@ -43,7 +43,7 @@ $css_email_img = "position: absolute !important;left: -70px !important;top: -20p
|
|
| 43 |
<?php if($info['result_meio'] == "Transferência Bancária"): ?>
|
| 44 |
<div class="metodo title"><h3><?php echo $info['result_meio'] ?></h3></div>
|
| 45 |
<div class="trans" style="width:100%">
|
| 46 |
-
<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'] ?>'"
|
| 47 |
<div class="boleto_line_title" style="clear:both;width:100%"><h4>Ou Cole a Url na Barra do Navegador:</h4></div>
|
| 48 |
<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>
|
| 49 |
</div>
|
|
@@ -98,9 +98,9 @@ $css_email_img = "position: absolute !important;left: -70px !important;top: -20p
|
|
| 98 |
|
| 99 |
<div class= "seleciona_meio" style="border-bottom:2px solid #eeeee0;">
|
| 100 |
<ul class="inline input-switcher moip-payment-methods" style="display: inline-flex;">
|
| 101 |
-
|
| 102 |
Cartão de Crédito
|
| 103 |
-
</li
|
| 104 |
<li data-target="BoletoBancario" class='moip-payment-method-line' style="padding: 10px 15px;background: #EEE;border-radius: 5px 5px 0 0;margin-right: 10px;cursor:pointer;">
|
| 105 |
Boleto Bancário
|
| 106 |
</li>
|
| 2 |
/* Mage::getModel("sales/order")->getCollection()->getLastItem()->getIncrementId(); */
|
| 3 |
|
| 4 |
if(Mage::app()->getRequest()->getModuleName() != "onestepcheckout" && Mage::app()->getRequest()->getModuleName() != "checkout"){
|
| 5 |
+
$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;
|
| 6 |
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));
|
| 7 |
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;";
|
| 8 |
+
$css_boleto = "padding: 15px 20px 15px 20px;border: 0;";
|
| 9 |
+
$css_trans = "padding: 20px 20px 20px 20px";
|
| 10 |
$css_email_img = "position: absolute !important;left: -70px !important;top: -20px !important;min-height: 100px;width: 115px;";
|
| 11 |
?>
|
| 12 |
<?php $info = $this->_prepareInfo(); ?>
|
| 32 |
<?php if($info['result_meio'] == "Boleto Bancário"): ?>
|
| 33 |
<div class="metodo title"><h3><?php echo $info['result_meio'] ?></h3></div>
|
| 34 |
<div style="clear:both; width:100%;">
|
| 35 |
+
<button style="<?php echo $css_email.$css_boleto ?>" onclick="window.location='<?php echo $info['url'] ?>'" >Visualize o boleto aqui</span></button>
|
| 36 |
</div></br>
|
| 37 |
<div class="boleto_line_title"><h4>Ou Cópie o endereço:</h4></div>
|
| 38 |
<div class="boleto_line"><input type="text" class="input-text" value="<?php echo $info['url'] ?>" readonly="true" style="width:350px"></div>
|
| 43 |
<?php if($info['result_meio'] == "Transferência Bancária"): ?>
|
| 44 |
<div class="metodo title"><h3><?php echo $info['result_meio'] ?></h3></div>
|
| 45 |
<div class="trans" style="width:100%">
|
| 46 |
+
<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'] ?>'">Ir ao Banco</button></div>
|
| 47 |
<div class="boleto_line_title" style="clear:both;width:100%"><h4>Ou Cole a Url na Barra do Navegador:</h4></div>
|
| 48 |
<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>
|
| 49 |
</div>
|
| 98 |
|
| 99 |
<div class= "seleciona_meio" style="border-bottom:2px solid #eeeee0;">
|
| 100 |
<ul class="inline input-switcher moip-payment-methods" style="display: inline-flex;">
|
| 101 |
+
<li data-target="CartaoCredito" class='moip-payment-method-line' style="padding: 10px 15px;background: #EEE;border-radius: 5px 5px 0 0;margin-right: 10px;cursor:pointer;">
|
| 102 |
Cartão de Crédito
|
| 103 |
+
</li>
|
| 104 |
<li data-target="BoletoBancario" class='moip-payment-method-line' style="padding: 10px 15px;background: #EEE;border-radius: 5px 5px 0 0;margin-right: 10px;cursor:pointer;">
|
| 105 |
Boleto Bancário
|
| 106 |
</li>
|
app/design/frontend/base/default/template/O2TI/moip/transferencia.phtml
CHANGED
|
@@ -35,7 +35,7 @@ if (Mage::getSingleton('moip/standard')->getConfigData('ambiente') == "teste") {
|
|
| 35 |
<?php endif; ?>
|
| 36 |
<script type="text/javascript" charset="ISO-8859-1" src="<?php echo $urljs ?>transparente/MoipWidget-v2.js" onerror="erro_mail('erro caiu o moip widget')" ></script>
|
| 37 |
<div id="MoipWidget" data-token="<?php echo $result_decode['token'] ?>" callback-method-error="erroValidacao" callback-method-success="sucesso"></div>
|
| 38 |
-
|
| 39 |
<div class="row grid-full">
|
| 40 |
<div class="section clearer grid12-12 ">
|
| 41 |
<h3>Seu pedido foi enviado com sucesso, <strong><?php echo $client_array['pagador_nome'] ?></strong>!</h3>
|
| 35 |
<?php endif; ?>
|
| 36 |
<script type="text/javascript" charset="ISO-8859-1" src="<?php echo $urljs ?>transparente/MoipWidget-v2.js" onerror="erro_mail('erro caiu o moip widget')" ></script>
|
| 37 |
<div id="MoipWidget" data-token="<?php echo $result_decode['token'] ?>" callback-method-error="erroValidacao" callback-method-success="sucesso"></div>
|
| 38 |
+
<meta http-equiv='Refresh' content='10;URL=<?php echo $url. $result_decode['token'] ?>'>
|
| 39 |
<div class="row grid-full">
|
| 40 |
<div class="section clearer grid12-12 ">
|
| 41 |
<h3>Seu pedido foi enviado com sucesso, <strong><?php echo $client_array['pagador_nome'] ?></strong>!</h3>
|
app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard.phtml
CHANGED
|
@@ -2,7 +2,8 @@
|
|
| 2 |
<?php $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 |
$valuegetGrandTotal = $data->getGrandTotal();
|
| 7 |
?>
|
| 8 |
<script type="text/javascript">
|
|
@@ -105,6 +106,7 @@ function buscarEndereco(whatform) {
|
|
| 105 |
});
|
| 106 |
};
|
| 107 |
function updateShippingMethod() {
|
|
|
|
| 108 |
jQuery.ajax({
|
| 109 |
url: urls,
|
| 110 |
type: "POST",
|
|
@@ -122,6 +124,7 @@ function updateShippingMethod() {
|
|
| 122 |
.always(function() {
|
| 123 |
|
| 124 |
});
|
|
|
|
| 125 |
};
|
| 126 |
function updateShippingType(str_value){
|
| 127 |
jQuery('#message-box').html('');
|
|
@@ -310,6 +313,8 @@ function reDrawOnepage(versao)
|
|
| 310 |
'openSpeed': '150',
|
| 311 |
'closeEffect': 'elastic',
|
| 312 |
'closeSpeed': '150',
|
|
|
|
|
|
|
| 313 |
});
|
| 314 |
jQuery("#loginbox").fancybox({
|
| 315 |
'titlePosition': 'inside',
|
|
@@ -483,11 +488,11 @@ function updateEmailmsg(val){
|
|
| 483 |
url: "<?php echo Mage::getUrl('onestepcheckout/index/updateemailmsg')?>",
|
| 484 |
data:"email="+val,
|
| 485 |
success: function(msg){
|
| 486 |
-
var error="<div class=\"validation-advice\" style=\"position:relative;\">Email já cadastrado, por favor <a href=\"#inline1\" id=\"loginbox\">Clique aqui e faça o login</a></div>";
|
| 487 |
if(msg==0){
|
| 488 |
jQuery('#billing\\:email').after(error);
|
| 489 |
jQuery('#message-box').html(error);
|
| 490 |
-
|
| 491 |
asyncdata='0';
|
| 492 |
}else{
|
| 493 |
if(logined()!=1){
|
|
@@ -620,7 +625,7 @@ function updateEmailmsg(val){
|
|
| 620 |
</form>
|
| 621 |
|
| 622 |
<div style="display: none;">
|
| 623 |
-
<div id="inlinecorreio" style="width:<?php echo Mage::getStoreConfig('onestepcheckout/termcondition/boxwidth')
|
| 624 |
<div class="o2ti-osc-title-login">
|
| 625 |
<h1>Busque seu CEP</h1>
|
| 626 |
</div>
|
| 2 |
<?php $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 |
+
$data = $standad->getQuote()->getShippingAddress();
|
| 7 |
$valuegetGrandTotal = $data->getGrandTotal();
|
| 8 |
?>
|
| 9 |
<script type="text/javascript">
|
| 106 |
});
|
| 107 |
};
|
| 108 |
function updateShippingMethod() {
|
| 109 |
+
if(document.getElementById('shipping:postcode') != "" && document.getElementById('shipping:postcode') != "." ){
|
| 110 |
jQuery.ajax({
|
| 111 |
url: urls,
|
| 112 |
type: "POST",
|
| 124 |
.always(function() {
|
| 125 |
|
| 126 |
});
|
| 127 |
+
}
|
| 128 |
};
|
| 129 |
function updateShippingType(str_value){
|
| 130 |
jQuery('#message-box').html('');
|
| 313 |
'openSpeed': '150',
|
| 314 |
'closeEffect': 'elastic',
|
| 315 |
'closeSpeed': '150',
|
| 316 |
+
'width': '<?php echo Mage::getStoreConfig("onestepcheckout/termcondition/boxwidth");?>px',
|
| 317 |
+
'height': '<?php echo Mage::getStoreConfig("onestepcheckout/termcondition/boxheight"); ?>px',
|
| 318 |
});
|
| 319 |
jQuery("#loginbox").fancybox({
|
| 320 |
'titlePosition': 'inside',
|
| 488 |
url: "<?php echo Mage::getUrl('onestepcheckout/index/updateemailmsg')?>",
|
| 489 |
data:"email="+val,
|
| 490 |
success: function(msg){
|
| 491 |
+
var error="<div id=\"message-box\"><div class=\"validation-advice\" style=\"position:relative;\">Email já cadastrado, por favor <a href=\"#inline1\" id=\"loginbox\">Clique aqui e faça o login</a></div></div>";
|
| 492 |
if(msg==0){
|
| 493 |
jQuery('#billing\\:email').after(error);
|
| 494 |
jQuery('#message-box').html(error);
|
| 495 |
+
|
| 496 |
asyncdata='0';
|
| 497 |
}else{
|
| 498 |
if(logined()!=1){
|
| 625 |
</form>
|
| 626 |
|
| 627 |
<div style="display: none;">
|
| 628 |
+
<div id="inlinecorreio" style="width:<?php echo Mage::getStoreConfig('onestepcheckout/termcondition/boxwidth')?>px;height:<?php echo Mage::getStoreConfig('onestepcheckout/termcondition/boxheight')?>px;overflow:auto;">
|
| 629 |
<div class="o2ti-osc-title-login">
|
| 630 |
<h1>Busque seu CEP</h1>
|
| 631 |
</div>
|
app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/billing.phtml
CHANGED
|
@@ -1,22 +1,30 @@
|
|
| 1 |
-
|
| 2 |
<div id="co-billing-form">
|
| 3 |
<fieldset>
|
| 4 |
<ul class="form-list">
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
<li id="billing-new-address-form" >
|
| 7 |
<fieldset>
|
| 8 |
<input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
|
| 9 |
<ul id="o2ti_onstepcheckout_billing_form">
|
|
|
|
| 10 |
<?php echo $this->getChildHtml('billing_form');?>
|
| 11 |
</ul>
|
| 12 |
<ul>
|
| 13 |
|
| 14 |
-
<?php if ($this->isCustomerLoggedIn() &&
|
| 15 |
<li class="control">
|
| 16 |
-
<input type="checkbox" style="_float:left;" name="billing[save_in_address_book]" value="
|
| 17 |
-
<label for="billing:save_in_address_book" style="_width:150px;"><?php echo $this->__('
|
| 18 |
</li>
|
| 19 |
-
<?php elseif ($this->isCustomerLoggedIn()
|
| 20 |
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="0" /></li>
|
| 21 |
<?php else :?>
|
| 22 |
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
|
@@ -38,92 +46,7 @@
|
|
| 38 |
</ul>
|
| 39 |
</fieldset>
|
| 40 |
</div>
|
| 41 |
-
<?php else:?>
|
| 42 |
-
<div id="co-billing-form">
|
| 43 |
-
<?php if ($this->customerHasAddresses() && Mage::helper('onestepcheckout')->showAddressBook()): ?>
|
| 44 |
-
<p style="_width:250px;"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></p>
|
| 45 |
-
<ul>
|
| 46 |
-
<li>
|
| 47 |
-
<p><?php echo $this->getAddressesHtmlSelect('billing') ?></p>
|
| 48 |
-
</li>
|
| 49 |
-
</ul>
|
| 50 |
-
<?php endif ?>
|
| 51 |
-
|
| 52 |
-
<fieldset class="group-select" id="billing-new-address-form" >
|
| 53 |
-
<input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
|
| 54 |
-
<ul id="o2ti_onstepcheckout_billing_form">
|
| 55 |
-
|
| 56 |
-
<?php echo $this->getChildHtml('sortbilling');?>
|
| 57 |
|
| 58 |
-
</ul>
|
| 59 |
-
<ul>
|
| 60 |
-
<?php if(!$this->isCustomerLoggedIn()): ?>
|
| 61 |
-
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
| 62 |
-
<?php if ($_dob->isEnabled()): ?>
|
| 63 |
-
<li>
|
| 64 |
-
<?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
| 65 |
-
</li>
|
| 66 |
-
<?php endif; ?>
|
| 67 |
-
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
|
| 68 |
-
<?php if ($_taxvat->isEnabled()): ?>
|
| 69 |
-
<li>
|
| 70 |
-
<?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
| 71 |
-
</li>
|
| 72 |
-
<?php endif; ?>
|
| 73 |
-
<?php if(Mage::helper('onestepcheckout')->haveProductDownloadable()):?>
|
| 74 |
-
<li id="register-customer-password" >
|
| 75 |
-
<div class="input-box">
|
| 76 |
-
<label for="billing:customer_password"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br/>
|
| 77 |
-
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="required-entry validate-password input-text" />
|
| 78 |
-
</div>
|
| 79 |
-
<div class="input-box">
|
| 80 |
-
<label for="billing:confirm_password"><?php echo $this->__('Confirm Password') ?> <span class="required">*</span></label><br/>
|
| 81 |
-
<input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="required-entry validate-password input-text" />
|
| 82 |
-
</div>
|
| 83 |
-
</li>
|
| 84 |
-
<?php elseif(Mage::getStoreConfig('onestepcheckout/config/allowregister')):?>
|
| 85 |
-
<li>
|
| 86 |
-
<input type="checkbox" name="register_new_account" <?php if(Mage::getStoreConfig('onestepcheckout/config/create_account') == "1") echo " checked='checked' value = '1'"; else echo "value='0'"?> title="<?php echo $this->__('register new account') ?>" id="register_new_account" class="checkbox"/> <label for="register_new_account" style="float:none;"><?php echo $this->__('Create an account for later use') ?></label>
|
| 87 |
-
</li>
|
| 88 |
-
<li id="register-customer-password" <?php if(Mage::getStoreConfig('onestepcheckout/config/create_account') == "1") echo " style='display:block;'"; else echo "style='display:none;'"?>>
|
| 89 |
-
<div class="input-box">
|
| 90 |
-
<label for="billing:customer_password"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br/>
|
| 91 |
-
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="required-entry validate-password input-text" />
|
| 92 |
-
</div>
|
| 93 |
-
<div class="input-box">
|
| 94 |
-
<label for="billing:confirm_password"><?php echo $this->__('Confirm Password') ?> <span class="required">*</span></label><br/>
|
| 95 |
-
<input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="required-entry validate-password input-text" />
|
| 96 |
-
</div>
|
| 97 |
-
</li>
|
| 98 |
-
<?php endif; ?>
|
| 99 |
-
<?php endif; ?>
|
| 100 |
-
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses() && Mage::helper('onestepcheckout')->showAddressBook()):?>
|
| 101 |
-
<li>
|
| 102 |
-
<input type="checkbox" style="_float:left;" name="billing[save_in_address_book]" value="0" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> />
|
| 103 |
-
<label for="billing:save_in_address_book" style="_width:150px;"><?php echo $this->__('Save in address book') ?></label>
|
| 104 |
-
</li>
|
| 105 |
-
<?php elseif ($this->isCustomerLoggedIn() && $this->customerHasAddresses() && !Mage::helper('onestepcheckout')->showAddressBook()):?>
|
| 106 |
-
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="0" /></li>
|
| 107 |
-
<?php else :?>
|
| 108 |
-
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
| 109 |
-
<?php endif;?>
|
| 110 |
-
</ul>
|
| 111 |
-
</fieldset>
|
| 112 |
-
<?php if(Mage::getStoreConfig('onestepcheckout/config/allowshippingotheraddress')):?>
|
| 113 |
-
<div>
|
| 114 |
-
<?php if(!Mage::helper('onestepcheckout')->onlyProductDownloadable()):?>
|
| 115 |
-
<input type="checkbox" name="ship_to_same_address" value="1" title="<?php echo $this->__('ship to same address') ?>" id="ship_to_same_address" class="checkbox" checked="checked"> <label for="ship_to_same_address" style="float:none;"><?php echo $this->__('Ship to same address') ?></label>
|
| 116 |
-
<?php else:?>
|
| 117 |
-
<input type="hidden" name="ship_to_same_address" value="1" title="<?php echo $this->__('ship to same address') ?>">
|
| 118 |
-
<?php endif;?>
|
| 119 |
-
</div>
|
| 120 |
-
<?php else:?>
|
| 121 |
-
<div>
|
| 122 |
-
<input type="hidden" name="ship_to_same_address" value="1" title="<?php echo $this->__('ship to same address') ?>">
|
| 123 |
-
</div>
|
| 124 |
-
<?php endif; ?>
|
| 125 |
-
</div>
|
| 126 |
-
<?php endif;?>
|
| 127 |
<script type="text/javascript">
|
| 128 |
//<![CDATA[
|
| 129 |
var billaddbook = 1;
|
|
@@ -137,25 +60,20 @@ jQuery("#billing\\:save_in_address_book").click(function() {
|
|
| 137 |
|
| 138 |
function updateBillingForm(address_id, flag) {
|
| 139 |
if (address_id == "") {
|
|
|
|
| 140 |
jQuery('#billing-new-address-form').clearForm();
|
|
|
|
| 141 |
} else {
|
| 142 |
|
| 143 |
-
jQuery('#message-box').html('');
|
| 144 |
-
|
| 145 |
jQuery.ajax({
|
| 146 |
type: "POST",
|
| 147 |
url: "<?php echo Mage::getUrl('onestepcheckout/index/updatebillingform')?>",
|
| 148 |
data: jQuery("#onestep_form").serialize(),
|
| 149 |
success: function(msg) {
|
| 150 |
jQuery('#o2ti_onstepcheckout_billing_form').html(msg);
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
if (flag == 1) {
|
| 154 |
-
updateShippingType();
|
| 155 |
-
}
|
| 156 |
}
|
| 157 |
});
|
| 158 |
-
|
| 159 |
}
|
| 160 |
}
|
| 161 |
//]]>
|
| 1 |
+
|
| 2 |
<div id="co-billing-form">
|
| 3 |
<fieldset>
|
| 4 |
<ul class="form-list">
|
| 5 |
+
<?php if($this->isCustomerLoggedIn()): ?>
|
| 6 |
+
<li class="wide">
|
| 7 |
+
<label for="billing-address-select" style="_width:250px;"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
|
| 8 |
+
<div class="input-box">
|
| 9 |
+
<?php echo $this->getAddressesHtmlSelect22('billing') ?>
|
| 10 |
+
</div>
|
| 11 |
+
</li>
|
| 12 |
+
<?php endif ?>
|
| 13 |
<li id="billing-new-address-form" >
|
| 14 |
<fieldset>
|
| 15 |
<input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
|
| 16 |
<ul id="o2ti_onstepcheckout_billing_form">
|
| 17 |
+
|
| 18 |
<?php echo $this->getChildHtml('billing_form');?>
|
| 19 |
</ul>
|
| 20 |
<ul>
|
| 21 |
|
| 22 |
+
<?php if ($this->isCustomerLoggedIn() && Mage::helper('onestepcheckout')->showAddressBook()):?>
|
| 23 |
<li class="control">
|
| 24 |
+
<input type="checkbox" style="_float:left;" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" checked="checked" class="checkbox" />
|
| 25 |
+
<label for="billing:save_in_address_book" style="_width:150px;"><?php echo $this->__('Atualizar atual endereço') ?></label>
|
| 26 |
</li>
|
| 27 |
+
<?php elseif ($this->isCustomerLoggedIn() && !Mage::helper('onestepcheckout')->showAddressBook()):?>
|
| 28 |
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="0" /></li>
|
| 29 |
<?php else :?>
|
| 30 |
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
| 46 |
</ul>
|
| 47 |
</fieldset>
|
| 48 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
<script type="text/javascript">
|
| 51 |
//<![CDATA[
|
| 52 |
var billaddbook = 1;
|
| 60 |
|
| 61 |
function updateBillingForm(address_id, flag) {
|
| 62 |
if (address_id == "") {
|
| 63 |
+
var temp_id = jQuery("#billing\\:address_id").val();
|
| 64 |
jQuery('#billing-new-address-form').clearForm();
|
| 65 |
+
jQuery("#billing\\:address_id").val('');
|
| 66 |
} else {
|
| 67 |
|
|
|
|
|
|
|
| 68 |
jQuery.ajax({
|
| 69 |
type: "POST",
|
| 70 |
url: "<?php echo Mage::getUrl('onestepcheckout/index/updatebillingform')?>",
|
| 71 |
data: jQuery("#onestep_form").serialize(),
|
| 72 |
success: function(msg) {
|
| 73 |
jQuery('#o2ti_onstepcheckout_billing_form').html(msg);
|
| 74 |
+
updateShippingType();
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
}
|
| 76 |
});
|
|
|
|
| 77 |
}
|
| 78 |
}
|
| 79 |
//]]>
|
app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/billing/billing_form.phtml
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
<?php
|
|
|
|
| 2 |
$myStatus = Mage::getSingleton('customer/session')->isLoggedIn();
|
| 3 |
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
| 4 |
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
|
@@ -15,6 +16,12 @@ if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
|
| 15 |
$taxvat = "";
|
| 16 |
$exibe_email = 1;
|
| 17 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
$_dob = $this->getLayout()->createBlock('customer/widget_dob');
|
| 19 |
$_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat');
|
| 20 |
$_gender = $this->getLayout()->createBlock('customer/widget_gender');
|
|
@@ -22,7 +29,6 @@ if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
|
| 22 |
|
| 23 |
<script type="text/javascript" src="<?php echo $this->getJsUrl('O2TI/onestepcheckout/billing.js') ?>"></script>
|
| 24 |
|
| 25 |
-
|
| 26 |
<li class="customer-name field">
|
| 27 |
<label for="billing:firstname" class="required"><em>*</em>Nome</label>
|
| 28 |
<div class="input-box">
|
|
@@ -157,25 +163,25 @@ if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
|
| 157 |
<li class="wide">
|
| 158 |
<label for="billing:street1" class="required"><em>*</em>Endereço</label>
|
| 159 |
<div class="input-box">
|
| 160 |
-
<input type="text" title="Endereço da rua" name="billing[street][]" id="billing:street1" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" class="input-text required-entry" autocomplete="off">
|
| 161 |
</div>
|
| 162 |
</li>
|
| 163 |
<li class="field">
|
| 164 |
<label for="billing:street2" class="required"><em>*</em>Número</label>
|
| 165 |
<div class="input-box">
|
| 166 |
-
<input type="text" title="Street Address 2" name="billing[street][]" id="billing:street2" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(2)) ?>" class="input-text required-entry" autocomplete="off">
|
| 167 |
</div>
|
| 168 |
</li>
|
| 169 |
<li class="field">
|
| 170 |
<label for="billing:street3" class="required">Complemento</label>
|
| 171 |
<div class="input-box">
|
| 172 |
-
<input type="text" title="Complemento" name="billing[street][]" id="billing:street3" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(3)) ?>" class="input-text" autocomplete="off">
|
| 173 |
</div>
|
| 174 |
</li>
|
| 175 |
<li class="field">
|
| 176 |
<label for="billing:street4" class="required"><em>*</em>Bairro</label>
|
| 177 |
<div class="input-box">
|
| 178 |
-
<input type="text" title="Bairro" name="billing[street][]" id="billing:street4" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(4)) ?>" class="input-text required-entry" autocomplete="off">
|
| 179 |
</div>
|
| 180 |
</li>
|
| 181 |
<li class="field">
|
|
@@ -196,7 +202,7 @@ if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
|
| 196 |
<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">
|
| 197 |
</div>
|
| 198 |
</li>
|
| 199 |
-
<li class="wide" style="display:none;">
|
| 200 |
<label for="billing:country_id" class="required"><em></em>País</label>
|
| 201 |
<div class="input-box">
|
| 202 |
<?php echo $this->getCountryHtmlSelect('billing') ?>
|
| 1 |
<?php
|
| 2 |
+
|
| 3 |
$myStatus = Mage::getSingleton('customer/session')->isLoggedIn();
|
| 4 |
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
|
| 5 |
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
| 16 |
$taxvat = "";
|
| 17 |
$exibe_email = 1;
|
| 18 |
}
|
| 19 |
+
if(Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()){
|
| 20 |
+
|
| 21 |
+
$address_data = Mage::getModel('customer/address')->load(Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling());
|
| 22 |
+
$firstname = $address_data->getFirstname();
|
| 23 |
+
$lastname = $address_data->getLastname();
|
| 24 |
+
}
|
| 25 |
$_dob = $this->getLayout()->createBlock('customer/widget_dob');
|
| 26 |
$_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat');
|
| 27 |
$_gender = $this->getLayout()->createBlock('customer/widget_gender');
|
| 29 |
|
| 30 |
<script type="text/javascript" src="<?php echo $this->getJsUrl('O2TI/onestepcheckout/billing.js') ?>"></script>
|
| 31 |
|
|
|
|
| 32 |
<li class="customer-name field">
|
| 33 |
<label for="billing:firstname" class="required"><em>*</em>Nome</label>
|
| 34 |
<div class="input-box">
|
| 163 |
<li class="wide">
|
| 164 |
<label for="billing:street1" class="required"><em>*</em>Endereço</label>
|
| 165 |
<div class="input-box">
|
| 166 |
+
<input type="text" title="Endereço da rua" name="billing[street][0]" id="billing:street1" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" class="input-text required-entry" autocomplete="off">
|
| 167 |
</div>
|
| 168 |
</li>
|
| 169 |
<li class="field">
|
| 170 |
<label for="billing:street2" class="required"><em>*</em>Número</label>
|
| 171 |
<div class="input-box">
|
| 172 |
+
<input type="text" title="Street Address 2" name="billing[street][1]" id="billing:street2" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(2)) ?>" class="input-text required-entry" autocomplete="off">
|
| 173 |
</div>
|
| 174 |
</li>
|
| 175 |
<li class="field">
|
| 176 |
<label for="billing:street3" class="required">Complemento</label>
|
| 177 |
<div class="input-box">
|
| 178 |
+
<input type="text" title="Complemento" name="billing[street][2]" id="billing:street3" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(3)) ?>" class="input-text" autocomplete="off">
|
| 179 |
</div>
|
| 180 |
</li>
|
| 181 |
<li class="field">
|
| 182 |
<label for="billing:street4" class="required"><em>*</em>Bairro</label>
|
| 183 |
<div class="input-box">
|
| 184 |
+
<input type="text" title="Bairro" name="billing[street][3]" id="billing:street4" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(4)) ?>" class="input-text required-entry" autocomplete="off">
|
| 185 |
</div>
|
| 186 |
</li>
|
| 187 |
<li class="field">
|
| 202 |
<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">
|
| 203 |
</div>
|
| 204 |
</li>
|
| 205 |
+
<li class="wide" style="display: none;">
|
| 206 |
<label for="billing:country_id" class="required"><em></em>País</label>
|
| 207 |
<div class="input-box">
|
| 208 |
<?php echo $this->getCountryHtmlSelect('billing') ?>
|
app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/login.phtml
CHANGED
|
@@ -79,6 +79,8 @@ 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('#errorlogin').css('display','block');
|
| 83 |
jQuery('#login-email').addClass('validation-failed');
|
| 84 |
jQuery('#login-password').addClass('validation-failed');
|
| 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("#inline1").css("height","<?php echo Mage::getStoreConfig('onestepcheckout/termcondition/boxheight')+65?>px");
|
| 83 |
+
jQuery(".col1-set").css("height","<?php echo Mage::getStoreConfig('onestepcheckout/termcondition/boxheight')+45?>px");
|
| 84 |
jQuery('#errorlogin').css('display','block');
|
| 85 |
jQuery('#login-email').addClass('validation-failed');
|
| 86 |
jQuery('#login-password').addClass('validation-failed');
|
app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/review/item.phtml
CHANGED
|
@@ -28,13 +28,13 @@
|
|
| 28 |
<tr>
|
| 29 |
<td>
|
| 30 |
<?php if(Mage::helper('onestepcheckout')->showImageProduct()):?>
|
| 31 |
-
<div style="float:left;width:
|
| 32 |
<a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>">
|
| 33 |
<img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" />
|
| 34 |
</a>
|
| 35 |
</div>
|
| 36 |
<?php endif?>
|
| 37 |
-
<div style="float:left;width:
|
| 38 |
<div class="product-name"><h3 class="product-name"><?php echo $this->htmlEscape($this->getProductName()) ?></h3> </div>
|
| 39 |
<?php if(Mage::getStoreConfig("onestepcheckout/layout/allowremoveproduct")):?>
|
| 40 |
<div class="product-remove"><a href="javascript:void(0);" title="<?php echo $this->__('Remove item')?>" class="btn-remove2" onclick="removeProductId('<?php echo $this->getItem()->getId()?>');"><?php echo $this->__('Remove item')?></a></div>
|
| 28 |
<tr>
|
| 29 |
<td>
|
| 30 |
<?php if(Mage::helper('onestepcheckout')->showImageProduct()):?>
|
| 31 |
+
<div style="float:left;width:25%;">
|
| 32 |
<a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>">
|
| 33 |
<img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" />
|
| 34 |
</a>
|
| 35 |
</div>
|
| 36 |
<?php endif?>
|
| 37 |
+
<div style="float:left;width:75%;">
|
| 38 |
<div class="product-name"><h3 class="product-name"><?php echo $this->htmlEscape($this->getProductName()) ?></h3> </div>
|
| 39 |
<?php if(Mage::getStoreConfig("onestepcheckout/layout/allowremoveproduct")):?>
|
| 40 |
<div class="product-remove"><a href="javascript:void(0);" title="<?php echo $this->__('Remove item')?>" class="btn-remove2" onclick="removeProductId('<?php echo $this->getItem()->getId()?>');"><?php echo $this->__('Remove item')?></a></div>
|
app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/shipping.phtml
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
<script type="text/javascript">
|
| 2 |
//<![CDATA[
|
| 3 |
var shipaddbook=1;
|
|
@@ -23,17 +25,13 @@
|
|
| 23 |
}
|
| 24 |
else
|
| 25 |
{
|
| 26 |
-
|
| 27 |
-
jQuery('#loading-mask').css('display','block');
|
| 28 |
-
|
| 29 |
jQuery.ajax({
|
| 30 |
type: "POST",
|
| 31 |
url: "<?php echo Mage::getUrl('onestepcheckout/index/updateshippingform')?>",
|
| 32 |
data:jQuery("#onestep_form").serialize(),
|
| 33 |
success: function(msg){
|
| 34 |
jQuery('#o2ti_onstepcheckout_shipping_form').html(msg);
|
| 35 |
-
jQuery('#loading-mask').css('display','none');
|
| 36 |
-
|
| 37 |
updateShippingType();
|
| 38 |
}
|
| 39 |
});
|
|
@@ -44,7 +42,12 @@
|
|
| 44 |
|
| 45 |
<div id="co-shipping-form">
|
| 46 |
<ul class="form-list">
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
<?php echo $this->getChildHtml('shipping_form');?>
|
| 49 |
|
| 50 |
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses() && Mage::helper('onestepcheckout')->showAddressBook()):?>
|
| 1 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('O2TI/onestepcheckout/shipping.js') ?>"></script>
|
| 2 |
+
|
| 3 |
<script type="text/javascript">
|
| 4 |
//<![CDATA[
|
| 5 |
var shipaddbook=1;
|
| 25 |
}
|
| 26 |
else
|
| 27 |
{
|
| 28 |
+
|
|
|
|
|
|
|
| 29 |
jQuery.ajax({
|
| 30 |
type: "POST",
|
| 31 |
url: "<?php echo Mage::getUrl('onestepcheckout/index/updateshippingform')?>",
|
| 32 |
data:jQuery("#onestep_form").serialize(),
|
| 33 |
success: function(msg){
|
| 34 |
jQuery('#o2ti_onstepcheckout_shipping_form').html(msg);
|
|
|
|
|
|
|
| 35 |
updateShippingType();
|
| 36 |
}
|
| 37 |
});
|
| 42 |
|
| 43 |
<div id="co-shipping-form">
|
| 44 |
<ul class="form-list">
|
| 45 |
+
<li class="wide">
|
| 46 |
+
<label for="shipping-address-select" style="_width:250px;"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
|
| 47 |
+
<div class="input-box">
|
| 48 |
+
<?php echo $this->getAddressesHtmlSelect('shipping') ?>
|
| 49 |
+
</div>
|
| 50 |
+
</li>
|
| 51 |
<?php echo $this->getChildHtml('shipping_form');?>
|
| 52 |
|
| 53 |
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses() && Mage::helper('onestepcheckout')->showAddressBook()):?>
|
app/design/frontend/base/default/template/O2TI/onestepcheckout/daskboard/onepage/shipping/shipping_form.phtml
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
$taxvat = "";
|
| 18 |
}
|
| 19 |
?>
|
| 20 |
-
|
| 21 |
|
| 22 |
<div id="shipping-new-address-form">
|
| 23 |
|
| 17 |
$taxvat = "";
|
| 18 |
}
|
| 19 |
?>
|
| 20 |
+
|
| 21 |
|
| 22 |
<div id="shipping-new-address-form">
|
| 23 |
|
js/O2TI/onestepcheckout/billing.js
CHANGED
|
@@ -7,7 +7,7 @@ jQuery(function() {
|
|
| 7 |
if(val_pass != val_pass2){
|
| 8 |
jQuery("#senha_invalida").html('');
|
| 9 |
jQuery(".senha_invalida").removeClass('validation-advice');
|
| 10 |
-
jQuery('#billing\\:confirm_password').after('<div class="validation-advice senha_invalida" id="senha_invalida">As Senhas
|
| 11 |
else{
|
| 12 |
jQuery("#senha_invalida").html('');
|
| 13 |
jQuery(".senha_invalida").removeClass('validation-advice');
|
|
@@ -33,7 +33,7 @@ jQuery(function() {
|
|
| 33 |
}
|
| 34 |
else{
|
| 35 |
jQuery('#advice-validate-email-billing\\:email').html("");
|
| 36 |
-
jQuery('#billing\\:email').after('<div class="validation-advice email_invalido" id="advice-validate-email-billing:email">Informe um
|
| 37 |
}
|
| 38 |
}
|
| 39 |
});
|
|
@@ -86,7 +86,7 @@ function TestaCPF(strCPF) {
|
|
| 86 |
if (strCPF == "00000000000" || strCPF == "11111111111" || strCPF == "22222222222" || strCPF == "33333333333" || strCPF == "44444444444" || strCPF == "55555555555" || strCPF == "66666666666" || strCPF == "77777777777" || strCPF == "88888888888" || strCPF == "99999999999"){
|
| 87 |
jQuery("#advice-validar_cpf").html('');
|
| 88 |
jQuery(".advice-validar_cpf").removeClass('validation-advice');
|
| 89 |
-
jQuery('#billing\\:taxvat').after('<div class="validation-advice advice-validar_cpf" id="advice-validar_cpf" style="display: block;">CPF
|
| 90 |
}
|
| 91 |
for (i=1; i<=9; i++){
|
| 92 |
Soma = Soma + parseInt(strCPF.substring(i-1, i)) * (11 - i);
|
|
@@ -98,7 +98,7 @@ function TestaCPF(strCPF) {
|
|
| 98 |
if (Resto != parseInt(strCPF.substring(9, 10)) ){
|
| 99 |
jQuery("#advice-validar_cpf").html('');
|
| 100 |
jQuery(".advice-validar_cpf").removeClass('validation-advice');
|
| 101 |
-
jQuery('#billing\\:taxvat').after('<div class="validation-advice advice-validar_cpf" id="advice-validar_cpf" style="display: block;">CPF
|
| 102 |
}
|
| 103 |
Soma = 0;
|
| 104 |
for (i = 1; i <= 10; i++){
|
|
@@ -111,7 +111,7 @@ function TestaCPF(strCPF) {
|
|
| 111 |
if (Resto != parseInt(strCPF.substring(10, 11) ) ){
|
| 112 |
jQuery("#advice-validar_cpf").html('');
|
| 113 |
jQuery(".advice-validar_cpf").removeClass('validation-advice');
|
| 114 |
-
jQuery('#billing\\:taxvat').after('<div class="validation-advice advice-validar_cpf" id="advice-validar_cpf" style="display: block;
|
| 115 |
}
|
| 116 |
return true;
|
| 117 |
}
|
| 7 |
if(val_pass != val_pass2){
|
| 8 |
jQuery("#senha_invalida").html('');
|
| 9 |
jQuery(".senha_invalida").removeClass('validation-advice');
|
| 10 |
+
jQuery('#billing\\:confirm_password').after('<div class="validation-advice senha_invalida" id="senha_invalida">As Senhas não são iguais</div>');}
|
| 11 |
else{
|
| 12 |
jQuery("#senha_invalida").html('');
|
| 13 |
jQuery(".senha_invalida").removeClass('validation-advice');
|
| 33 |
}
|
| 34 |
else{
|
| 35 |
jQuery('#advice-validate-email-billing\\:email').html("");
|
| 36 |
+
jQuery('#billing\\:email').after('<div class="validation-advice email_invalido" id="advice-validate-email-billing:email">Informe um endereço de email válido. Por exemplo seunome@gmail.com.</div>');
|
| 37 |
}
|
| 38 |
}
|
| 39 |
});
|
| 86 |
if (strCPF == "00000000000" || strCPF == "11111111111" || strCPF == "22222222222" || strCPF == "33333333333" || strCPF == "44444444444" || strCPF == "55555555555" || strCPF == "66666666666" || strCPF == "77777777777" || strCPF == "88888888888" || strCPF == "99999999999"){
|
| 87 |
jQuery("#advice-validar_cpf").html('');
|
| 88 |
jQuery(".advice-validar_cpf").removeClass('validation-advice');
|
| 89 |
+
jQuery('#billing\\:taxvat').after('<div class="validation-advice advice-validar_cpf" id="advice-validar_cpf" style="display: block;">CPF inválido, o seu cpf será mantido em sigílo, porém é necessário para a emissão da Nota Fiscal</div>');
|
| 90 |
}
|
| 91 |
for (i=1; i<=9; i++){
|
| 92 |
Soma = Soma + parseInt(strCPF.substring(i-1, i)) * (11 - i);
|
| 98 |
if (Resto != parseInt(strCPF.substring(9, 10)) ){
|
| 99 |
jQuery("#advice-validar_cpf").html('');
|
| 100 |
jQuery(".advice-validar_cpf").removeClass('validation-advice');
|
| 101 |
+
jQuery('#billing\\:taxvat').after('<div class="validation-advice advice-validar_cpf" id="advice-validar_cpf" style="display: block;">CPF inválido, o seu cpf será mantido em sigílo, porém é necessário para a emissão da Nota Fiscal</div>');
|
| 102 |
}
|
| 103 |
Soma = 0;
|
| 104 |
for (i = 1; i <= 10; i++){
|
| 111 |
if (Resto != parseInt(strCPF.substring(10, 11) ) ){
|
| 112 |
jQuery("#advice-validar_cpf").html('');
|
| 113 |
jQuery(".advice-validar_cpf").removeClass('validation-advice');
|
| 114 |
+
jQuery('#billing\\:taxvat').after('<div class="validation-advice advice-validar_cpf" id="advice-validar_cpf" style="display: block;">CPF inválido, o seu cpf será mantido em sigílo, porém é necessário para a emissão da Nota Fiscal</div>');
|
| 115 |
}
|
| 116 |
return true;
|
| 117 |
}
|
js/O2TI/onestepcheckout/change-events.js
CHANGED
|
@@ -1,5 +1,44 @@
|
|
| 1 |
jQuery(function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
|
|
|
| 3 |
jQuery('[id="shipping:same_as_billing"]').click(function() {
|
| 4 |
jQuery('#shipping_show').hide();
|
| 5 |
jQuery("#o2ti-osc-p2").removeClass('onestepcheckout-numbers onestepcheckout-numbers-3').addClass('onestepcheckout-numbers onestepcheckout-numbers-2');
|
|
@@ -7,9 +46,13 @@ jQuery(function() {
|
|
| 7 |
jQuery("#o2ti-osc-p4").removeClass('onestepcheckout-numbers onestepcheckout-numbers-5').addClass('onestepcheckout-numbers onestepcheckout-numbers-4');
|
| 8 |
flag = 1;
|
| 9 |
shipping.setSameAsBilling(true);
|
| 10 |
-
jQuery('
|
|
|
|
|
|
|
|
|
|
| 11 |
jQuery('#shipping_show').hide();
|
| 12 |
jQuery("#ship_to_same_address").val(1);
|
|
|
|
| 13 |
});
|
| 14 |
jQuery("#ship_to_same_address").bind({
|
| 15 |
click: function() {
|
|
@@ -21,19 +64,25 @@ jQuery(function() {
|
|
| 21 |
jQuery("#o2ti-osc-p3").removeClass('onestepcheckout-numbers onestepcheckout-numbers-3').addClass('onestepcheckout-numbers onestepcheckout-numbers-4');
|
| 22 |
jQuery("#o2ti-osc-p4").removeClass('onestepcheckout-numbers onestepcheckout-numbers-4').addClass('onestepcheckout-numbers onestepcheckout-numbers-5');
|
| 23 |
flag = 0;
|
|
|
|
| 24 |
jQuery("#shipping_show").show();
|
| 25 |
jQuery("#ship_to_same_address").val(0);
|
|
|
|
| 26 |
} else {
|
|
|
|
|
|
|
| 27 |
jQuery('#shipping_show').hide();
|
| 28 |
jQuery("#o2ti-osc-p2").removeClass('onestepcheckout-numbers onestepcheckout-numbers-3').addClass('onestepcheckout-numbers onestepcheckout-numbers-2');
|
| 29 |
jQuery("#o2ti-osc-p3").removeClass('onestepcheckout-numbers onestepcheckout-numbers-4').addClass('onestepcheckout-numbers onestepcheckout-numbers-3');
|
| 30 |
jQuery("#o2ti-osc-p4").removeClass('onestepcheckout-numbers onestepcheckout-numbers-5').addClass('onestepcheckout-numbers onestepcheckout-numbers-4');
|
| 31 |
flag = 1;
|
| 32 |
shipping.setSameAsBilling(true);
|
| 33 |
-
jQuery('shipping
|
|
|
|
|
|
|
| 34 |
jQuery('#shipping_show').hide();
|
| 35 |
jQuery("#ship_to_same_address").val(1);
|
| 36 |
-
|
| 37 |
}
|
| 38 |
}
|
| 39 |
});
|
| 1 |
jQuery(function() {
|
| 2 |
+
jQuery("#billing-address-select").change(function(){
|
| 3 |
+
flag=1 ;
|
| 4 |
+
if(flag==1){
|
| 5 |
+
change_select=0;
|
| 6 |
+
if(this.value==""){
|
| 7 |
+
countryid=jQuery("#billing\\:country_id option:selected").val();
|
| 8 |
+
updateBillingForm(this.value,flag);
|
| 9 |
+
}
|
| 10 |
+
else{
|
| 11 |
+
countryid=jQuery("#billing\\:country_id option:selected").val();
|
| 12 |
+
updateBillingForm(this.value) ;
|
| 13 |
+
}
|
| 14 |
+
}
|
| 15 |
+
else{
|
| 16 |
+
countryid=jQuery("#billing\\:country_id option:selected").val();
|
| 17 |
+
updateBillingForm(this.value);
|
| 18 |
+
change_select=1;
|
| 19 |
+
}
|
| 20 |
+
});
|
| 21 |
+
jQuery("#shipping-address-select").change(function(){
|
| 22 |
+
flag=1 ;
|
| 23 |
+
if(flag==1){
|
| 24 |
+
change_select=0;
|
| 25 |
+
if(this.value==""){
|
| 26 |
+
countryid=jQuery("#shipping\\:country_id option:selected").val();
|
| 27 |
+
updateShippingForm(this.value,flag);
|
| 28 |
+
}
|
| 29 |
+
else{
|
| 30 |
+
countryid=jQuery("#shipping\\:country_id option:selected").val();
|
| 31 |
+
updateShippingForm(this.value) ;
|
| 32 |
+
}
|
| 33 |
+
}
|
| 34 |
+
else{
|
| 35 |
+
countryid=jQuery("#shipping\\:country_id option:selected").val();
|
| 36 |
+
updateShippingForm(this.value);
|
| 37 |
+
change_select=1;
|
| 38 |
+
}
|
| 39 |
+
});
|
| 40 |
|
| 41 |
+
|
| 42 |
jQuery('[id="shipping:same_as_billing"]').click(function() {
|
| 43 |
jQuery('#shipping_show').hide();
|
| 44 |
jQuery("#o2ti-osc-p2").removeClass('onestepcheckout-numbers onestepcheckout-numbers-3').addClass('onestepcheckout-numbers onestepcheckout-numbers-2');
|
| 46 |
jQuery("#o2ti-osc-p4").removeClass('onestepcheckout-numbers onestepcheckout-numbers-5').addClass('onestepcheckout-numbers onestepcheckout-numbers-4');
|
| 47 |
flag = 1;
|
| 48 |
shipping.setSameAsBilling(true);
|
| 49 |
+
jQuery('#ship_to_same_address').attr('checked','checked');
|
| 50 |
+
jQuery('#shipping\\:same_as_billing').attr('checked', false);
|
| 51 |
+
address_id = jQuery("#shipping-address-select").val();
|
| 52 |
+
updateShippingForm(address_id) ;
|
| 53 |
jQuery('#shipping_show').hide();
|
| 54 |
jQuery("#ship_to_same_address").val(1);
|
| 55 |
+
updateShippingType();
|
| 56 |
});
|
| 57 |
jQuery("#ship_to_same_address").bind({
|
| 58 |
click: function() {
|
| 64 |
jQuery("#o2ti-osc-p3").removeClass('onestepcheckout-numbers onestepcheckout-numbers-3').addClass('onestepcheckout-numbers onestepcheckout-numbers-4');
|
| 65 |
jQuery("#o2ti-osc-p4").removeClass('onestepcheckout-numbers onestepcheckout-numbers-4').addClass('onestepcheckout-numbers onestepcheckout-numbers-5');
|
| 66 |
flag = 0;
|
| 67 |
+
jQuery('#ship_to_same_address').attr('checked', false);
|
| 68 |
jQuery("#shipping_show").show();
|
| 69 |
jQuery("#ship_to_same_address").val(0);
|
| 70 |
+
updateShippingType();
|
| 71 |
} else {
|
| 72 |
+
address_id = jQuery("#shipping-address-select").val();
|
| 73 |
+
updateShippingForm(address_id) ;
|
| 74 |
jQuery('#shipping_show').hide();
|
| 75 |
jQuery("#o2ti-osc-p2").removeClass('onestepcheckout-numbers onestepcheckout-numbers-3').addClass('onestepcheckout-numbers onestepcheckout-numbers-2');
|
| 76 |
jQuery("#o2ti-osc-p3").removeClass('onestepcheckout-numbers onestepcheckout-numbers-4').addClass('onestepcheckout-numbers onestepcheckout-numbers-3');
|
| 77 |
jQuery("#o2ti-osc-p4").removeClass('onestepcheckout-numbers onestepcheckout-numbers-5').addClass('onestepcheckout-numbers onestepcheckout-numbers-4');
|
| 78 |
flag = 1;
|
| 79 |
shipping.setSameAsBilling(true);
|
| 80 |
+
jQuery('shipping\\:same_as_billing').attr('checked', true);
|
| 81 |
+
jQuery('shipping\\:same_as_billing').attr('value', 1);
|
| 82 |
+
|
| 83 |
jQuery('#shipping_show').hide();
|
| 84 |
jQuery("#ship_to_same_address").val(1);
|
| 85 |
+
updateShippingType();
|
| 86 |
}
|
| 87 |
}
|
| 88 |
});
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>o2ti_moip</name>
|
| 4 |
-
<version>1.2.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://o2ti.com/licensa_checkout_moip.txt">Free to use with MoIP</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -31,11 +31,11 @@ Repayment, if you customer input wrong date he can try repaying it without have
|
|
| 31 |
Multi store split rates
|
| 32 |
Store terms and conditions (Mandatory in all stores following the federal law (http://legislacao.planalto.gov.br/legisla/legislacao.nsf/Viw_Identificacao/DEC%207.962-2013?OpenDocument) Nº 7.962, DE 15 DE MARÇO DE 2013</a>)
|
| 33 |
</ul></description>
|
| 34 |
-
<notes>
|
| 35 |
<authors><author><name>O2TI</name><user>o2ti</user><email>contato@o2ti.com</email></author></authors>
|
| 36 |
-
<date>2014-
|
| 37 |
-
<time>
|
| 38 |
-
<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="d84423f0698fb9e0185c78fd85817615"/><dir name="Standard"><file name="Form.php" hash="ff37592febf562132a7deb9e49af2076"/><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="33192eae749718e0f14ce274ff7b347d"/><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="0ded87d9e2fc973f857d82ab89aa341d"/><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="4f96dea35e3bffd0e33242f0bd18d018"/></dir><dir name="etc"><file name="adminhtml.xml" hash="75bde86c187ceb24042233abde0f88b0"/><file name="config.xml" hash="7a272a9db5fdf8259d64658afb3e2ce5"/><file name="system.xml" hash="368f88872fabe9ea7194a0e46031b65a"/></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="5884870992a8ca883279bfaa8c8ec935"/><file name="mysql4-upgrade-0.1.0-0.2.1.php" hash="fce0926f7db51fe6e85d88e0efde968e"/><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="fce0926f7db51fe6e85d88e0efde968e"/><file name="mysql4-upgrade-0.2.1-0.2.4.php" hash="ce34fa0e39beb82eb44983507360c884"/></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="4a0f95dad0b83a513d547f11e9745145"/><file name="TestController.php" hash="b7814c4a88338b9e031f26274bd7d07a"/></dir><dir name="etc"><file name="config.xml" hash="d90a7d8420ec40b5440b7e011899a21f"/><file name="system.xml" hash="6819d39789d5c6d05c505b65dc0b0408"/></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><file name=".DS_Store" hash="15bd3b937c85e0f1c2cc079dcd2daa34"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><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="customer"><dir name="widget"><file name="dob.phtml" hash="7ac1cc016c90251d0c423d7347e9d715"/><file name="taxvat.phtml" hash="67333f779d3c7503209ce057a3b44c34"/></dir></dir><dir name="moip"><file name="Novaforma.phtml" hash="49d046daa42bae37c1c5e80ff88c3e0d"/><file name="boleto.phtml" hash="9ecd92654e0fda226a265dae40b1bd7f"/><file name="cartao.phtml" hash="22c6e3b63ea6b3fd2e606d324efbca18"/><file name="emptyupdate.phtml" hash="8625e958f0e2dd1138721b8518c8069a"/><file name="form.phtml" hash="97159f0fb40753ded7c032dfba582762"/><file name="horizontal_form.phtml" hash="b8591aa3c2448665afab4e8b2db53c15"/><file name="info.phtml" hash="d5a9aaacf11e359cb931e0c49939fe77"/><file name="layout_boleto.phtml" hash="6a609b4bc4bbbb610f151266983c06e1"/><file name="redirect.phtml" hash="4a778e5e9f9b391182cca210239cb18a"/><file name="refaz.phtml" hash="d81b71e6cc5ac3a96bce04f60cc8d917"/><file name="transferencia.phtml" hash="bd9c881c22af5e4714d2396b73f896e0"/><file name="vertical_form.phtml" hash="1575ac512a92646d429775e17b04d04c"/></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="d52fff67bb16e7aa0efde252acbf1708"/></dir><file name="billing.phtml" hash="7c2b962993ef989bfefb990444e381ac"/><file name="correio.phtml" hash="461b88fcbf6adffc4f23c5905932bafa"/><file name="coupon.phtml" hash="bc05962850ba33929ea44f5d90e3b179"/><file name="forgotpassword.phtml" hash="314947b27b30957a9e55f36ac456399e"/><file name="local.xml" hash="08c7ce351c502056fb9ee3a14a9b065a"/><file name="login.phtml" hash="4376994fc399bf2e293422c5d53a04eb"/><dir name="payment"><file name="methods.phtml" hash="b3d73a82dd363b403ef3a87cbddc7141"/></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="4d41bd5359f0922f12122cfdd2f87a0b"/><dir name="shipping_method"><file name="available.phtml" hash="c8f60e3c2dbe58cce077863141f6de49"/></dir><file name="shipping_method.phtml" hash="58c56da9e30df17c997e08e20e32a8ee"/></dir></dir><file name="daskboard.phtml" hash="d8a2f328b3a93cbcdaf258fd6e27c90d"/><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></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="customer"><dir name="widget"><file name="dob.phtml" hash="7ac1cc016c90251d0c423d7347e9d715"/><file name="taxvat.phtml" hash="67333f779d3c7503209ce057a3b44c34"/></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="741e3ead95eeb64d9a3545b30ddff304"/><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="base"><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="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></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="d5fc9375f13242a6a82717cc02c45b77"/><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>
|
| 39 |
<compatible/>
|
| 40 |
<dependencies><required><php><min>4.0.0</min><max>15.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>
|
| 41 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>o2ti_moip</name>
|
| 4 |
+
<version>1.2.4</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>
|
| 31 |
Multi store split rates
|
| 32 |
Store terms and conditions (Mandatory in all stores following the federal law (http://legislacao.planalto.gov.br/legisla/legislacao.nsf/Viw_Identificacao/DEC%207.962-2013?OpenDocument) Nº 7.962, DE 15 DE MARÇO DE 2013</a>)
|
| 33 |
</ul></description>
|
| 34 |
+
<notes>Update em livro de endereço</notes>
|
| 35 |
<authors><author><name>O2TI</name><user>o2ti</user><email>contato@o2ti.com</email></author></authors>
|
| 36 |
+
<date>2014-06-02</date>
|
| 37 |
+
<time>13:10:36</time>
|
| 38 |
+
<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="d84423f0698fb9e0185c78fd85817615"/><dir name="Standard"><file name="Form.php" hash="e08b37acc7955f8a394ffa22fc409bf5"/><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="887389f534ec8720cafef90594bde40f"/><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="1622c290f55763f87910af733bc93363"/><file name="Write.php" hash="ac1d3e9ff033480cab6ea20af271fa91"/><file name=".ftpquota" hash="bd9db78914b33cca442f35848cc680b5"/></dir><dir name="controllers"><file name="IndexController.php" hash="b3330dd15ef7bfadc48e42b36e3d79b3"/><file name="StandardController.php" hash="e167519d1d9327627c5c510ac6641592"/></dir><dir name="etc"><file name="adminhtml.xml" hash="75bde86c187ceb24042233abde0f88b0"/><file name="config.xml" hash="7a272a9db5fdf8259d64658afb3e2ce5"/><file name="system.xml" hash="368f88872fabe9ea7194a0e46031b65a"/></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="5884870992a8ca883279bfaa8c8ec935"/><file name="mysql4-upgrade-0.1.0-0.2.1.php" hash="fce0926f7db51fe6e85d88e0efde968e"/><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="fce0926f7db51fe6e85d88e0efde968e"/><file name="mysql4-upgrade-0.2.1-0.2.4.php" hash="ce34fa0e39beb82eb44983507360c884"/></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="9a63f0a96f6b0e5a7836b68a52b39efe"/><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="d93546b8fddf941d7d94df34f5899642"/></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="985db6a5bc906f6edf8add1a64daf22f"/><file name="TestController.php" hash="0d26f4e317fcab7a9f00ec95eada45b4"/></dir><dir name="etc"><file name="config.xml" hash="d90a7d8420ec40b5440b7e011899a21f"/><file name="system.xml" hash="6819d39789d5c6d05c505b65dc0b0408"/></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><file name=".DS_Store" hash="15bd3b937c85e0f1c2cc079dcd2daa34"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="o2ti_moip.xml" hash="804727ff150522627ce626659b4eb8f6"/><file name="o2ti_onestepcheckout.xml" hash="634264305fd55ccdccbb6f47dde7209e"/></dir><dir name="template"><dir name="O2TI"><dir name="customer"><dir name="widget"><file name="dob.phtml" hash="7ac1cc016c90251d0c423d7347e9d715"/><file name="taxvat.phtml" hash="67333f779d3c7503209ce057a3b44c34"/></dir></dir><dir name="moip"><file name="Novaforma.phtml" hash="49d046daa42bae37c1c5e80ff88c3e0d"/><file name="boleto.phtml" hash="9ecd92654e0fda226a265dae40b1bd7f"/><file name="cartao.phtml" hash="22c6e3b63ea6b3fd2e606d324efbca18"/><file name="emptyupdate.phtml" hash="8625e958f0e2dd1138721b8518c8069a"/><file name="form.phtml" hash="97159f0fb40753ded7c032dfba582762"/><file name="horizontal_form.phtml" hash="b8591aa3c2448665afab4e8b2db53c15"/><file name="info.phtml" hash="c965f1f7589c0d1160c30d1427f59331"/><file name="layout_boleto.phtml" hash="6a609b4bc4bbbb610f151266983c06e1"/><file name="redirect.phtml" hash="4a778e5e9f9b391182cca210239cb18a"/><file name="refaz.phtml" hash="d81b71e6cc5ac3a96bce04f60cc8d917"/><file name="transferencia.phtml" hash="640c5c690474f70d70082446303eb63a"/><file name="vertical_form.phtml" hash="1575ac512a92646d429775e17b04d04c"/></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="774fff3f544dbf409a78912fc0a92fb1"/></dir><file name="billing.phtml" hash="9bb115ef2d82f993d17bca494715978a"/><file name="correio.phtml" hash="461b88fcbf6adffc4f23c5905932bafa"/><file name="coupon.phtml" hash="bc05962850ba33929ea44f5d90e3b179"/><file name="forgotpassword.phtml" hash="314947b27b30957a9e55f36ac456399e"/><file name="local.xml" hash="08c7ce351c502056fb9ee3a14a9b065a"/><file name="login.phtml" hash="6070e9f318fc3baf4abe273b44c29cec"/><dir name="payment"><file name="methods.phtml" hash="b3d73a82dd363b403ef3a87cbddc7141"/></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="25f02e1cf5fa04dfd59ac385c7bd6649"/><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="230aa342f398e1c2492138d3c6620e47"/></dir><file name="shipping.phtml" hash="025f8cf77f57fa9c0a753bd125ce1a78"/><dir name="shipping_method"><file name="available.phtml" hash="c8f60e3c2dbe58cce077863141f6de49"/></dir><file name="shipping_method.phtml" hash="58c56da9e30df17c997e08e20e32a8ee"/></dir></dir><file name="daskboard.phtml" hash="ed2a3a7050d23145d69aa549051526b1"/><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></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="customer"><dir name="widget"><file name="dob.phtml" hash="7ac1cc016c90251d0c423d7347e9d715"/><file name="taxvat.phtml" hash="67333f779d3c7503209ce057a3b44c34"/></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="741e3ead95eeb64d9a3545b30ddff304"/><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="base"><dir name="default"><dir name="O2TI"><dir name="moip"><dir name="css"><file name="bootstrap.css" hash="db05bd81fafa80734eb7a0ffc98a884f"/><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="e751ac2b1b269faf77f8cea58848151e"/></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="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></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="22083858d5c72381bac98513bb401e9a"/><file name="change-events.js" hash="eacf87693bd383d54b1a542ad1444e6e"/><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="26db92ec784ba3d6ba4d48ba5774dd58"/><file name="MOIP_SQL_MANUAL_INSTALATION.txt" hash="13eae7f8c8c9f6acb5011bb6afd2e514"/></dir></target></contents>
|
| 39 |
<compatible/>
|
| 40 |
<dependencies><required><php><min>4.0.0</min><max>15.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>
|
| 41 |
</package>
|
skin/frontend/base/default/O2TI/moip/css/bootstrap.css
CHANGED
|
@@ -20,7 +20,6 @@
|
|
| 20 |
#moip_corpo {float: left; width:100%;}
|
| 21 |
#icone_pg {float: left; width: 10%; margin-right: 2%;margin-bottom: 15px;}
|
| 22 |
#Descr_pg {float: left; width: 88%;margin-bottom: 15px;min-height:140px;}
|
| 23 |
-
#pgcartao {min-height:140px;}
|
| 24 |
#Descr_pedido{float:left;width:100%;}
|
| 25 |
#Descr_corpo{float:left;width:50%;}
|
| 26 |
#Descr_produto{float:left;width:50%;}
|
|
@@ -78,7 +77,7 @@ min-width: 250px;
|
|
| 78 |
|
| 79 |
.cc-title{background:url(../imagem/cc-title.png) no-repeat 0px -10px;padding: 45px 0;padding-left:140px;}
|
| 80 |
.cc-title h3{font-size:14pt;}
|
| 81 |
-
#refazercartao{float:left;width:auto;
|
| 82 |
#refazercartao h3{font-size:14pt;line-height:1.3;text-align:center;}
|
| 83 |
#refazercartao ul li h3{margin-top:20px;}
|
| 84 |
#refazercartao ul li label{color:#666}
|
| 20 |
#moip_corpo {float: left; width:100%;}
|
| 21 |
#icone_pg {float: left; width: 10%; margin-right: 2%;margin-bottom: 15px;}
|
| 22 |
#Descr_pg {float: left; width: 88%;margin-bottom: 15px;min-height:140px;}
|
|
|
|
| 23 |
#Descr_pedido{float:left;width:100%;}
|
| 24 |
#Descr_corpo{float:left;width:50%;}
|
| 25 |
#Descr_produto{float:left;width:50%;}
|
| 77 |
|
| 78 |
.cc-title{background:url(../imagem/cc-title.png) no-repeat 0px -10px;padding: 45px 0;padding-left:140px;}
|
| 79 |
.cc-title h3{font-size:14pt;}
|
| 80 |
+
#refazercartao{float:left;width:auto;clear:both;background:#f0f0f0;padding: 20px;border-radius:10px;margin: 10px 0;box-shadow: inset 0 0 10px #000;}
|
| 81 |
#refazercartao h3{font-size:14pt;line-height:1.3;text-align:center;}
|
| 82 |
#refazercartao ul li h3{margin-top:20px;}
|
| 83 |
#refazercartao ul li label{color:#666}
|
skin/frontend/base/default/O2TI/onestepcheckout/css/onestepcheckout.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 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:
|
| 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; }
|
|
@@ -38,4 +38,7 @@
|
|
| 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; }
|
|
|
|
|
|
|
|
|
| 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: 97%; 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; }
|
| 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; }
|
| 42 |
+
#shipping_show {
|
| 43 |
+
margin-top: 10px !important;
|
| 44 |
+
}
|
