Version Notes
Buscapé Pagamento Digital é 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.8 |
Comparing to | |
See all releases |
Code changes from version 0.1.7 to 0.1.8
- app/code/community/Buscape/PagamentoDigital/Model/Standard.php +9 -6
- app/code/community/Buscape/PagamentoDigital/etc/config.xml +1 -6
- app/design/adminhtml/default/default/template/buscape/pagamentodigital/form/geral.phtml +34 -25
- app/design/adminhtml/default/default/template/buscape/pagamentodigital/form/prazo.phtml +19 -16
- app/design/adminhtml/default/default/template/buscape/pagamentodigital/form/vista.phtml +18 -15
- app/design/frontend/base/default/layout/buscape_pagamentodigital.xml +8 -0
- app/design/frontend/base/default/template/buscape/pagamentodigital/form/geral.phtml +35 -26
- app/design/frontend/base/default/template/buscape/pagamentodigital/form/prazo.phtml +17 -15
- app/design/frontend/base/default/template/buscape/pagamentodigital/form/vista.phtml +13 -7
- app/{code/community/Buscape/PagamentoDigital/Block/Html/Head.php → design/frontend/base/default/template/buscape/pagamentodigital/overlay.phtml} +29 -29
- app/design/frontend/base/default/template/buscape/pagamentodigital/payment.phtml +10 -29
- app/design/frontend/default/default/layout/buscape_pagamentodigital.xml +8 -0
- app/design/frontend/default/default/template/buscape/pagamentodigital/form/geral.phtml +36 -27
- app/design/frontend/default/default/template/buscape/pagamentodigital/form/prazo.phtml +18 -16
- app/design/frontend/default/default/template/buscape/pagamentodigital/form/vista.phtml +13 -7
- app/design/frontend/default/default/template/buscape/pagamentodigital/overlay.phtml +29 -0
- app/design/frontend/default/default/template/buscape/pagamentodigital/payment.phtml +10 -29
- package.xml +4 -4
- skin/frontend/base/default/buscape/pagamentodigital/css/styles.css +10 -0
- skin/frontend/base/default/{images/buscape/pagamentodigital → buscape/pagamentodigital/images}/close.png +0 -0
- skin/frontend/base/default/{images/buscape/pagamentodigital → buscape/pagamentodigital/images}/overlay.png +0 -0
- skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_e.png +0 -0
- skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_n.png +0 -0
- skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_ne.png +0 -0
- skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_nw.png +0 -0
- skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_s.png +0 -0
- skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_se.png +0 -0
- skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_sw.png +0 -0
- skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_w.png +0 -0
- skin/frontend/default/default/buscape/pagamentodigital/css/styles.css +10 -0
- skin/frontend/default/default/{images/buscape/pagamentodigital → buscape/pagamentodigital/images}/close.png +0 -0
- skin/frontend/default/default/{images/buscape/pagamentodigital → buscape/pagamentodigital/images}/overlay.png +0 -0
- skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_e.png +0 -0
- skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_n.png +0 -0
- skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_ne.png +0 -0
- skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_nw.png +0 -0
- skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_s.png +0 -0
- skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_se.png +0 -0
- skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_sw.png +0 -0
- skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_w.png +0 -0
app/code/community/Buscape/PagamentoDigital/Model/Standard.php
CHANGED
@@ -238,13 +238,16 @@ class Buscape_PagamentoDigital_Model_Standard extends Mage_Payment_Model_Method_
|
|
238 |
$shipping = sprintf('%.2f',$shippingAmount);
|
239 |
|
240 |
$sArr = array_merge($sArr, array('frete' => $shipping));
|
241 |
-
|
242 |
-
|
243 |
-
|
|
|
|
|
244 |
$sArr = array_merge($sArr, array('url_aviso' => Mage::getUrl('pagamentodigital/standard/success', array('_secure' => true, 'type' => 'geral'))));
|
245 |
-
|
246 |
-
|
247 |
-
|
|
|
248 |
|
249 |
$sReq = '';
|
250 |
|
238 |
$shipping = sprintf('%.2f',$shippingAmount);
|
239 |
|
240 |
$sArr = array_merge($sArr, array('frete' => $shipping));
|
241 |
+
|
242 |
+
$sArr = array_merge($sArr, array('url_retorno' => Mage::getUrl('pagamentodigital/standard/return', array('_secure' => true))));
|
243 |
+
|
244 |
+
if ($this->getConfigData('retorno') == '1')
|
245 |
+
{
|
246 |
$sArr = array_merge($sArr, array('url_aviso' => Mage::getUrl('pagamentodigital/standard/success', array('_secure' => true, 'type' => 'geral'))));
|
247 |
+
}
|
248 |
+
|
249 |
+
$sArr = array_merge($sArr, array('redirect' => 'true'));
|
250 |
+
$sArr = array_merge($sArr, array('redirect_time' => '10'));
|
251 |
|
252 |
$sReq = '';
|
253 |
|
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>
|
@@ -56,11 +56,6 @@
|
|
56 |
<pagamentodigital>
|
57 |
<class>Buscape_PagamentoDigital_Block</class>
|
58 |
</pagamentodigital>
|
59 |
-
<page>
|
60 |
-
<rewrite>
|
61 |
-
<html_head>Buscape_PagamentoDigital_Block_Html_Head</html_head>
|
62 |
-
</rewrite>
|
63 |
-
</page>
|
64 |
</blocks>
|
65 |
<helpers>
|
66 |
<pagamentodigital>
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Buscape_PagamentoDigital>
|
25 |
+
<version>0.1.8</version>
|
26 |
</Buscape_PagamentoDigital>
|
27 |
</modules>
|
28 |
<global>
|
56 |
<pagamentodigital>
|
57 |
<class>Buscape_PagamentoDigital_Block</class>
|
58 |
</pagamentodigital>
|
|
|
|
|
|
|
|
|
|
|
59 |
</blocks>
|
60 |
<helpers>
|
61 |
<pagamentodigital>
|
app/design/adminhtml/default/default/template/buscape/pagamentodigital/form/geral.phtml
CHANGED
@@ -27,59 +27,68 @@
|
|
27 |
?>
|
28 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
29 |
<ul class="forma_pagamento">
|
30 |
-
<li
|
31 |
<ul>
|
32 |
<li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
|
33 |
</ul>
|
34 |
</li>
|
35 |
-
<li style="float:left;
|
36 |
<ul>
|
37 |
-
<li style="float:left;width:
|
38 |
-
<input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('
|
39 |
</li>
|
40 |
-
<li style="float:left;width:
|
41 |
-
<input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('
|
42 |
</li>
|
43 |
-
<li style="float:left;width:
|
44 |
-
<input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('
|
45 |
</li>
|
46 |
-
<li style="float:left;width:
|
47 |
-
<input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
</li>
|
49 |
</ul>
|
50 |
</li>
|
51 |
-
<li style="float:left;
|
52 |
<ul>
|
53 |
-
<li style="float:left;width:
|
54 |
-
<input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('
|
55 |
|
56 |
</li>
|
57 |
-
<li style="float:left;width:
|
58 |
-
<input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('
|
59 |
</li>
|
60 |
-
<li style="float:left;width:
|
61 |
-
<input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('
|
62 |
|
63 |
</li>
|
64 |
-
<li style="float:left;width:
|
65 |
-
<input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('
|
66 |
|
67 |
</li>
|
68 |
-
<li style="float:left;width:
|
69 |
-
<input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('
|
|
|
|
|
|
|
70 |
</li>
|
71 |
-
<li style="float:left;width:
|
72 |
-
<input type="radio" name="payment[cc_type]" value="
|
73 |
</li>
|
74 |
</ul>
|
75 |
</li>
|
76 |
-
<li style="float:left;
|
77 |
<ul>
|
78 |
<li><input id="campo_obrigatorio_pdgeral" type="hidden" class="required-entry" /></li>
|
79 |
</ul>
|
80 |
</li>
|
81 |
<li style="clear:both;"></li>
|
82 |
-
<li id="
|
83 |
<a href='javascript://' onclick="window.open('https://www.pagamentodigital.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>
|
84 |
</li>
|
85 |
</ul>
|
27 |
?>
|
28 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
29 |
<ul class="forma_pagamento">
|
30 |
+
<li>
|
31 |
<ul>
|
32 |
<li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
|
33 |
</ul>
|
34 |
</li>
|
35 |
+
<li style="float:left;">
|
36 |
<ul>
|
37 |
+
<li style="float:left;width:65px;">
|
38 |
+
<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 align="right" src="https://www.pagamentodigital.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." />
|
39 |
</li>
|
40 |
+
<li style="float:left;width:65px;">
|
41 |
+
<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 align="right" src="https://www.pagamentodigital.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" />
|
42 |
</li>
|
43 |
+
<li style="float:left;width:65px;">
|
44 |
+
<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 align="right" src="https://www.pagamentodigital.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" />
|
45 |
</li>
|
46 |
+
<li style="float:left;width:65px;">
|
47 |
+
<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 align="right" src="https://www.pagamentodigital.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ú" />
|
48 |
+
</li>
|
49 |
+
<li style="float:left;width:65px;">
|
50 |
+
<input type="radio" name="payment[cc_type]" value="61" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img align="right" src="https://www.pagamentodigital.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" />
|
51 |
+
</li>
|
52 |
+
<li style="float:left;width:65px;">
|
53 |
+
<input type="radio" name="payment[cc_type]" value="62" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img align="right" src="https://www.pagamentodigital.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" />
|
54 |
</li>
|
55 |
</ul>
|
56 |
</li>
|
57 |
+
<li style="float:left;">
|
58 |
<ul>
|
59 |
+
<li style="float:left;width:65px;">
|
60 |
+
<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 align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_visa.gif" alt="Visa" title="Visa" />
|
61 |
|
62 |
</li>
|
63 |
+
<li style="float:left;width:65px;">
|
64 |
+
<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 align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_master.gif" alt="Master" title="Master" />
|
65 |
</li>
|
66 |
+
<li style="float:left;width:65px;">
|
67 |
+
<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 align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_americans.gif" alt="American Express" title="American Express" />
|
68 |
|
69 |
</li>
|
70 |
+
<li style="float:left;width:65px;">
|
71 |
+
<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 align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_aura.gif" alt="Aura" title="Aura" />
|
72 |
|
73 |
</li>
|
74 |
+
<li style="float:left;width:65px;">
|
75 |
+
<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 align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_diners.gif" alt="Diners" title="Diners" />
|
76 |
+
</li>
|
77 |
+
<li style="float:left;width:65px;">
|
78 |
+
<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 align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_hipercard.gif" alt="Hipercard" title="Hipercard" />
|
79 |
</li>
|
80 |
+
<li style="float:left;width:65px;">
|
81 |
+
<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 align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_elo.gif" alt="Elo" title="Elo" />
|
82 |
</li>
|
83 |
</ul>
|
84 |
</li>
|
85 |
+
<li style="float:left;">
|
86 |
<ul>
|
87 |
<li><input id="campo_obrigatorio_pdgeral" type="hidden" class="required-entry" /></li>
|
88 |
</ul>
|
89 |
</li>
|
90 |
<li style="clear:both;"></li>
|
91 |
+
<li id="simulador_geral" style="display:none;">
|
92 |
<a href='javascript://' onclick="window.open('https://www.pagamentodigital.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>
|
93 |
</li>
|
94 |
</ul>
|
app/design/adminhtml/default/default/template/buscape/pagamentodigital/form/prazo.phtml
CHANGED
@@ -27,40 +27,43 @@
|
|
27 |
?>
|
28 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
29 |
<ul class="forma_pagamento">
|
30 |
-
<li
|
31 |
<ul>
|
32 |
<li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
|
33 |
</ul>
|
34 |
</li>
|
35 |
-
<li style="float:left;
|
36 |
<ul>
|
37 |
-
<li style="float:left;width:
|
38 |
-
<input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('
|
39 |
</li>
|
40 |
-
<li style="float:left;width:
|
41 |
-
<input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('
|
42 |
</li>
|
43 |
-
<li style="float:left;width:
|
44 |
-
<input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('
|
45 |
</li>
|
46 |
-
<li style="float:left;width:
|
47 |
-
<input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('
|
48 |
</li>
|
49 |
-
<li style="float:left;width:
|
50 |
-
<input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('
|
51 |
</li>
|
52 |
-
<li style="float:left;width:
|
53 |
-
<input type="radio" name="payment[cc_type]" value="56" onclick="document.getElementById('
|
|
|
|
|
|
|
54 |
</li>
|
55 |
</ul>
|
56 |
</li>
|
57 |
-
<li style="float:left;
|
58 |
<ul>
|
59 |
<li><input id="campo_obrigatorio_pdprazo" type="hidden" class="required-entry" /></li>
|
60 |
</ul>
|
61 |
</li>
|
62 |
<li style="clear:both;"></li>
|
63 |
-
<li id="
|
64 |
<a href='javascript://' onclick="window.open('https://www.pagamentodigital.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>
|
65 |
</li>
|
66 |
</ul>
|
27 |
?>
|
28 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
29 |
<ul class="forma_pagamento">
|
30 |
+
<li>
|
31 |
<ul>
|
32 |
<li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
|
33 |
</ul>
|
34 |
</li>
|
35 |
+
<li style="float:left;">
|
36 |
<ul>
|
37 |
+
<li style="float:left;width:65px;">
|
38 |
+
<input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_visa.gif" alt="Visa" title="Visa" />
|
39 |
</li>
|
40 |
+
<li style="float:left;width:65px;">
|
41 |
+
<input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_master.gif" alt="Master" title="Master" />
|
42 |
</li>
|
43 |
+
<li style="float:left;width:65px;">
|
44 |
+
<input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_americans.gif" alt="American Express" title="American Express" />
|
45 |
</li>
|
46 |
+
<li style="float:left;width:65px;">
|
47 |
+
<input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_aura.gif" alt="Aura" title="Aura" />
|
48 |
</li>
|
49 |
+
<li style="float:left;width:65px;">
|
50 |
+
<input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_diners.gif" alt="Diners" title="Diners" />
|
51 |
</li>
|
52 |
+
<li style="float:left;width:65px;">
|
53 |
+
<input type="radio" name="payment[cc_type]" value="56" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_hipercard.gif" alt="Hipercard" title="Hipercard" />
|
54 |
+
</li>
|
55 |
+
<li style="float:left;width:65px;">
|
56 |
+
<input type="radio" name="payment[cc_type]" value="63" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img align="right" src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_elo.gif" alt="Elo" title="Elo" />
|
57 |
</li>
|
58 |
</ul>
|
59 |
</li>
|
60 |
+
<li style="float:left;">
|
61 |
<ul>
|
62 |
<li><input id="campo_obrigatorio_pdprazo" type="hidden" class="required-entry" /></li>
|
63 |
</ul>
|
64 |
</li>
|
65 |
<li style="clear:both;"></li>
|
66 |
+
<li id="simulador_pdprazo">
|
67 |
<a href='javascript://' onclick="window.open('https://www.pagamentodigital.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>
|
68 |
</li>
|
69 |
</ul>
|
app/design/adminhtml/default/default/template/buscape/pagamentodigital/form/vista.phtml
CHANGED
@@ -27,36 +27,39 @@
|
|
27 |
?>
|
28 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
29 |
<ul class="forma_pagamento">
|
30 |
-
<li
|
31 |
<ul>
|
32 |
<li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
|
33 |
</ul>
|
34 |
</li>
|
35 |
-
<li style="float:left;
|
36 |
<ul>
|
37 |
-
<li style="float:left;width:
|
38 |
-
<input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('
|
39 |
</li>
|
40 |
-
<li style="float:left;width:
|
41 |
-
<input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('
|
42 |
</li>
|
43 |
-
<li style="float:left;width:
|
44 |
-
<input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('
|
45 |
</li>
|
46 |
-
<li style="float:left;width:
|
47 |
-
<input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
</li>
|
49 |
</ul>
|
50 |
</li>
|
51 |
-
<li style="float:left;
|
52 |
<ul>
|
53 |
<li><input id="campo_obrigatorio_pdvista" type="hidden" class="required-entry" /></li>
|
54 |
</ul>
|
55 |
</li>
|
56 |
-
|
57 |
-
<li id="simulador" style="display:none;">
|
58 |
-
<a href='javascript://' onclick="window.open('https://www.pagamentodigital.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>
|
59 |
-
</li>
|
60 |
</ul>
|
61 |
</ul>
|
62 |
</fieldset>
|
27 |
?>
|
28 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
29 |
<ul class="forma_pagamento">
|
30 |
+
<li>
|
31 |
<ul>
|
32 |
<li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
|
33 |
</ul>
|
34 |
</li>
|
35 |
+
<li style="float:left;">
|
36 |
<ul>
|
37 |
+
<li style="float:left;width:65px;">
|
38 |
+
<input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';"/><img align="right" src="https://www.pagamentodigital.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." />
|
39 |
</li>
|
40 |
+
<li style="float:left;width:65px;">
|
41 |
+
<input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img align="right" src="https://www.pagamentodigital.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" />
|
42 |
</li>
|
43 |
+
<li style="float:left;width:65px;">
|
44 |
+
<input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img align="right" src="https://www.pagamentodigital.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" />
|
45 |
</li>
|
46 |
+
<li style="float:left;width:65px;">
|
47 |
+
<input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img align="right" src="https://www.pagamentodigital.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ú" />
|
48 |
+
</li>
|
49 |
+
<li style="float:left;width:65px;">
|
50 |
+
<input type="radio" name="payment[cc_type]" value="61" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img align="right" src="https://www.pagamentodigital.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" />
|
51 |
+
</li>
|
52 |
+
<li style="float:left;width:65px;">
|
53 |
+
<input type="radio" name="payment[cc_type]" value="62" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img align="right" src="https://www.pagamentodigital.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" />
|
54 |
</li>
|
55 |
</ul>
|
56 |
</li>
|
57 |
+
<li style="float:left;">
|
58 |
<ul>
|
59 |
<li><input id="campo_obrigatorio_pdvista" type="hidden" class="required-entry" /></li>
|
60 |
</ul>
|
61 |
</li>
|
62 |
+
<!--li style="clear:both;"></li-->
|
|
|
|
|
|
|
63 |
</ul>
|
64 |
</ul>
|
65 |
</fieldset>
|
app/design/frontend/base/default/layout/buscape_pagamentodigital.xml
CHANGED
@@ -21,10 +21,18 @@
|
|
21 |
-->
|
22 |
<layout version="0.1.0">
|
23 |
<pagamentodigital_standard_payment>
|
|
|
|
|
|
|
|
|
|
|
24 |
<remove name="left"/>
|
25 |
<reference name="root">
|
26 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
27 |
</reference>
|
|
|
|
|
|
|
28 |
<reference name="content">
|
29 |
<block type="pagamentodigital/payment" name="payment" template="buscape/pagamentodigital/payment.phtml" />
|
30 |
</reference>
|
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="after_body_start">
|
34 |
+
<block type="page/html" name="overlay" template="buscape/pagamentodigital/overlay.phtml" />
|
35 |
+
</reference>
|
36 |
<reference name="content">
|
37 |
<block type="pagamentodigital/payment" name="payment" template="buscape/pagamentodigital/payment.phtml" />
|
38 |
</reference>
|
app/design/frontend/base/default/template/buscape/pagamentodigital/form/geral.phtml
CHANGED
@@ -29,60 +29,69 @@
|
|
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:
|
40 |
-
<input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('
|
41 |
</li>
|
42 |
-
<li style="float:left;width:
|
43 |
-
<input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('
|
44 |
</li>
|
45 |
-
<li style="float:left;width:
|
46 |
-
<input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('
|
47 |
</li>
|
48 |
-
<li style="float:left;width:
|
49 |
-
<input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
</li>
|
51 |
</ul>
|
52 |
</li>
|
53 |
-
<li style="float:left;
|
54 |
<ul>
|
55 |
-
<li style="float:left;width:
|
56 |
-
<input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('
|
57 |
|
58 |
</li>
|
59 |
-
<li style="float:left;width:
|
60 |
-
<input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('
|
61 |
</li>
|
62 |
-
<li style="float:left;width:
|
63 |
-
<input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('
|
64 |
|
65 |
</li>
|
66 |
-
<li style="float:left;width:
|
67 |
-
<input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('
|
68 |
|
69 |
</li>
|
70 |
-
<li style="float:left;width:
|
71 |
-
<input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('
|
|
|
|
|
|
|
72 |
</li>
|
73 |
-
<li style="float:left;width:
|
74 |
-
<input type="radio" name="payment[cc_type]" value="
|
75 |
</li>
|
76 |
</ul>
|
77 |
</li>
|
78 |
-
<li style="float:left;
|
79 |
<ul>
|
80 |
<li><input id="campo_obrigatorio_pdgeral" type="hidden" class="required-entry" /></li>
|
81 |
</ul>
|
82 |
</li>
|
83 |
<li style="clear:both;"></li>
|
84 |
-
<li id="
|
85 |
-
<
|
86 |
</li>
|
87 |
</ul>
|
88 |
</ul>
|
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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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>
|
app/design/frontend/base/default/template/buscape/pagamentodigital/form/prazo.phtml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
?>
|
21 |
<fieldset class="form-list">
|
22 |
<?php
|
23 |
-
$_code
|
24 |
$_standardPD = Mage::getSingleton('pagamentodigital/prazo');
|
25 |
|
26 |
$totals = Mage::getSingleton('checkout/session')->getQuote()->collectTotals();
|
@@ -29,45 +29,47 @@
|
|
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:
|
40 |
<input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_visa.gif" alt="Visa" title="Visa" />
|
41 |
|
42 |
</li>
|
43 |
-
<li style="float:left;width:
|
44 |
<input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_master.gif" alt="Master" title="Master" />
|
45 |
</li>
|
46 |
-
<li style="float:left;width:
|
47 |
<input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_americans.gif" alt="American Express" title="American Express" />
|
48 |
|
49 |
</li>
|
50 |
-
<li style="float:left;width:
|
51 |
<input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_aura.gif" alt="Aura" title="Aura" />
|
52 |
|
53 |
</li>
|
54 |
-
<li style="float:left;width:
|
55 |
<input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_diners.gif" alt="Diners" title="Diners" />
|
56 |
</li>
|
57 |
-
<li style="float:left;width:
|
58 |
<input type="radio" name="payment[cc_type]" value="56" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_hipercard.gif" alt="Hipercard" title="Hipercard" />
|
59 |
</li>
|
|
|
|
|
|
|
60 |
</ul>
|
61 |
-
</li>
|
62 |
-
|
63 |
-
<li style="float:left;width:500px;">
|
64 |
<ul>
|
65 |
<li><input id="campo_obrigatorio_pdprazo" type="hidden" class="required-entry" /></li>
|
66 |
</ul>
|
67 |
</li>
|
68 |
-
|
69 |
-
<li
|
70 |
-
<
|
71 |
</li>
|
72 |
</ul>
|
73 |
</ul>
|
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();
|
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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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>
|
app/design/frontend/base/default/template/buscape/pagamentodigital/form/vista.phtml
CHANGED
@@ -29,28 +29,34 @@
|
|
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:
|
40 |
<input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.pagamentodigital.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:
|
43 |
<input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.pagamentodigital.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:
|
46 |
<input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.pagamentodigital.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:
|
49 |
<input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.pagamentodigital.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 |
</ul>
|
52 |
</li>
|
53 |
-
<li style="float:left;
|
54 |
<ul>
|
55 |
<li><input id="campo_obrigatorio_pdvista" type="hidden" class="required-entry" /></li>
|
56 |
</ul>
|
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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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>
|
app/{code/community/Buscape/PagamentoDigital/Block/Html/Head.php → design/frontend/base/default/template/buscape/pagamentodigital/overlay.phtml}
RENAMED
@@ -1,29 +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
|
16 |
-
* @package
|
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 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
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/base/default/template/buscape/pagamentodigital/payment.phtml
CHANGED
@@ -19,20 +19,6 @@
|
|
19 |
*/
|
20 |
?>
|
21 |
|
22 |
-
<style>
|
23 |
-
|
24 |
-
#overlay-pd{
|
25 |
-
background-image: url(<?php echo $this->getSkinUrl('images/buscape/pagamentodigital/overlay.png')?>);
|
26 |
-
display:block;
|
27 |
-
position: absolute;
|
28 |
-
top: 0px;
|
29 |
-
left: 0px;
|
30 |
-
width: 100%;
|
31 |
-
height: 100%;
|
32 |
-
z-index: 100;
|
33 |
-
}
|
34 |
-
|
35 |
-
</style>
|
36 |
<div class="page-head">
|
37 |
<h2 class="sub-title">Finalizando sua compra com Pagamento Digital</h2>
|
38 |
</div>
|
@@ -41,28 +27,23 @@
|
|
41 |
<td style="width:100%">
|
42 |
Sua compra está em processo de finalização.<br />
|
43 |
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a><br /><br />
|
44 |
-
<object type="application/x-shockwave-flash" data="https://www.pagamentodigital.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.pagamentodigital.com.br" width="468" height="60"
|
45 |
-
|
46 |
-
<
|
47 |
-
|
48 |
-
|
49 |
-
<img src="<?php echo $this->getSkinUrl('images/buscape/pagamentodigital/close.png'); ?>" style="position: relative;margin-left: 970px;margin-top: -20px;" />
|
50 |
-
<iframe name="pd_frame" width="970" height="700" style="border:0px" ></iframe>
|
51 |
-
</div>
|
52 |
-
</center>
|
53 |
-
</div>
|
54 |
<?php $this->getPayment(); ?>
|
55 |
-
|
56 |
</td>
|
57 |
</tr>
|
58 |
</table>
|
|
|
|
|
59 |
<script type="text/javascript">
|
60 |
document.getElementById('pd_form').setAttribute("target", "pd_frame");
|
61 |
document.getElementById('pd_form').submit();
|
62 |
document.getElementById('overlay-pd').onclick = function (){
|
63 |
-
|
64 |
-
|
65 |
document.getElementById('pd_lightbox').onclick = function (){
|
66 |
-
|
67 |
-
|
68 |
</script>
|
19 |
*/
|
20 |
?>
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
<div class="page-head">
|
23 |
<h2 class="sub-title">Finalizando sua compra com Pagamento Digital</h2>
|
24 |
</div>
|
27 |
<td style="width:100%">
|
28 |
Sua compra está em processo de finalização.<br />
|
29 |
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a><br /><br />
|
30 |
+
<object type="application/x-shockwave-flash" data="https://www.pagamentodigital.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.pagamentodigital.com.br" width="468" height="60">
|
31 |
+
<param name="movie" value="https://www.pagamentodigital.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.pagamentodigital.com.br" />
|
32 |
+
<param name="wmode" value="transparent"/>
|
33 |
+
</object>
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
<?php $this->getPayment(); ?>
|
|
|
35 |
</td>
|
36 |
</tr>
|
37 |
</table>
|
38 |
+
|
39 |
+
|
40 |
<script type="text/javascript">
|
41 |
document.getElementById('pd_form').setAttribute("target", "pd_frame");
|
42 |
document.getElementById('pd_form').submit();
|
43 |
document.getElementById('overlay-pd').onclick = function (){
|
44 |
+
this.style.display = "none";
|
45 |
+
};
|
46 |
document.getElementById('pd_lightbox').onclick = function (){
|
47 |
+
document.getElementById('overlay-pd').style.display = "block";
|
48 |
+
};
|
49 |
</script>
|
app/design/frontend/default/default/layout/buscape_pagamentodigital.xml
CHANGED
@@ -21,10 +21,18 @@
|
|
21 |
-->
|
22 |
<layout version="0.1.0">
|
23 |
<pagamentodigital_standard_payment>
|
|
|
|
|
|
|
|
|
|
|
24 |
<remove name="left"/>
|
25 |
<reference name="root">
|
26 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
27 |
</reference>
|
|
|
|
|
|
|
28 |
<reference name="content">
|
29 |
<block type="pagamentodigital/payment" name="payment" template="buscape/pagamentodigital/payment.phtml" />
|
30 |
</reference>
|
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="after_body_start">
|
34 |
+
<block type="page/html" name="overlay" template="buscape/pagamentodigital/overlay.phtml" />
|
35 |
+
</reference>
|
36 |
<reference name="content">
|
37 |
<block type="pagamentodigital/payment" name="payment" template="buscape/pagamentodigital/payment.phtml" />
|
38 |
</reference>
|
app/design/frontend/default/default/template/buscape/pagamentodigital/form/geral.phtml
CHANGED
@@ -25,64 +25,73 @@
|
|
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:
|
40 |
-
<input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('
|
|
|
|
|
|
|
41 |
</li>
|
42 |
-
<li style="float:left;width:
|
43 |
-
<input type="radio" name="payment[cc_type]" value="
|
44 |
</li>
|
45 |
-
<li style="float:left;width:
|
46 |
-
<input type="radio" name="payment[cc_type]" value="
|
47 |
</li>
|
48 |
-
<li style="float:left;width:
|
49 |
-
<input type="radio" name="payment[cc_type]" value="
|
|
|
|
|
|
|
50 |
</li>
|
51 |
</ul>
|
52 |
</li>
|
53 |
-
<li style="float:left;
|
54 |
<ul>
|
55 |
-
<li style="float:left;width:
|
56 |
-
<input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('
|
57 |
|
58 |
</li>
|
59 |
-
<li style="float:left;width:
|
60 |
-
<input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('
|
61 |
</li>
|
62 |
-
<li style="float:left;width:
|
63 |
-
<input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('
|
64 |
|
65 |
</li>
|
66 |
-
<li style="float:left;width:
|
67 |
-
<input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('
|
68 |
|
69 |
</li>
|
70 |
-
<li style="float:left;width:
|
71 |
-
<input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('
|
|
|
|
|
|
|
72 |
</li>
|
73 |
-
<li style="float:left;width:
|
74 |
-
<input type="radio" name="payment[cc_type]" value="
|
75 |
</li>
|
76 |
</ul>
|
77 |
</li>
|
78 |
-
<li style="float:left;
|
79 |
<ul>
|
80 |
<li><input id="campo_obrigatorio_pdgeral" type="hidden" class="required-entry" /></li>
|
81 |
</ul>
|
82 |
</li>
|
83 |
<li style="clear:both;"></li>
|
84 |
-
<li id="
|
85 |
-
<
|
86 |
</li>
|
87 |
</ul>
|
88 |
</ul>
|
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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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>
|
app/design/frontend/default/default/template/buscape/pagamentodigital/form/prazo.phtml
CHANGED
@@ -20,54 +20,56 @@
|
|
20 |
?>
|
21 |
<fieldset class="form-list">
|
22 |
<?php
|
23 |
-
$_code
|
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:
|
40 |
<input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_visa.gif" alt="Visa" title="Visa" />
|
41 |
|
42 |
</li>
|
43 |
-
<li style="float:left;width:
|
44 |
<input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_master.gif" alt="Master" title="Master" />
|
45 |
</li>
|
46 |
-
<li style="float:left;width:
|
47 |
<input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_americans.gif" alt="American Express" title="American Express" />
|
48 |
|
49 |
</li>
|
50 |
-
<li style="float:left;width:
|
51 |
<input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_aura.gif" alt="Aura" title="Aura" />
|
52 |
|
53 |
</li>
|
54 |
-
<li style="float:left;width:
|
55 |
<input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_diners.gif" alt="Diners" title="Diners" />
|
56 |
</li>
|
57 |
-
<li style="float:left;width:
|
58 |
<input type="radio" name="payment[cc_type]" value="56" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.pagamentodigital.com.br/webroot/img/img_meios/pagamento_hipercard.gif" alt="Hipercard" title="Hipercard" />
|
59 |
</li>
|
|
|
|
|
|
|
60 |
</ul>
|
61 |
-
</li>
|
62 |
-
|
63 |
-
<li style="float:left;width:500px;">
|
64 |
<ul>
|
65 |
<li><input id="campo_obrigatorio_pdprazo" type="hidden" class="required-entry" /></li>
|
66 |
</ul>
|
67 |
</li>
|
68 |
-
|
69 |
-
<li
|
70 |
-
<
|
71 |
</li>
|
72 |
</ul>
|
73 |
</ul>
|
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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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>
|
app/design/frontend/default/default/template/buscape/pagamentodigital/form/vista.phtml
CHANGED
@@ -29,28 +29,34 @@
|
|
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:
|
40 |
<input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.pagamentodigital.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:
|
43 |
<input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.pagamentodigital.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:
|
46 |
<input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.pagamentodigital.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:
|
49 |
<input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.pagamentodigital.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 |
</ul>
|
52 |
</li>
|
53 |
-
<li style="float:left;
|
54 |
<ul>
|
55 |
<li><input id="campo_obrigatorio_pdvista" type="hidden" class="required-entry" /></li>
|
56 |
</ul>
|
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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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.pagamentodigital.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>
|
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
CHANGED
@@ -19,20 +19,6 @@
|
|
19 |
*/
|
20 |
?>
|
21 |
|
22 |
-
<style>
|
23 |
-
|
24 |
-
#overlay-pd{
|
25 |
-
background-image: url(<?php echo $this->getSkinUrl('images/buscape/pagamentodigital/overlay.png')?>);
|
26 |
-
display:block;
|
27 |
-
position: absolute;
|
28 |
-
top: 0px;
|
29 |
-
left: 0px;
|
30 |
-
width: 100%;
|
31 |
-
height: 100%;
|
32 |
-
z-index: 100;
|
33 |
-
}
|
34 |
-
|
35 |
-
</style>
|
36 |
<div class="page-head">
|
37 |
<h2 class="sub-title">Finalizando sua compra com Pagamento Digital</h2>
|
38 |
</div>
|
@@ -41,28 +27,23 @@
|
|
41 |
<td style="width:100%">
|
42 |
Sua compra está em processo de finalização.<br />
|
43 |
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a><br /><br />
|
44 |
-
<object type="application/x-shockwave-flash" data="https://www.pagamentodigital.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.pagamentodigital.com.br" width="468" height="60"
|
45 |
-
|
46 |
-
<
|
47 |
-
|
48 |
-
|
49 |
-
<img src="<?php echo $this->getSkinUrl('images/buscape/pagamentodigital/close.png'); ?>" style="position: relative;margin-left: 970px;margin-top: -20px;" />
|
50 |
-
<iframe name="pd_frame" width="970" height="700" style="border:0px" ></iframe>
|
51 |
-
</div>
|
52 |
-
</center>
|
53 |
-
</div>
|
54 |
<?php $this->getPayment(); ?>
|
55 |
-
|
56 |
</td>
|
57 |
</tr>
|
58 |
</table>
|
|
|
|
|
59 |
<script type="text/javascript">
|
60 |
document.getElementById('pd_form').setAttribute("target", "pd_frame");
|
61 |
document.getElementById('pd_form').submit();
|
62 |
document.getElementById('overlay-pd').onclick = function (){
|
63 |
-
|
64 |
-
|
65 |
document.getElementById('pd_lightbox').onclick = function (){
|
66 |
-
|
67 |
-
|
68 |
</script>
|
19 |
*/
|
20 |
?>
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
<div class="page-head">
|
23 |
<h2 class="sub-title">Finalizando sua compra com Pagamento Digital</h2>
|
24 |
</div>
|
27 |
<td style="width:100%">
|
28 |
Sua compra está em processo de finalização.<br />
|
29 |
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a><br /><br />
|
30 |
+
<object type="application/x-shockwave-flash" data="https://www.pagamentodigital.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.pagamentodigital.com.br" width="468" height="60">
|
31 |
+
<param name="movie" value="https://www.pagamentodigital.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.pagamentodigital.com.br" />
|
32 |
+
<param name="wmode" value="transparent"/>
|
33 |
+
</object>
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
<?php $this->getPayment(); ?>
|
|
|
35 |
</td>
|
36 |
</tr>
|
37 |
</table>
|
38 |
+
|
39 |
+
|
40 |
<script type="text/javascript">
|
41 |
document.getElementById('pd_form').setAttribute("target", "pd_frame");
|
42 |
document.getElementById('pd_form').submit();
|
43 |
document.getElementById('overlay-pd').onclick = function (){
|
44 |
+
this.style.display = "none";
|
45 |
+
};
|
46 |
document.getElementById('pd_lightbox').onclick = function (){
|
47 |
+
document.getElementById('overlay-pd').style.display = "block";
|
48 |
+
};
|
49 |
</script>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
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>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>O Pagamento Digital é 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 Pagamento Digital), fazendo com que todas as transações no ambiente Pagamento Digital sejam seguras.</description>
|
11 |
<notes>Buscapé Pagamento Digital é 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>2012-
|
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="Form"><file name="Geral.php" hash="aeb083bfedc4bb426827fa3959eec112"/><file name="Prazo.php" hash="2dbf3b07ce78406141d2f6bb4adb0af3"/><file name="Vista.php" hash="a30e9c0f19f7118cf0a746870c36e1bd"/></dir><dir name="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Buscape_PagamentoDigital</name>
|
4 |
+
<version>0.1.8</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 Pagamento Digital é 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 Pagamento Digital), fazendo com que todas as transações no ambiente Pagamento Digital sejam seguras.</description>
|
11 |
<notes>Buscapé Pagamento Digital é 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>2012-07-12</date>
|
14 |
+
<time>17:24:51</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="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="c8776ddc29afba919ea0fd4fbf114a6b"/><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"/></dir><file name="Config.php" hash="fa9f76aa9f500c07362d8aedea17f372"/><file name="Geral.php" hash="d85881310266dae4dfb285f8a4a6dc0c"/><file name="Observer.php" hash="5eb7a024bcfcda51fae9cf78c0ce20b7"/><file name="Prazo.php" hash="a198dfd0c0cffa02fe5dc475a2664ba2"/><file name="Standard.php" hash="ee264cebef93c1cfa23cc0326b371f7d"/><file name="Vista.php" hash="aac1bce4b09a14e8ac15e43b012bb7d2"/></dir><dir name="controllers"><file name="StandardController.php" hash="4d9655ec3574671ec0e3f8dcf993068f"/></dir><dir name="etc"><file name="config.xml" hash="a7de9e78aa3d8fc46c1e9a0360b67d1c"/><file name="system.xml" hash="3e5d25117eef38027969239ffad8c4ed"/></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.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"/></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="de2b8081f61c4fa04bc82ba8d371456a"/><file name="prazo.phtml" hash="e1b19f01d42f72e0bab0dd6141e68141"/><file name="vista.phtml" hash="0d3902308e0f599596037a81ebf42eba"/></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="74cc936ca8174fe79c632e578c9b0597"/><file name="return.phtml" hash="4382cac16c029073ec6cf072187282eb"/></dir></dir></dir><dir name="layout"><file name="buscape_pagamentodigital.xml" hash="4c6d885e82023c71b9b63c52ab9d2faa"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="buscape"><dir name="pagamentodigital"><dir name="form"><file name="geral.phtml" hash="de2b8081f61c4fa04bc82ba8d371456a"/><file name="prazo.phtml" hash="e1b19f01d42f72e0bab0dd6141e68141"/><file name="vista.phtml" hash="0d3902308e0f599596037a81ebf42eba"/></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="74cc936ca8174fe79c632e578c9b0597"/><file name="return.phtml" hash="4382cac16c029073ec6cf072187282eb"/></dir></dir></dir><dir name="layout"><file name="buscape_pagamentodigital.xml" hash="4c6d885e82023c71b9b63c52ab9d2faa"/></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="fa83c59f4bb85b8396e59e692d8c997b"/><file name="prazo.phtml" hash="3707d19429ae77d2a0be4d932ab57b52"/><file name="vista.phtml" hash="1f7f987458b533b3da50548d437e9ee8"/></dir><dir name="info"><file name="geral.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/><file name="prazo.phtml" hash="1541597a9032477f3804ff8215c8c4ad"/><file name="vista.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/></dir></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"/></dir></dir></dir></dir></dir><dir name="default"><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"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
skin/frontend/base/default/buscape/pagamentodigital/css/styles.css
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#overlay-pd {
|
2 |
+
background-image: url('../images/overlay.png');
|
3 |
+
display:block;
|
4 |
+
position: absolute;
|
5 |
+
top: 0px;
|
6 |
+
left: 0px;
|
7 |
+
width: 100%;
|
8 |
+
height: 100%;
|
9 |
+
z-index: 2147483647;
|
10 |
+
}
|
skin/frontend/base/default/{images/buscape/pagamentodigital → buscape/pagamentodigital/images}/close.png
RENAMED
File without changes
|
skin/frontend/base/default/{images/buscape/pagamentodigital → buscape/pagamentodigital/images}/overlay.png
RENAMED
File without changes
|
skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_e.png
DELETED
Binary file
|
skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_n.png
DELETED
Binary file
|
skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_ne.png
DELETED
Binary file
|
skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_nw.png
DELETED
Binary file
|
skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_s.png
DELETED
Binary file
|
skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_se.png
DELETED
Binary file
|
skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_sw.png
DELETED
Binary file
|
skin/frontend/base/default/images/buscape/pagamentodigital/fancy_shadow_w.png
DELETED
Binary file
|
skin/frontend/default/default/buscape/pagamentodigital/css/styles.css
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#overlay-pd {
|
2 |
+
background-image: url('../images/overlay.png');
|
3 |
+
display:block;
|
4 |
+
position: absolute;
|
5 |
+
top: 0px;
|
6 |
+
left: 0px;
|
7 |
+
width: 100%;
|
8 |
+
height: 100%;
|
9 |
+
z-index: 2147483647;
|
10 |
+
}
|
skin/frontend/default/default/{images/buscape/pagamentodigital → buscape/pagamentodigital/images}/close.png
RENAMED
File without changes
|
skin/frontend/default/default/{images/buscape/pagamentodigital → buscape/pagamentodigital/images}/overlay.png
RENAMED
File without changes
|
skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_e.png
DELETED
Binary file
|
skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_n.png
DELETED
Binary file
|
skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_ne.png
DELETED
Binary file
|
skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_nw.png
DELETED
Binary file
|
skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_s.png
DELETED
Binary file
|
skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_se.png
DELETED
Binary file
|
skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_sw.png
DELETED
Binary file
|
skin/frontend/default/default/images/buscape/pagamentodigital/fancy_shadow_w.png
DELETED
Binary file
|