Version Notes
Buscapé Bcash é compatível com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Buscape_PagamentoDigital |
| Version | 0.1.11 |
| Comparing to | |
| See all releases | |
Code changes from version 0.1.10 to 0.1.11
- app/code/community/Buscape/PagamentoDigital/Model/Standard.php +121 -15
- app/code/community/Buscape/PagamentoDigital/controllers/StandardController.php +11 -4
- app/code/community/Buscape/PagamentoDigital/etc/config.xml +1 -1
- app/{design/adminhtml/default/default/layout/buscape_pagamentodigital.xml → code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.10.php} +19 -37
- app/code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.11.php +19 -0
- app/code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.8.php +19 -0
- app/code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.9.php +19 -0
- app/design/frontend/base/default/template/buscape/pagamentodigital/payment.phtml +8 -10
- package.xml +6 -6
- skin/adminhtml/default/default/buscape/pagamentodigital/css/magentomodal.css +0 -194
- skin/adminhtml/default/default/buscape/pagamentodigital/images/btn_bg.gif +0 -0
- skin/adminhtml/default/default/buscape/pagamentodigital/images/content_bg.gif +0 -0
- skin/adminhtml/default/default/buscape/pagamentodigital/images/top_bg.gif +0 -0
- skin/adminhtml/default/default/buscape/pagamentodigital/images/window_close.png +0 -0
- skin/adminhtml/default/default/buscape/pagamentodigital/js/exibitionsettingswebcheckout.js +0 -26
app/code/community/Buscape/PagamentoDigital/Model/Standard.php
CHANGED
|
@@ -188,28 +188,134 @@ class Buscape_PagamentoDigital_Model_Standard extends Mage_Payment_Model_Method_
|
|
| 188 |
$shipping_description = $order->getData('shipping_description');
|
| 189 |
|
| 190 |
if (Mage::getStoreConfig('dev/buscape_connect/pdidplataforma')) {
|
| 191 |
-
|
|
|
|
|
|
|
| 192 |
} else {
|
| 193 |
-
|
|
|
|
|
|
|
| 194 |
}
|
| 195 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
$sArr = array(
|
| 197 |
'email_loja' => $this->getConfigData('emailID'),
|
| 198 |
'tipo_integracao' => "PAD",
|
| 199 |
-
|
| 200 |
-
'nome'
|
| 201 |
-
'cep'
|
| 202 |
-
'endereco' => $
|
| 203 |
-
'complemento'
|
| 204 |
-
'bairro'
|
| 205 |
-
'cidade'
|
| 206 |
-
'estado'
|
| 207 |
-
'pais'
|
| 208 |
-
'telefone'
|
| 209 |
-
'email'
|
| 210 |
'meio_pagamento' => $payment_type,
|
| 211 |
-
'tipo_frete'
|
| 212 |
-
'id_plataforma'
|
|
|
|
|
|
|
| 213 |
);
|
| 214 |
|
| 215 |
if ($items) {
|
| 188 |
$shipping_description = $order->getData('shipping_description');
|
| 189 |
|
| 190 |
if (Mage::getStoreConfig('dev/buscape_connect/pdidplataforma')) {
|
| 191 |
+
|
| 192 |
+
$pdidplataforma = Mage::getStoreConfig('dev/buscape_connect/pdidplataforma');
|
| 193 |
+
|
| 194 |
} else {
|
| 195 |
+
|
| 196 |
+
$pdidplataforma = '461';
|
| 197 |
+
|
| 198 |
}
|
| 199 |
|
| 200 |
+
$cpf = '';
|
| 201 |
+
|
| 202 |
+
switch(true) {
|
| 203 |
+
case !is_null($order->getData('customer_taxvat')):
|
| 204 |
+
$cpf = $order->getData('customer_taxvat');
|
| 205 |
+
break;
|
| 206 |
+
case !is_null($order->getCpfCnpj()):
|
| 207 |
+
$cpf = $order->getCpfCnpj();
|
| 208 |
+
break;
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
function onlyNum($str) {
|
| 212 |
+
return preg_replace("/[^0-9]/", "", $str);
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
$cpf = onlyNum($cpf);
|
| 216 |
+
|
| 217 |
+
function limpa_string($var, $enc = 'UTF-8')
|
| 218 |
+
{
|
| 219 |
+
$acentos = array(
|
| 220 |
+
'a' => '/À|Á|Â|Ã|Ä|Å/',
|
| 221 |
+
'a' => '/à|á|â|ã|ä|å/',
|
| 222 |
+
'c' => '/Ç/',
|
| 223 |
+
'c' => '/ç/',
|
| 224 |
+
'e' => '/È|É|Ê|Ë/',
|
| 225 |
+
'e' => '/è|é|ê|ë/',
|
| 226 |
+
'i' => '/Ì|Í|Î|Ï/',
|
| 227 |
+
'i' => '/ì|í|î|ï/',
|
| 228 |
+
'n' => '/Ñ/',
|
| 229 |
+
'n' => '/ñ/',
|
| 230 |
+
'o' => '/Ò|Ó|Ô|Õ|Ö/',
|
| 231 |
+
'o' => '/ò|ó|ô|õ|ö/',
|
| 232 |
+
'u' => '/Ù|Ú|Û|Ü/',
|
| 233 |
+
'u' => '/ù|ú|û|ü/',
|
| 234 |
+
'y' => '/Ý/',
|
| 235 |
+
'y' => '/ý|ÿ/',
|
| 236 |
+
'a.' => '/ª/',
|
| 237 |
+
'o.' => '/º/'
|
| 238 |
+
);
|
| 239 |
+
|
| 240 |
+
$var = preg_replace($acentos, array_keys($acentos), $var);
|
| 241 |
+
|
| 242 |
+
$var = strtolower($var);
|
| 243 |
+
|
| 244 |
+
$var = str_replace(" ", "_", $var);
|
| 245 |
+
|
| 246 |
+
return $var;
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
$uf = $order->getBillingAddress()->getRegion();
|
| 250 |
+
|
| 251 |
+
if(strlen($uf) !="2"){
|
| 252 |
+
|
| 253 |
+
$uf = limpa_string($uf);
|
| 254 |
+
|
| 255 |
+
$_state_sigla = array(
|
| 256 |
+
'acre' => 'AC',
|
| 257 |
+
'alagoas' => 'AL',
|
| 258 |
+
'amapa' => 'AP',
|
| 259 |
+
'amazonas' => 'AM',
|
| 260 |
+
'bahia' => 'BA',
|
| 261 |
+
'ceara' => 'CE',
|
| 262 |
+
'distrito_federal' => 'DF',
|
| 263 |
+
'espirito_santo' => 'ES',
|
| 264 |
+
'goias' => 'GO',
|
| 265 |
+
'maranhao' => 'MA',
|
| 266 |
+
'mato_grosso' => 'MT',
|
| 267 |
+
'mato_grosso_do_sul' => 'MS',
|
| 268 |
+
'minas_gerais' => 'MG',
|
| 269 |
+
'para' => 'PA',
|
| 270 |
+
'paraiba' => 'PB',
|
| 271 |
+
'parana' => 'PR',
|
| 272 |
+
'pernambuco' => 'PE',
|
| 273 |
+
'piaui' => 'PI',
|
| 274 |
+
'rio_de_janeiro' => 'RJ',
|
| 275 |
+
'rio_grande_do_norte' => 'RN',
|
| 276 |
+
'rio_grande_do_sul' => 'RS',
|
| 277 |
+
'rondonia' => 'RO',
|
| 278 |
+
'roraima' => 'RR',
|
| 279 |
+
'santa_catarina' => 'SC',
|
| 280 |
+
'sao_paulo' => 'SP',
|
| 281 |
+
'sergipe' => 'SE',
|
| 282 |
+
'tocatins' => 'TO'
|
| 283 |
+
);
|
| 284 |
+
|
| 285 |
+
$uf = $_state_sigla[$uf];
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
$numEndereco = onlyNum($a->getStreet(1));
|
| 289 |
+
|
| 290 |
+
$endereco = $a->getStreet(1);
|
| 291 |
+
|
| 292 |
+
$endereco = str_replace($numEndereco, "", $endereco);
|
| 293 |
+
|
| 294 |
+
$endereco = str_replace(",", "", $endereco);
|
| 295 |
+
|
| 296 |
+
$endereco = $endereco. ", ". $numEndereco;
|
| 297 |
+
|
| 298 |
+
$valorFrete = number_format($order->getBaseShippingAmount(), 2, ".", "");
|
| 299 |
+
|
| 300 |
$sArr = array(
|
| 301 |
'email_loja' => $this->getConfigData('emailID'),
|
| 302 |
'tipo_integracao' => "PAD",
|
| 303 |
+
'id_pedido' => $this->getConfigData('prefixo').$orderIncrementId,
|
| 304 |
+
'nome' => $a->getFirstname() . ' ' . str_replace("(pj)", "", $a->getLastname()),
|
| 305 |
+
'cep' => $postal_code,
|
| 306 |
+
'endereco' => $endereco,
|
| 307 |
+
//'complemento' => "",//$a->getStreet(3),
|
| 308 |
+
//'bairro' => $a->getStreet(2),
|
| 309 |
+
'cidade' => $a->getCity(),
|
| 310 |
+
'estado' => $uf,
|
| 311 |
+
'pais' => $a->getCountry(),
|
| 312 |
+
'telefone' => substr(str_replace(" ","",str_replace("(","",str_replace(")","",str_replace("-","",$a->getTelephone())))),0,2) . substr(str_replace(" ","",str_replace("-","",$a->getTelephone())),-8),
|
| 313 |
+
'email' => $a->getEmail(),
|
| 314 |
'meio_pagamento' => $payment_type,
|
| 315 |
+
//'tipo_frete' => $shipping_description,
|
| 316 |
+
'id_plataforma' => $pdidplataforma,
|
| 317 |
+
'cpf' => $cpf,
|
| 318 |
+
'frete' => $valorFrete
|
| 319 |
);
|
| 320 |
|
| 321 |
if ($items) {
|
app/code/community/Buscape/PagamentoDigital/controllers/StandardController.php
CHANGED
|
@@ -166,7 +166,7 @@ class Buscape_PagamentoDigital_StandardController extends Mage_Core_Controller_F
|
|
| 166 |
$email = $this->getApi()->getConfigData('emailID');
|
| 167 |
|
| 168 |
// Obtenha seu TOKEN entrando no menu Ferramentas do Pagamento Digital
|
| 169 |
-
$token = $this->getApi()->getConfigData('token')
|
| 170 |
|
| 171 |
|
| 172 |
$urlPost = "https://www.bcash.com.br/transacao/consulta/";
|
|
@@ -228,11 +228,18 @@ class Buscape_PagamentoDigital_StandardController extends Mage_Core_Controller_F
|
|
| 228 |
$order->loadByIncrementId($pedidoId);
|
| 229 |
|
| 230 |
if ($order->getId()) {
|
| 231 |
-
|
| 232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
|
| 234 |
$frase = 'Total pago ao Bcash é diferente do valor original.';
|
| 235 |
-
|
| 236 |
$order->addStatusToHistory(
|
| 237 |
$order->getStatus(), //continue setting current order status
|
| 238 |
Mage::helper('pagamentodigital')->__($frase), true
|
| 166 |
$email = $this->getApi()->getConfigData('emailID');
|
| 167 |
|
| 168 |
// Obtenha seu TOKEN entrando no menu Ferramentas do Pagamento Digital
|
| 169 |
+
$token = $this->getApi()->getConfigData('token');
|
| 170 |
|
| 171 |
|
| 172 |
$urlPost = "https://www.bcash.com.br/transacao/consulta/";
|
| 228 |
$order->loadByIncrementId($pedidoId);
|
| 229 |
|
| 230 |
if ($order->getId()) {
|
| 231 |
+
|
| 232 |
+
$valor_loja = round(floatval($order->getGrandTotal()),2);
|
| 233 |
+
$valor_bcash = round(floatval($xml->valor_original),2)+round(floatval($xml->desconto_programado),2);
|
| 234 |
+
echo "Valor Loja = " . floatval($order->getGrandTotal()) . "<br>";
|
| 235 |
+
echo "Valor Bcash = " . (floatval($xml->valor_original)+floatval($xml->desconto_programado)) . "<br>";
|
| 236 |
+
echo "Valor Loja (Floor) = " . $valor_loja . "<br>";
|
| 237 |
+
echo "Valor Bcash (Floor) = " . $valor_bcash . "<br>";
|
| 238 |
+
|
| 239 |
+
if ( $valor_loja != $valor_bcash ) {
|
| 240 |
|
| 241 |
$frase = 'Total pago ao Bcash é diferente do valor original.';
|
| 242 |
+
echo $frase;
|
| 243 |
$order->addStatusToHistory(
|
| 244 |
$order->getStatus(), //continue setting current order status
|
| 245 |
Mage::helper('pagamentodigital')->__($frase), true
|
app/code/community/Buscape/PagamentoDigital/etc/config.xml
CHANGED
|
@@ -22,7 +22,7 @@
|
|
| 22 |
<config>
|
| 23 |
<modules>
|
| 24 |
<Buscape_PagamentoDigital>
|
| 25 |
-
<version>0.1.
|
| 26 |
</Buscape_PagamentoDigital>
|
| 27 |
</modules>
|
| 28 |
<global>
|
| 22 |
<config>
|
| 23 |
<modules>
|
| 24 |
<Buscape_PagamentoDigital>
|
| 25 |
+
<version>0.1.11</version>
|
| 26 |
</Buscape_PagamentoDigital>
|
| 27 |
</modules>
|
| 28 |
<global>
|
app/{design/adminhtml/default/default/layout/buscape_pagamentodigital.xml → code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.10.php}
RENAMED
|
@@ -1,37 +1,19 @@
|
|
| 1 |
-
<?
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
*
|
| 5 |
-
*
|
| 6 |
-
*
|
| 7 |
-
*
|
| 8 |
-
*
|
| 9 |
-
*
|
| 10 |
-
*
|
| 11 |
-
*
|
| 12 |
-
*
|
| 13 |
-
*
|
| 14 |
-
*
|
| 15 |
-
*
|
| 16 |
-
* @
|
| 17 |
-
* @
|
| 18 |
-
* @
|
| 19 |
-
|
| 20 |
-
*/
|
| 21 |
-
-->
|
| 22 |
-
<layout version="0.1.0">
|
| 23 |
-
<adminhtml_system_config_edit>
|
| 24 |
-
<reference name="head">
|
| 25 |
-
<action method="addItem">
|
| 26 |
-
<type>skin_js</type>
|
| 27 |
-
<script>buscape/pagamentodigital/js/exibitionsettingswebcheckout.js</script>
|
| 28 |
-
</action>
|
| 29 |
-
<action method="addCss">
|
| 30 |
-
<stylesheet>buscape/pagamentodigital/css/magentomodal.css</stylesheet>
|
| 31 |
-
</action>
|
| 32 |
-
</reference>
|
| 33 |
-
<reference name="content">
|
| 34 |
-
<block type="page/html" name="getbaseurl" template="buscape/pagamentodigital/getbaseurl.phtml" />
|
| 35 |
-
</reference>
|
| 36 |
-
</adminhtml_system_config_edit>
|
| 37 |
-
</layout>
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* @category Buscape
|
| 16 |
+
* @package Buscape_PagamentoDigital
|
| 17 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
| 18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 19 |
+
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.11.php
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* @category Buscape
|
| 16 |
+
* @package Buscape_PagamentoDigital
|
| 17 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
| 18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 19 |
+
*/
|
app/code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.8.php
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* @category Buscape
|
| 16 |
+
* @package Buscape_PagamentoDigital
|
| 17 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
| 18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 19 |
+
*/
|
app/code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.9.php
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* @category Buscape
|
| 16 |
+
* @package Buscape_PagamentoDigital
|
| 17 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
| 18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 19 |
+
*/
|
app/design/frontend/base/default/template/buscape/pagamentodigital/payment.phtml
CHANGED
|
@@ -38,15 +38,15 @@
|
|
| 38 |
var frame_pd = document.createElement("iframe");
|
| 39 |
|
| 40 |
frame_pd.setAttribute("style","border:0px");
|
| 41 |
-
frame_pd.setAttribute("width","
|
| 42 |
frame_pd.setAttribute("height","700");
|
| 43 |
frame_pd.setAttribute("name","pd_frame");
|
| 44 |
|
| 45 |
-
img_close.setAttribute("style","position: relative;margin-left:
|
| 46 |
img_close.setAttribute("src","<?php echo $this->getSkinUrl('buscape/pagamentodigital/images/close.png'); ?>");
|
| 47 |
|
| 48 |
-
div_frame.setAttribute("style","padding: 10px;background-color: #fff;width:
|
| 49 |
-
div_frame.setAttribute("id","lightbox");
|
| 50 |
|
| 51 |
div_pd.setAttribute("id","overlay-pd");
|
| 52 |
|
|
@@ -67,7 +67,6 @@
|
|
| 67 |
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a>
|
| 68 |
<br />
|
| 69 |
<br />
|
| 70 |
-
<iframe name="pd_frame" width="100%" height="0" style="border:0px" ></iframe>
|
| 71 |
<object type="application/x-shockwave-flash" data="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" width="468" height="60">
|
| 72 |
<param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
|
| 73 |
<param name="wmode" value="transparent"/>
|
|
@@ -150,15 +149,15 @@
|
|
| 150 |
var frame_pd = document.createElement("iframe");
|
| 151 |
|
| 152 |
frame_pd.setAttribute("style","border:0px");
|
| 153 |
-
frame_pd.setAttribute("width","
|
| 154 |
frame_pd.setAttribute("height","700");
|
| 155 |
frame_pd.setAttribute("name","pd_frame");
|
| 156 |
|
| 157 |
-
img_close.setAttribute("style","position: relative;margin-left:
|
| 158 |
img_close.setAttribute("src","<?php echo $this->getSkinUrl('buscape/pagamentodigital/images/close.png'); ?>");
|
| 159 |
|
| 160 |
-
div_frame.setAttribute("style","padding: 10px;background-color: #fff;width:
|
| 161 |
-
div_frame.setAttribute("id","lightbox");
|
| 162 |
|
| 163 |
div_pd.setAttribute("id","overlay-pd");
|
| 164 |
|
|
@@ -179,7 +178,6 @@
|
|
| 179 |
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a>
|
| 180 |
<br />
|
| 181 |
<br />
|
| 182 |
-
<iframe name="pd_frame" width="100%" height="0" style="border:0px" ></iframe>
|
| 183 |
<object type="application/x-shockwave-flash" data="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" width="468" height="60">
|
| 184 |
<param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
|
| 185 |
<param name="wmode" value="transparent"/>
|
| 38 |
var frame_pd = document.createElement("iframe");
|
| 39 |
|
| 40 |
frame_pd.setAttribute("style","border:0px");
|
| 41 |
+
frame_pd.setAttribute("width","100%");
|
| 42 |
frame_pd.setAttribute("height","700");
|
| 43 |
frame_pd.setAttribute("name","pd_frame");
|
| 44 |
|
| 45 |
+
img_close.setAttribute("style","position: relative;margin-left: 99%;margin-top: -20px;");
|
| 46 |
img_close.setAttribute("src","<?php echo $this->getSkinUrl('buscape/pagamentodigital/images/close.png'); ?>");
|
| 47 |
|
| 48 |
+
div_frame.setAttribute("style","padding: 10px;background-color: #fff;width: 90%;margin-top: 50px");
|
| 49 |
+
div_frame.setAttribute("id","lightbox-bcash");
|
| 50 |
|
| 51 |
div_pd.setAttribute("id","overlay-pd");
|
| 52 |
|
| 67 |
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a>
|
| 68 |
<br />
|
| 69 |
<br />
|
|
|
|
| 70 |
<object type="application/x-shockwave-flash" data="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" width="468" height="60">
|
| 71 |
<param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
|
| 72 |
<param name="wmode" value="transparent"/>
|
| 149 |
var frame_pd = document.createElement("iframe");
|
| 150 |
|
| 151 |
frame_pd.setAttribute("style","border:0px");
|
| 152 |
+
frame_pd.setAttribute("width","100%");
|
| 153 |
frame_pd.setAttribute("height","700");
|
| 154 |
frame_pd.setAttribute("name","pd_frame");
|
| 155 |
|
| 156 |
+
img_close.setAttribute("style","position: relative;margin-left: 99%;margin-top: -20px;");
|
| 157 |
img_close.setAttribute("src","<?php echo $this->getSkinUrl('buscape/pagamentodigital/images/close.png'); ?>");
|
| 158 |
|
| 159 |
+
div_frame.setAttribute("style","padding: 10px;background-color: #fff;width: 90%;margin-top: 50px");
|
| 160 |
+
div_frame.setAttribute("id","lightbox-bcash");
|
| 161 |
|
| 162 |
div_pd.setAttribute("id","overlay-pd");
|
| 163 |
|
| 178 |
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a>
|
| 179 |
<br />
|
| 180 |
<br />
|
|
|
|
| 181 |
<object type="application/x-shockwave-flash" data="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" width="468" height="60">
|
| 182 |
<param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
|
| 183 |
<param name="wmode" value="transparent"/>
|
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Buscape_PagamentoDigital</name>
|
| 4 |
-
<version>0.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Extensão Buscapé Bcash para Magento</summary>
|
| 10 |
-
<description>Bcash é
|
| 11 |
<notes>Buscapé Bcash é compatível com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.</notes>
|
| 12 |
-
<authors><author><name>Buscapé Developer</name><user>auto-converted</user><email>suporte.developer@
|
| 13 |
-
<date>
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Buscape_PagamentoDigital.xml" hash="4b7fff0bb6f034c600fb8fd084c5cf5a"/></dir></target><target name="magecommunity"><dir name="Buscape"><dir name="PagamentoDigital"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Label.php" hash="b128988f4674cab89cbaf9069c782f91"/></dir></dir></dir></dir><dir name="Form"><file name="Geral.php" hash="aeb083bfedc4bb426827fa3959eec112"/><file name="Prazo.php" hash="2dbf3b07ce78406141d2f6bb4adb0af3"/><file name="Vista.php" hash="a30e9c0f19f7118cf0a746870c36e1bd"/></dir><dir name="Info"><file name="Geral.php" hash="0c602781dd150cf2f8d6cc80eab1aa64"/><file name="Prazo.php" hash="dea3d0b443b2ea8e5ff396f51baa1475"/><file name="Vista.php" hash="1edfd2e5588e25945ce3c3d76bb334a5"/></dir><file name="Error.php" hash="0957c100babdd4ebe41a195840e188bb"/><file name="Link.php" hash="e69fe88ec62ffe80bd7622d2c56dcb89"/><file name="Payment.php" hash="cbd3b51a41274e59ba8e11c844074e98"/><file name="Redirect.php" hash="a8ab26b17756040fbec740da8687c694"/><file name="Return.php" hash="eb00737902add820311151fa7dd68576"/></dir><dir name="Helper"><file name="Data.php" hash="18cb654bcfe5066fed63e084e065f292"/></dir><dir name="Model"><dir name="Mysql4"><file name="Setup.php" hash="a8981d3d42f9a483a0be3fbdada8df76"/></dir><dir name="Source"><file name="Country.php" hash="59f550e14b47b7005a095bd660eeda66"/><file name="Parcelas.php" hash="5660c43330b42a0fc5745c8337d93806"/><file name="Specificcountries.php" hash="84beb8387ace1ef45f0b0176578b26dd"/><file name="Webcheckout.php" hash="714ee47fcd3dcc9bc84acf2846bc2e03"/></dir><file name="Config.php" hash="d07a9e15c21b57eb57ed126698284dcd"/><file name="Geral.php" hash="d85881310266dae4dfb285f8a4a6dc0c"/><file name="Observer.php" hash="e524758d572f77cdfe6ec8129bbbcac6"/><file name="Prazo.php" hash="a198dfd0c0cffa02fe5dc475a2664ba2"/><file name="Standard.php" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies/>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Buscape_PagamentoDigital</name>
|
| 4 |
+
<version>0.1.11</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Extensão Buscapé Bcash para Magento</summary>
|
| 10 |
+
<description>O Bcash é um serviço completo de soluções de pagamento. Com nossa tecnologia, temos um canal direto de comunicação com bancos e operadoras de cartões de crédito ( Visa 12x, Mastercard 12x, American Express 12x, Aura 24x, Diners 12x, HiperCard 12x, Boleto Bancário, Transferência online para os bancos Itaú, Bradesco e Banco do Brasil e também com seu Saldo Virtual Bcash), fazendo com que todas as transações no ambiente Bcash sejam seguras.</description>
|
| 11 |
<notes>Buscapé Bcash é compatível com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.</notes>
|
| 12 |
+
<authors><author><name>Buscapé Developer</name><user>auto-converted</user><email>suporte.developer@buscape-inc.com</email></author></authors>
|
| 13 |
+
<date>2013-04-19</date>
|
| 14 |
+
<time>14:10:53</time>
|
| 15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Buscape_PagamentoDigital.xml" hash="4b7fff0bb6f034c600fb8fd084c5cf5a"/></dir></target><target name="magecommunity"><dir name="Buscape"><dir name="PagamentoDigital"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Label.php" hash="b128988f4674cab89cbaf9069c782f91"/></dir></dir></dir></dir><dir name="Form"><file name="Geral.php" hash="aeb083bfedc4bb426827fa3959eec112"/><file name="Prazo.php" hash="2dbf3b07ce78406141d2f6bb4adb0af3"/><file name="Vista.php" hash="a30e9c0f19f7118cf0a746870c36e1bd"/></dir><dir name="Info"><file name="Geral.php" hash="0c602781dd150cf2f8d6cc80eab1aa64"/><file name="Prazo.php" hash="dea3d0b443b2ea8e5ff396f51baa1475"/><file name="Vista.php" hash="1edfd2e5588e25945ce3c3d76bb334a5"/></dir><file name="Error.php" hash="0957c100babdd4ebe41a195840e188bb"/><file name="Link.php" hash="e69fe88ec62ffe80bd7622d2c56dcb89"/><file name="Payment.php" hash="cbd3b51a41274e59ba8e11c844074e98"/><file name="Redirect.php" hash="a8ab26b17756040fbec740da8687c694"/><file name="Return.php" hash="eb00737902add820311151fa7dd68576"/></dir><dir name="Helper"><file name="Data.php" hash="18cb654bcfe5066fed63e084e065f292"/></dir><dir name="Model"><dir name="Mysql4"><file name="Setup.php" hash="a8981d3d42f9a483a0be3fbdada8df76"/></dir><dir name="Source"><file name="Country.php" hash="59f550e14b47b7005a095bd660eeda66"/><file name="Parcelas.php" hash="5660c43330b42a0fc5745c8337d93806"/><file name="Specificcountries.php" hash="84beb8387ace1ef45f0b0176578b26dd"/><file name="Webcheckout.php" hash="714ee47fcd3dcc9bc84acf2846bc2e03"/></dir><file name="Config.php" hash="d07a9e15c21b57eb57ed126698284dcd"/><file name="Geral.php" hash="d85881310266dae4dfb285f8a4a6dc0c"/><file name="Observer.php" hash="e524758d572f77cdfe6ec8129bbbcac6"/><file name="Prazo.php" hash="a198dfd0c0cffa02fe5dc475a2664ba2"/><file name="Standard.php" hash="dc8786b698fb11de98ac8b4e1cc0ecb3"/><file name="Vista.php" hash="aac1bce4b09a14e8ac15e43b012bb7d2"/></dir><dir name="controllers"><file name="StandardController.php" hash="c6568ac2bf4b62a45c05734a816e3b33"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5901e52adfeb0be53027574b969b4043"/><file name="config.xml" hash="3c2fc1a35b11830262be77935b22a3f7"/><file name="system.xml" hash="12d2c8746e08920a772ff7517f52a5c3"/></dir><dir name="sql"><dir name="pagamentodigital_setup"><file name="mysql4-install-0.1.0.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.1.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.10.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.11.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.2.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.3.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.4.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.5.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.6.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.7.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.8.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.9.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="buscape"><dir name="pagamentodigital"><dir name="form"><dir name="images"><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir><file name="geral.phtml" hash="e05add8237dda8993cbe52d4de8670cc"/><file name="prazo.phtml" hash="3f505f6206e361121b9c19c68af2cce0"/><file name="vista.phtml" hash="5e08da9e6679d0011a1efb08dcd9ada7"/></dir><dir name="info"><file name="geral.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/><file name="prazo.phtml" hash="1541597a9032477f3804ff8215c8c4ad"/><file name="vista.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/></dir><file name="error.phtml" hash="7b3cdbd94f67af52964f5f3cc84ee0d5"/><file name="head.phtml" hash="8498491865368b05b5f92f2eeb45a873"/><file name="overlay.phtml" hash="95d9f87fbc92d01b4f8abd1df3c89ecd"/><file name="payment.phtml" hash="af28f837fc7fa3442ad0963041e5ee3f"/><file name="return.phtml" hash="4382cac16c029073ec6cf072187282eb"/></dir></dir></dir><dir name="layout"><file name="buscape_pagamentodigital.xml" hash="dc4eb25504808033e564afdd44285455"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="buscape_pagamentodigital.xml" hash=""/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="buscape"><dir name="pagamentodigital"><dir name="form"><file name="geral.phtml" hash="6ed35b50d6822d851593dd2865a8512e"/><file name="prazo.phtml" hash="9fd35571d3d5adb0119c9b324cdd4d98"/><file name="vista.phtml" hash="87812b73f7edd30ea060978947cced13"/></dir><dir name="info"><file name="geral.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/><file name="prazo.phtml" hash="1541597a9032477f3804ff8215c8c4ad"/><file name="vista.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/></dir><file name="getbaseurl.phtml" hash="9e521b95714d989895412237cc12ae5b"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="buscape"><dir name="pagamentodigital"><dir name="css"><file name="styles.css" hash="98964b4f868380ecd053eb3804430113"/></dir><dir name="images"><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/><file name="print-iframe.jpg" hash="0cae7fbb7fcb696bba973ef0fe30460c"/><file name="print-modal.jpg" hash="6c91ccd3c86feb5ca1085b160e7611f8"/><file name="print-redirect2.jpg" hash="0c9fe43339e11d4fc18386fcade4af26"/></dir></dir></dir></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies/>
|
| 18 |
</package>
|
skin/adminhtml/default/default/buscape/pagamentodigital/css/magentomodal.css
DELETED
|
@@ -1,194 +0,0 @@
|
|
| 1 |
-
.overlay_dialog {
|
| 2 |
-
background-color: #666666;
|
| 3 |
-
filter:alpha(opacity=60);
|
| 4 |
-
-moz-opacity: 0.6;
|
| 5 |
-
opacity: 0.6;
|
| 6 |
-
}
|
| 7 |
-
|
| 8 |
-
.overlay___invisible__ {
|
| 9 |
-
background-color: #666666;
|
| 10 |
-
filter:alpha(opacity=0);
|
| 11 |
-
-moz-opacity: 0;
|
| 12 |
-
opacity: 0;
|
| 13 |
-
}
|
| 14 |
-
|
| 15 |
-
.dialog_nw {
|
| 16 |
-
width: 9px;
|
| 17 |
-
height: 23px;
|
| 18 |
-
background: transparent url(../images/top_left.gif) no-repeat 0 0;
|
| 19 |
-
}
|
| 20 |
-
|
| 21 |
-
.dialog_n {
|
| 22 |
-
background: transparent url(../images/top_mid.gif) repeat-x 0 0;
|
| 23 |
-
height: 23px;
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
-
.dialog_ne {
|
| 27 |
-
width: 9px;
|
| 28 |
-
height: 23px;
|
| 29 |
-
background: transparent url(../images/top_right.gif) no-repeat 0 0;
|
| 30 |
-
}
|
| 31 |
-
|
| 32 |
-
.dialog_e {
|
| 33 |
-
width: 2px;
|
| 34 |
-
background: transparent url(../images/center_right.gif) repeat-y 0 0;
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
.dialog_w {
|
| 38 |
-
width: 2px;
|
| 39 |
-
background: transparent url(../images/center_left.gif) repeat-y 0 0;
|
| 40 |
-
}
|
| 41 |
-
|
| 42 |
-
.dialog_sw {
|
| 43 |
-
width: 9px;
|
| 44 |
-
height: 19px;
|
| 45 |
-
background: transparent url(../images/bottom_left.gif) no-repeat 0 0;
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
.dialog_s {
|
| 49 |
-
background: transparent url(../images/bottom_mid.gif) repeat-x 0 0;
|
| 50 |
-
height: 19px;
|
| 51 |
-
}
|
| 52 |
-
|
| 53 |
-
.dialog_se {
|
| 54 |
-
width: 9px;
|
| 55 |
-
height: 19px;
|
| 56 |
-
background: transparent url(../images/bottom_right.gif) no-repeat 0 0;
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
-
.dialog_sizer {
|
| 60 |
-
width: 9px;
|
| 61 |
-
height: 19px;
|
| 62 |
-
background: transparent url(../images/sizer.gif) no-repeat 0 0;
|
| 63 |
-
cursor:se-resize;
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
.dialog_close {
|
| 67 |
-
width: 14px;
|
| 68 |
-
height: 14px;
|
| 69 |
-
background: transparent url(../images/close.gif) no-repeat 0 0;
|
| 70 |
-
position:absolute;
|
| 71 |
-
top:5px;
|
| 72 |
-
left:8px;
|
| 73 |
-
cursor:pointer;
|
| 74 |
-
z-index:2000;
|
| 75 |
-
}
|
| 76 |
-
|
| 77 |
-
.dialog_minimize {
|
| 78 |
-
width: 14px;
|
| 79 |
-
height: 15px;
|
| 80 |
-
background: transparent url(../images/minimize.gif) no-repeat 0 0;
|
| 81 |
-
position:absolute;
|
| 82 |
-
top:5px;
|
| 83 |
-
left:28px;
|
| 84 |
-
cursor:pointer;
|
| 85 |
-
z-index:2000;
|
| 86 |
-
}
|
| 87 |
-
|
| 88 |
-
.dialog_maximize {
|
| 89 |
-
width: 14px;
|
| 90 |
-
height: 15px;
|
| 91 |
-
background: transparent url(../images/maximize.gif) no-repeat 0 0;
|
| 92 |
-
position:absolute;
|
| 93 |
-
top:5px;
|
| 94 |
-
left:49px;
|
| 95 |
-
cursor:pointer;
|
| 96 |
-
z-index:2000;
|
| 97 |
-
}
|
| 98 |
-
|
| 99 |
-
.dialog_title {
|
| 100 |
-
float:left;
|
| 101 |
-
height:14px;
|
| 102 |
-
font-family: Tahoma, Arial, sans-serif;
|
| 103 |
-
font-size:12px;
|
| 104 |
-
text-align:center;
|
| 105 |
-
width:100%;
|
| 106 |
-
color:#000;
|
| 107 |
-
}
|
| 108 |
-
|
| 109 |
-
.dialog_content {
|
| 110 |
-
overflow:auto;
|
| 111 |
-
color: #DDD;
|
| 112 |
-
font-family: Tahoma, Arial, sans-serif;
|
| 113 |
-
font-size: 10px;
|
| 114 |
-
background-color:#123;
|
| 115 |
-
}
|
| 116 |
-
|
| 117 |
-
.top_draggable, .bottom_draggable {
|
| 118 |
-
cursor:move;
|
| 119 |
-
}
|
| 120 |
-
|
| 121 |
-
.status_bar {
|
| 122 |
-
font-size:12px;
|
| 123 |
-
}
|
| 124 |
-
.status_bar input{
|
| 125 |
-
font-size:12px;
|
| 126 |
-
}
|
| 127 |
-
|
| 128 |
-
.wired_frame {
|
| 129 |
-
display: block;
|
| 130 |
-
position: absolute;
|
| 131 |
-
border: 1px #000 dashed;
|
| 132 |
-
}
|
| 133 |
-
|
| 134 |
-
/* DO NOT CHANGE THESE VALUES*/
|
| 135 |
-
.dialog {
|
| 136 |
-
display: block;
|
| 137 |
-
position: absolute;
|
| 138 |
-
}
|
| 139 |
-
|
| 140 |
-
.dialog table.table_window {
|
| 141 |
-
border-collapse: collapse;
|
| 142 |
-
border-spacing: 0;
|
| 143 |
-
width: 100%;
|
| 144 |
-
margin: 0px;
|
| 145 |
-
padding:0px;
|
| 146 |
-
}
|
| 147 |
-
|
| 148 |
-
.dialog table.table_window td , .dialog table.table_window th {
|
| 149 |
-
padding: 0;
|
| 150 |
-
}
|
| 151 |
-
|
| 152 |
-
.dialog .title_window {
|
| 153 |
-
-moz-user-select:none;
|
| 154 |
-
}
|
| 155 |
-
|
| 156 |
-
.dialog { border:1px solid #555; }
|
| 157 |
-
.dialog .bot { display:none !important; }
|
| 158 |
-
.overlay_magento { background-color:#000; filter:alpha(opacity=60); -moz-opacity:.6; opacity:.6; -webkit-opacity:.6; }
|
| 159 |
-
.top.table_window { border-bottom:1px solid #e6e6e6; background:#6a838b url(../images/top_bg.gif) 0 100% repeat-x; }
|
| 160 |
-
|
| 161 |
-
.magento_nw { width:6px; height:28px; }
|
| 162 |
-
.magento_n { height:28px; }
|
| 163 |
-
.magento_ne { width:6px; height:28px; }
|
| 164 |
-
|
| 165 |
-
.magento_w { width:6px; }
|
| 166 |
-
.magento_e { width:6px; }
|
| 167 |
-
.magento_w,
|
| 168 |
-
.magento_e,
|
| 169 |
-
.magento_content { background: #fafafa url(../images/content_bg.gif) 0 0 repeat-x; }
|
| 170 |
-
|
| 171 |
-
.magento_sw { background:#deebf0; width:5px; height:3px; }
|
| 172 |
-
.magento_s { background:#deebf0; height:3px; }
|
| 173 |
-
.magento_se,
|
| 174 |
-
|
| 175 |
-
.magento_sizer { background:#deebf0; width:5px; height:3px; }
|
| 176 |
-
.magento_sizer { cursor:se-resize; }
|
| 177 |
-
|
| 178 |
-
.magento_close { width:16px; height:16px; background:url(../images/window_close.png) no-repeat 0 0; position:absolute; top:5px; right:7px; cursor:pointer; z-index:1000; }
|
| 179 |
-
.magento_minimize { width:16px; height:16px; background:url(../images/window_minimize.png) 0 0 no-repeat; position:absolute; top:5px; right:28px; cursor:pointer; z-index:1000; }
|
| 180 |
-
.magento_maximize { width:16px; height:16px; background:url(../images/window_maximize.png)0 0 no-repeat; position:absolute; top:5px; right:49px; cursor:pointer; z-index:1000; }
|
| 181 |
-
|
| 182 |
-
.magento_title { float:left; width:100%; font:bold 12px/28px Arial, Helvetica, sans-serif; color:#fff; text-align:left; }
|
| 183 |
-
|
| 184 |
-
.magento_content { overflow:auto; font-size:12px; }
|
| 185 |
-
.magento_content,
|
| 186 |
-
.magento_content label { color:#333; font-family:Arial, sans-serif; }
|
| 187 |
-
|
| 188 |
-
.magento_buttons { padding:10px; text-align:right; }
|
| 189 |
-
.magento_buttons input.button { border-width:1px; border-style:solid; border-color:#ed6502 #a04300 #a04300 #ed6502; background:#ffac47 url(../images/btn_bg.gif) 0 100% repeat-x; padding:0 7px 1px 7px; font:bold 12px/18px Arial, Helvetica, sans-serif; color:#fff; cursor:pointer; text-align:center; white-space:nowrap; }
|
| 190 |
-
|
| 191 |
-
/* FOR IE */
|
| 192 |
-
* html .magento_close { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../images/window_maximize.png", sizingMethod="crop"); }
|
| 193 |
-
* html .magento_minimize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../images/window_close.png", sizingMethod="crop");}
|
| 194 |
-
* html .magento_maximize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../images/window_minimize.png", sizingMethod="crop"); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
skin/adminhtml/default/default/buscape/pagamentodigital/images/btn_bg.gif
DELETED
|
Binary file
|
skin/adminhtml/default/default/buscape/pagamentodigital/images/content_bg.gif
DELETED
|
Binary file
|
skin/adminhtml/default/default/buscape/pagamentodigital/images/top_bg.gif
DELETED
|
Binary file
|
skin/adminhtml/default/default/buscape/pagamentodigital/images/window_close.png
DELETED
|
Binary file
|
skin/adminhtml/default/default/buscape/pagamentodigital/js/exibitionsettingswebcheckout.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
| 1 |
-
|
| 2 |
-
function openModalBcash(url, txtTitle)
|
| 3 |
-
{
|
| 4 |
-
var _url = pagamentodigital_baseurl + url;
|
| 5 |
-
|
| 6 |
-
if(txtTitle === null || txtTitle === '') {
|
| 7 |
-
txtTitle = 'Validação das informações do Anúncio';
|
| 8 |
-
}
|
| 9 |
-
winCompare = new Window({
|
| 10 |
-
className:'magento',
|
| 11 |
-
title:txtTitle,
|
| 12 |
-
url:_url,
|
| 13 |
-
width:820,
|
| 14 |
-
height:600,
|
| 15 |
-
minimizable:false,
|
| 16 |
-
maximizable:false,
|
| 17 |
-
showEffectOptions:{
|
| 18 |
-
duration:0.4
|
| 19 |
-
},
|
| 20 |
-
hideEffectOptions:{
|
| 21 |
-
duration:0.4
|
| 22 |
-
}
|
| 23 |
-
});
|
| 24 |
-
winCompare.setZIndex(100000);
|
| 25 |
-
winCompare.showCenter(true);
|
| 26 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
