Buscape_PagamentoDigital - Version 0.1.12

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.12
Comparing to
See all releases


Code changes from version 0.1.11 to 0.1.12

Files changed (29) hide show
  1. app/code/community/Buscape/PagamentoDigital/etc/config.xml +1 -1
  2. app/code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.12.php +19 -0
  3. app/design/adminhtml/default/default/layout/buscape_pagamentodigital.xml +37 -0
  4. app/design/frontend/default/default/layout/buscape_pagamentodigital.xml +57 -0
  5. app/design/frontend/default/default/template/buscape/pagamentodigital/error.phtml +33 -0
  6. app/design/frontend/default/default/template/buscape/pagamentodigital/form/geral.phtml +98 -0
  7. app/design/frontend/default/default/template/buscape/pagamentodigital/form/images/overlay.png +0 -0
  8. app/design/frontend/default/default/template/buscape/pagamentodigital/form/prazo.phtml +76 -0
  9. app/design/frontend/default/default/template/buscape/pagamentodigital/form/vista.phtml +67 -0
  10. app/design/frontend/default/default/template/buscape/pagamentodigital/head.phtml +37 -0
  11. app/design/frontend/default/default/template/buscape/pagamentodigital/info/geral.phtml +26 -0
  12. app/design/frontend/default/default/template/buscape/pagamentodigital/info/prazo.phtml +26 -0
  13. app/design/frontend/default/default/template/buscape/pagamentodigital/info/vista.phtml +26 -0
  14. app/design/frontend/default/default/template/buscape/pagamentodigital/overlay.phtml +29 -0
  15. app/design/frontend/default/default/template/buscape/pagamentodigital/payment.phtml +203 -0
  16. app/design/frontend/default/default/template/buscape/pagamentodigital/return.phtml +24 -0
  17. package.xml +4 -4
  18. skin/adminhtml/default/default/buscape/pagamentodigital/css/magentomodal.css +194 -0
  19. skin/adminhtml/default/default/buscape/pagamentodigital/images/btn_bg.gif +0 -0
  20. skin/adminhtml/default/default/buscape/pagamentodigital/images/content_bg.gif +0 -0
  21. skin/adminhtml/default/default/buscape/pagamentodigital/images/top_bg.gif +0 -0
  22. skin/adminhtml/default/default/buscape/pagamentodigital/images/window_close.png +0 -0
  23. skin/adminhtml/default/default/buscape/pagamentodigital/js/exibitionsettingswebcheckout.js +26 -0
  24. skin/frontend/base/default/buscape/pagamentodigital/css/magentomodal.css +194 -0
  25. skin/frontend/base/default/buscape/pagamentodigital/images/btn_bg.gif +0 -0
  26. skin/frontend/base/default/buscape/pagamentodigital/images/content_bg.gif +0 -0
  27. skin/frontend/base/default/buscape/pagamentodigital/images/top_bg.gif +0 -0
  28. skin/frontend/base/default/buscape/pagamentodigital/images/window_close.png +0 -0
  29. skin/frontend/base/default/buscape/pagamentodigital/js/exibitionsettingswebcheckout.js +26 -0
app/code/community/Buscape/PagamentoDigital/etc/config.xml CHANGED
@@ -22,7 +22,7 @@
22
  <config>
23
  <modules>
24
  <Buscape_PagamentoDigital>
25
- <version>0.1.11</version>
26
  </Buscape_PagamentoDigital>
27
  </modules>
28
  <global>
22
  <config>
23
  <modules>
24
  <Buscape_PagamentoDigital>
25
+ <version>0.1.12</version>
26
  </Buscape_PagamentoDigital>
27
  </modules>
28
  <global>
app/code/community/Buscape/PagamentoDigital/sql/pagamentodigital_setup/mysql4-install-0.1.12.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/adminhtml/default/default/layout/buscape_pagamentodigital.xml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to suporte.developer@buscape-inc.com so we can send you a copy immediately.
15
+ *
16
+ * @category Buscape
17
+ * @package Buscape_PagamentoDigital
18
+ * @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
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>
app/design/frontend/default/default/layout/buscape_pagamentodigital.xml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to suporte.developer@buscape-inc.com so we can send you a copy immediately.
15
+ *
16
+ * @category Buscape
17
+ * @package Buscape_PagamentoDigital
18
+ * @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ -->
22
+ <layout version="0.1.0">
23
+ <pagamentodigital_standard_payment>
24
+ <reference name="head">
25
+ <action method="addCss">
26
+ <stylesheet>buscape/pagamentodigital/css/styles.css</stylesheet>
27
+ </action>
28
+ </reference>
29
+ <remove name="left"/>
30
+ <reference name="root">
31
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
32
+ </reference>
33
+ <reference name="content">
34
+ <block type="pagamentodigital/payment" name="payment" template="buscape/pagamentodigital/payment.phtml" />
35
+ </reference>
36
+ </pagamentodigital_standard_payment>
37
+
38
+ <pagamentodigital_standard_return>
39
+ <remove name="left"/>
40
+ <reference name="root">
41
+ <action method="setTemplate"><template>page/empty.phtml</template></action>
42
+ </reference>
43
+ <reference name="content">
44
+ <block type="pagamentodigital/return" name="return" template="buscape/pagamentodigital/return.phtml" />
45
+ </reference>
46
+ </pagamentodigital_standard_return>
47
+
48
+ <pagamentodigital_standard_error>
49
+ <remove name="left"/>
50
+ <reference name="root">
51
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
52
+ </reference>
53
+ <reference name="content">
54
+ <block type="pagamentodigital/error" name="error" template="buscape/pagamentodigital/error.phtml" />
55
+ </reference>
56
+ </pagamentodigital_standard_error>
57
+ </layout>
app/design/frontend/default/default/template/buscape/pagamentodigital/error.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+ <div class="page-head">
22
+ <h2 class="sub-title">Erro ao realizar o Retorno Autom&aacute;tico</h2>
23
+ </div>
24
+ <table style="width:100%;">
25
+ <tr>
26
+ <td style="width:100%">
27
+ Ocorreu um erro ao realizar o retorno autom&aacute;tico.<br /><br />
28
+ Dados do Erro:<br />
29
+ C&oacute;digo: <?php echo utf8_decode($this->getRequest()->getParam("codigo")); ?><br />
30
+ Descri&ccedil;&atilde;o: <?php echo utf8_decode($this->getRequest()->getParam("descricao")); ?><br />
31
+ </td>
32
+ </tr>
33
+ </table>
app/design/frontend/default/default/template/buscape/pagamentodigital/form/geral.phtml ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+ <fieldset class="form-list">
22
+ <?php
23
+ $_code = $this->getMethodCode();
24
+ $_standardPD = Mage::getSingleton('pagamentodigital/geral');
25
+
26
+ $totals = Mage::getSingleton('checkout/session')->getQuote()->collectTotals();
27
+ //$shippingAmount = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingAmount();
28
+
29
+ ?>
30
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
31
+ <ul class="forma_pagamento">
32
+ <li>
33
+ <ul>
34
+ <li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
35
+ </ul>
36
+ </li>
37
+ <li style="float:left;;">
38
+ <ul>
39
+ <li style="float:left;width:65px;">
40
+ <input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';"/><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_boleto.gif" alt="Pagável em qualquer agência bancária, correios ou casas lotéricas até a data de vencimento." title="Pagável em qualquer agência bancária, correios ou casas lotéricas até a data de vencimento." />
41
+ </li>
42
+ <li style="float:left;width:65px;">
43
+ <input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_bb.gif" alt="Transferência on-line via Banco do Brasil" title="Transferência on-line via Banco do Brasil" />
44
+ </li>
45
+ <li style="float:left;width:65px;">
46
+ <input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_bradesco.gif" alt="Transferência on-line via Banco Bradesco" title="Transferência on-line via Banco Bradesco" />
47
+ </li>
48
+ <li style="float:left;width:65px;">
49
+ <input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_itau.gif" alt="Transferência on-line via Banco Itaú" title="Transferência on-line via Banco Itaú" />
50
+ </li>
51
+ <li style="float:left;width:65px;">
52
+ <input type="radio" name="payment[cc_type]" value="61" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_banrisul.gif" alt="Transferência on-line via Banco Banrisul" title="Transferência on-line via Banco Banrisul" />
53
+ </li>
54
+ <li style="float:left;width:65px;">
55
+ <input type="radio" name="payment[cc_type]" value="62" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_hsbc.gif" alt="Transferência on-line via Banco HSBC" title="Transferência on-line via Banco HSBC" />
56
+ </li>
57
+ </ul>
58
+ </li>
59
+ <li style="float:left;">
60
+ <ul>
61
+ <li style="float:left;width:65px;">
62
+ <input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_visa.gif" alt="Visa" title="Visa" />
63
+
64
+ </li>
65
+ <li style="float:left;width:65px;">
66
+ <input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_master.gif" alt="Master" title="Master" />
67
+ </li>
68
+ <li style="float:left;width:65px;">
69
+ <input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_americans.gif" alt="American Express" title="American Express" />
70
+
71
+ </li>
72
+ <li style="float:left;width:65px;">
73
+ <input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_aura.gif" alt="Aura" title="Aura" />
74
+
75
+ </li>
76
+ <li style="float:left;width:65px;">
77
+ <input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_diners.gif" alt="Diners" title="Diners" />
78
+ </li>
79
+ <li style="float:left;width:65px;">
80
+ <input type="radio" name="payment[cc_type]" value="56" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_hipercard.gif" alt="Hipercard" title="Hipercard" />
81
+ </li>
82
+ <li style="float:left;width:65px;">
83
+ <input type="radio" name="payment[cc_type]" value="63" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_elo.gif" alt="Elo" title="Elo" />
84
+ </li>
85
+ </ul>
86
+ </li>
87
+ <li style="float:left;">
88
+ <ul>
89
+ <li><input id="campo_obrigatorio_pdgeral" type="hidden" class="required-entry" /></li>
90
+ </ul>
91
+ </li>
92
+ <li style="clear:both;"></li>
93
+ <li id="simulador_geral" style="display:none;">
94
+ <a href='javascript://' onclick="window.open('https://www.bcash.com.br/site/calcula_parcelamento_cliente.php?valor=<?php echo $totals->getData('grand_total') ?>&key=<?php echo $_standardPD->getConfigData('lojaID') ?>&nmp=<?php echo $_standardPD->getConfigData('qtdParcelas') ?>','', 'top=110,left=180,width=430,height=340,maximize=no,toolbar=no, location=no,status=no,menubar=no,scrollbars=auto,scrolling=yes,resizable=no');" >Simulador de Parcelas</a>
95
+ </li>
96
+ </ul>
97
+ </ul>
98
+ </fieldset>
app/design/frontend/default/default/template/buscape/pagamentodigital/form/images/overlay.png ADDED
Binary file
app/design/frontend/default/default/template/buscape/pagamentodigital/form/prazo.phtml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+ <fieldset class="form-list">
22
+ <?php
23
+ $_code = $this->getMethodCode();
24
+ $_standardPD = Mage::getSingleton('pagamentodigital/prazo');
25
+
26
+ $totals = Mage::getSingleton('checkout/session')->getQuote()->collectTotals();
27
+ //$shippingAmount = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingAmount();
28
+
29
+ ?>
30
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
31
+ <ul class="forma_pagamento">
32
+ <li>
33
+ <ul>
34
+ <li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
35
+ </ul>
36
+ </li>
37
+ <li style="float:left;">
38
+ <ul>
39
+ <li style="float:left;width:65px;">
40
+ <input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_visa.gif" alt="Visa" title="Visa" />
41
+
42
+ </li>
43
+ <li style="float:left;width:65px;">
44
+ <input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_master.gif" alt="Master" title="Master" />
45
+ </li>
46
+ <li style="float:left;width:65px;">
47
+ <input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_americans.gif" alt="American Express" title="American Express" />
48
+
49
+ </li>
50
+ <li style="float:left;width:65px;">
51
+ <input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_aura.gif" alt="Aura" title="Aura" />
52
+
53
+ </li>
54
+ <li style="float:left;width:65px;">
55
+ <input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_diners.gif" alt="Diners" title="Diners" />
56
+ </li>
57
+ <li style="float:left;width:65px;">
58
+ <input type="radio" name="payment[cc_type]" value="56" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_hipercard.gif" alt="Hipercard" title="Hipercard" />
59
+ </li>
60
+ <li style="float:left;width:65px;">
61
+ <input type="radio" name="payment[cc_type]" value="63" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_elo.gif" alt="Elo" title="Elo" />
62
+ </li>
63
+ </ul>
64
+ </li>
65
+ <li style="float:left;">
66
+ <ul>
67
+ <li><input id="campo_obrigatorio_pdprazo" type="hidden" class="required-entry" /></li>
68
+ </ul>
69
+ </li>
70
+ <li style="clear:both;"></li>
71
+ <li id="simulador">
72
+ <a href='javascript://' onclick="window.open('https://www.bcash.com.br/site/calcula_parcelamento_cliente.php?valor=<?php echo $totals->getData('grand_total') ?>&key=<?php echo $_standardPD->getConfigData('lojaID') ?>&nmp=<?php echo $_standardPD->getConfigData('qtdParcelas') ?>','', 'top=110,left=180,width=430,height=340,maximize=no,toolbar=no, location=no,status=no,menubar=no,scrollbars=auto,scrolling=yes,resizable=no');" >Simulador de Parcelas</a>
73
+ </li>
74
+ </ul>
75
+ </ul>
76
+ </fieldset>
app/design/frontend/default/default/template/buscape/pagamentodigital/form/vista.phtml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+ <fieldset class="form-list">
22
+ <?php
23
+ $_code=$this->getMethodCode();
24
+ $_standardPD = Mage::getSingleton('pagamentodigital/vista');
25
+
26
+ $totals = Mage::getSingleton('checkout/session')->getQuote()->collectTotals();
27
+ $shippingAmount = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingAmount();
28
+
29
+ ?>
30
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
31
+ <ul class="forma_pagamento">
32
+ <li>
33
+ <ul>
34
+ <li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
35
+ </ul>
36
+ </li>
37
+ <li style="float:left;">
38
+ <ul>
39
+ <li style="float:left;width:65px;">
40
+ <input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_boleto.gif" alt="Pagável em qualquer agência bancária, correios ou casas lotéricas até a data de vencimento." title="Pagável em qualquer agência bancária, correios ou casas lotéricas até a data de vencimento."/>
41
+ </li>
42
+ <li style="float:left;width:65px;">
43
+ <input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_bb.gif" alt="Transferência on-line via Banco do Brasil" title="Transferência on-line via Banco do Brasil" />
44
+ </li>
45
+ <li style="float:left;width:65px;">
46
+ <input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_bradesco.gif" alt="Transferência on-line via Banco Bradesco" title="Transferência on-line via Banco Bradesco" />
47
+ </li>
48
+ <li style="float:left;width:65px;">
49
+ <input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_itau.gif" alt="Transferência on-line via Banco Itaú" title="Transferência on-line via Banco Itaú" />
50
+ </li>
51
+ <li style="float:left;width:65px;">
52
+ <input type="radio" name="payment[cc_type]" value="61" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_banrisul.gif" alt="Transferência on-line via Banco Banrisul" title="Transferência on-line via Banco Banrisul" />
53
+ </li>
54
+ <li style="float:left;width:65px;">
55
+ <input type="radio" name="payment[cc_type]" value="62" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_hsbc.gif" alt="Transferência on-line via Banco HSBC" title="Transferência on-line via Banco HSBC" />
56
+ </li>
57
+ </ul>
58
+ </li>
59
+ <li style="float:left;">
60
+ <ul>
61
+ <li><input id="campo_obrigatorio_pdvista" type="hidden" class="required-entry" /></li>
62
+ </ul>
63
+ </li>
64
+
65
+ </ul>
66
+ </ul>
67
+ </fieldset>
app/design/frontend/default/default/template/buscape/pagamentodigital/head.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+ <title><?php echo $this->getTitle() ?></title>
22
+ <meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
23
+ <meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
24
+ <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
25
+ <meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
26
+ <link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
27
+ <link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
28
+ <script type="text/javascript">
29
+ //<![CDATA[
30
+ var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
31
+ var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
32
+ //]]>
33
+ </script>
34
+ <?php echo $this->getCssJsHtml() ?>
35
+ <?php echo $this->getChildHtml() ?>
36
+ <?php echo $this->helper('core/js')->getTranslatorScript() ?>
37
+ <?php echo $this->getIncludes() ?>
app/design/frontend/default/default/template/buscape/pagamentodigital/info/geral.phtml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+ <p>
22
+ <strong>
23
+ <?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?>
24
+ </strong>
25
+ </p>
26
+ <?php echo $this->getLinkPayment($this->getInfo()->getOrder()); ?>
app/design/frontend/default/default/template/buscape/pagamentodigital/info/prazo.phtml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+ <p>
22
+ <strong>
23
+ <?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?>
24
+ </strong>
25
+ </p>
26
+ <?php echo $this->getLinkPayment($this->getInfo()->getOrder()); ?>
app/design/frontend/default/default/template/buscape/pagamentodigital/info/vista.phtml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+ <p>
22
+ <strong>
23
+ <?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?>
24
+ </strong>
25
+ </p>
26
+ <?php echo $this->getLinkPayment($this->getInfo()->getOrder()); ?>
app/design/frontend/default/default/template/buscape/pagamentodigital/overlay.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+
22
+ <div id="overlay-pd">
23
+ <center>
24
+ <div id="lightboxpd" style="padding: 10px;background-color: #fff;width: 980px;margin-top: 50px" >
25
+ <img src="<?php echo $this->getSkinUrl('buscape/pagamentodigital/images/close.png'); ?>" style="position: relative;margin-left: 970px;margin-top: -20px;" />
26
+ <iframe name="pd_frame" width="970" height="700" style="border:0px" ></iframe>
27
+ </div>
28
+ </center>
29
+ </div>
app/design/frontend/default/default/template/buscape/pagamentodigital/payment.phtml ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+
22
+ <div class="page-head">
23
+ <h2 class="sub-title">Finalizando sua compra com Bcash</h2>
24
+ </div>
25
+
26
+ <?php $config = Mage::getModel('pagamentodigital/config')->getExibitionWebCheckout(); ?>
27
+
28
+ <?php
29
+ switch($config)
30
+ {
31
+ case 1:
32
+ ?>
33
+ <script type="text/javascript">
34
+ var div_pd = document.createElement("div");
35
+ var center_frame = document.createElement("center");
36
+ var div_frame = document.createElement("div");
37
+ var img_close = document.createElement("img");
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
+
53
+ div_frame.appendChild(img_close);
54
+ div_frame.appendChild(frame_pd);
55
+
56
+ center_frame.appendChild(div_frame);
57
+
58
+ div_pd.appendChild(center_frame);
59
+
60
+ document.body.appendChild(div_pd);
61
+ </script>
62
+
63
+ <table style="width:100%;">
64
+ <tr>
65
+ <td style="width:100%">
66
+ Sua compra est&aacute; em processo de finaliza&ccedil;&atilde;o.<br />
67
+ Caso a p&aacute;gina de finaliza&ccedil;&atilde;o de pagamento n&atilde;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"/>
73
+ </object>
74
+ <?php $this->getPayment(); ?>
75
+ </td>
76
+ </tr>
77
+ </table>
78
+
79
+ <script type="text/javascript">
80
+ document.getElementById('pd_form').setAttribute("target", "pd_frame");
81
+ document.getElementById('pd_form').submit();
82
+ document.getElementById('overlay-pd').onclick = function (){
83
+ this.style.display = "none";
84
+ };
85
+ document.getElementById('pd_lightbox').onclick = function (){
86
+ document.getElementById('overlay-pd').style.display = "block";
87
+ };
88
+ </script>
89
+ <?php
90
+ break;
91
+ case 2:
92
+ ?>
93
+ <table style="width:100%;">
94
+ <tr>
95
+ <td style="width:100%">
96
+ Sua compra est&aacute; em processo de finaliza&ccedil;&atilde;o.
97
+ <br />
98
+ <br />
99
+ <iframe name="pd_frame" width="100%" height="900" style="border:0px; overflow-x:hidden" ></iframe>
100
+ <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">
101
+ <param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
102
+ <param name="wmode" value="transparent"/>
103
+ </object>
104
+ <?php $this->getPayment(); ?>
105
+ </td>
106
+ </tr>
107
+ </table>
108
+
109
+ <script type="text/javascript">
110
+ document.getElementById('pd_form').setAttribute("target", "pd_frame");
111
+ document.getElementById('pd_form').submit();
112
+ </script>
113
+ <?php
114
+ break;
115
+ case 3:
116
+ ?>
117
+ <table style="width:100%;">
118
+ <tr>
119
+ <td style="width:100%">
120
+ Sua compra est&aacute; em processo de finaliza&ccedil;&atilde;o.<br />
121
+ Você será redirecionado para o Bcash. Caso a p&aacute;gina de finaliza&ccedil;&atilde;o de pagamento n&atilde;o se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a>
122
+ <br />
123
+ <br />
124
+ <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">
125
+ <param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
126
+ <param name="wmode" value="transparent"/>
127
+ </object>
128
+ <?php $this->getPayment(); ?>
129
+ </td>
130
+ </tr>
131
+ </table>
132
+
133
+ <script type="text/javascript">
134
+ document.getElementById('pd_form').setAttribute("target", "_blank");
135
+ document.getElementById('pd_form').submit();
136
+ document.getElementById('pd_lightbox').onclick = function (){
137
+ document.getElementById('pd_form').submit();
138
+ };
139
+ </script>
140
+ <?php
141
+ break;
142
+ default:
143
+ ?>
144
+ <script type="text/javascript">
145
+ var div_pd = document.createElement("div");
146
+ var center_frame = document.createElement("center");
147
+ var div_frame = document.createElement("div");
148
+ var img_close = document.createElement("img");
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
+
164
+ div_frame.appendChild(img_close);
165
+ div_frame.appendChild(frame_pd);
166
+
167
+ center_frame.appendChild(div_frame);
168
+
169
+ div_pd.appendChild(center_frame);
170
+
171
+ document.body.appendChild(div_pd);
172
+ </script>
173
+
174
+ <table style="width:100%;">
175
+ <tr>
176
+ <td style="width:100%">
177
+ Sua compra est&aacute; em processo de finaliza&ccedil;&atilde;o.<br />
178
+ Caso a p&aacute;gina de finaliza&ccedil;&atilde;o de pagamento n&atilde;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"/>
184
+ </object>
185
+ <?php $this->getPayment(); ?>
186
+ </td>
187
+ </tr>
188
+ </table>
189
+
190
+ <script type="text/javascript">
191
+ document.getElementById('pd_form').setAttribute("target", "pd_frame");
192
+ document.getElementById('pd_form').submit();
193
+ document.getElementById('overlay-pd').onclick = function (){
194
+ this.style.display = "none";
195
+ };
196
+ document.getElementById('pd_lightbox').onclick = function (){
197
+ document.getElementById('overlay-pd').style.display = "block";
198
+ };
199
+ </script>
200
+ <?php
201
+ break;
202
+ }
203
+ ?>
app/design/frontend/default/default/template/buscape/pagamentodigital/return.phtml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 design_default
16
+ * @package Mage
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
+ */
20
+ ?>
21
+
22
+ <script type="text/javascript">
23
+ parent.window.location = "<?php echo Mage::getUrl('checkout/onepage/success', array('_secure' => true));?>";
24
+ </script>
package.xml CHANGED
@@ -1,7 +1,7 @@
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>
@@ -10,9 +10,9 @@
10
  <description>O Bcash &#xE9; um servi&#xE7;o completo de solu&#xE7;&#xF5;es de pagamento. Com nossa tecnologia, temos um canal direto de comunica&#xE7;&#xE3;o com bancos e operadoras de cart&#xF5;es de cr&#xE9;dito ( Visa 12x, Mastercard 12x, American Express 12x, Aura 24x, Diners 12x, HiperCard 12x, Boleto Banc&#xE1;rio, Transfer&#xEA;ncia online para os bancos Ita&#xFA;, Bradesco e Banco do Brasil e tamb&#xE9;m com seu Saldo Virtual Bcash), fazendo com que todas as transa&#xE7;&#xF5;es no ambiente Bcash sejam seguras.</description>
11
  <notes>Buscap&#xE9; Bcash &#xE9; compat&#xED;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&#xE9; 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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Buscape_PagamentoDigital</name>
4
+ <version>0.1.12</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>
10
  <description>O Bcash &#xE9; um servi&#xE7;o completo de solu&#xE7;&#xF5;es de pagamento. Com nossa tecnologia, temos um canal direto de comunica&#xE7;&#xE3;o com bancos e operadoras de cart&#xF5;es de cr&#xE9;dito ( Visa 12x, Mastercard 12x, American Express 12x, Aura 24x, Diners 12x, HiperCard 12x, Boleto Banc&#xE1;rio, Transfer&#xEA;ncia online para os bancos Ita&#xFA;, Bradesco e Banco do Brasil e tamb&#xE9;m com seu Saldo Virtual Bcash), fazendo com que todas as transa&#xE7;&#xF5;es no ambiente Bcash sejam seguras.</description>
11
  <notes>Buscap&#xE9; Bcash &#xE9; compat&#xED;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&#xE9; Developer</name><user>auto-converted</user><email>suporte.developer@buscape-inc.com</email></author></authors>
13
+ <date>2013-04-26</date>
14
+ <time>19:59:02</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="a818b44dfd1960ea1522b655a523fbcc"/><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.12.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="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><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 name="layout"><file name="buscape_pagamentodigital.xml" hash="618d437d2b62b7bc4ab1b65343a41dac"/></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="magentomodal.css" hash="2c6dd38e421f644475a121b8d6c96503"/><file name="styles.css" hash="98964b4f868380ecd053eb3804430113"/></dir><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><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"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><dir name="js"><file name="exibitionsettingswebcheckout.js" hash="da871be83c43b1b6e6511b557052a5fc"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="buscape"><dir name="pagamentodigital"><dir name="css"><file name="magentomodal.css" hash="2c6dd38e421f644475a121b8d6c96503"/></dir><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><dir name="js"><file name="exibitionsettingswebcheckout.js" hash="da871be83c43b1b6e6511b557052a5fc"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
skin/adminhtml/default/default/buscape/pagamentodigital/css/magentomodal.css ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
Binary file
skin/adminhtml/default/default/buscape/pagamentodigital/images/content_bg.gif ADDED
Binary file
skin/adminhtml/default/default/buscape/pagamentodigital/images/top_bg.gif ADDED
Binary file
skin/adminhtml/default/default/buscape/pagamentodigital/images/window_close.png ADDED
Binary file
skin/adminhtml/default/default/buscape/pagamentodigital/js/exibitionsettingswebcheckout.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
skin/frontend/base/default/buscape/pagamentodigital/css/magentomodal.css ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/frontend/base/default/buscape/pagamentodigital/images/btn_bg.gif ADDED
Binary file
skin/frontend/base/default/buscape/pagamentodigital/images/content_bg.gif ADDED
Binary file
skin/frontend/base/default/buscape/pagamentodigital/images/top_bg.gif ADDED
Binary file
skin/frontend/base/default/buscape/pagamentodigital/images/window_close.png ADDED
Binary file
skin/frontend/base/default/buscape/pagamentodigital/js/exibitionsettingswebcheckout.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }