Version Notes
Buscapé Bcash é compatível com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Buscape_PagamentoDigital |
Version | 0.1.10 |
Comparing to | |
See all releases |
Code changes from version 0.1.9 to 0.1.10
- app/code/community/Buscape/PagamentoDigital/Block/Adminhtml/System/Config/Fieldset/Label.php +44 -0
- app/code/community/Buscape/PagamentoDigital/Model/Config.php +23 -0
- app/code/community/Buscape/PagamentoDigital/Model/Observer.php +1 -1
- app/{design/frontend/default/default/template/buscape/pagamentodigital/return.phtml → code/community/Buscape/PagamentoDigital/Model/Source/Webcheckout.php} +14 -6
- app/code/community/Buscape/PagamentoDigital/controllers/StandardController.php +2 -3
- app/code/community/Buscape/PagamentoDigital/etc/adminhtml.xml +45 -0
- app/code/community/Buscape/PagamentoDigital/etc/config.xml +13 -1
- app/code/community/Buscape/PagamentoDigital/etc/system.xml +46 -0
- app/design/adminhtml/default/default/layout/buscape_pagamentodigital.xml +37 -0
- app/design/adminhtml/default/default/template/buscape/pagamentodigital/getbaseurl.phtml +30 -0
- app/design/frontend/base/default/layout/buscape_pagamentodigital.xml +0 -3
- app/design/frontend/base/default/template/buscape/pagamentodigital/payment.phtml +181 -25
- app/design/frontend/default/default/layout/buscape_pagamentodigital.xml +0 -60
- app/design/frontend/default/default/template/buscape/pagamentodigital/error.phtml +0 -33
- app/design/frontend/default/default/template/buscape/pagamentodigital/form/geral.phtml +0 -98
- app/design/frontend/default/default/template/buscape/pagamentodigital/form/prazo.phtml +0 -76
- app/design/frontend/default/default/template/buscape/pagamentodigital/form/vista.phtml +0 -67
- app/design/frontend/default/default/template/buscape/pagamentodigital/head.phtml +0 -37
- app/design/frontend/default/default/template/buscape/pagamentodigital/info/geral.phtml +0 -26
- app/design/frontend/default/default/template/buscape/pagamentodigital/info/prazo.phtml +0 -26
- app/design/frontend/default/default/template/buscape/pagamentodigital/info/vista.phtml +0 -26
- app/design/frontend/default/default/template/buscape/pagamentodigital/overlay.phtml +0 -29
- app/design/frontend/default/default/template/buscape/pagamentodigital/payment.phtml +0 -49
- package.xml +7 -7
- skin/adminhtml/default/default/buscape/pagamentodigital/css/magentomodal.css +194 -0
- skin/adminhtml/default/default/buscape/pagamentodigital/images/btn_bg.gif +0 -0
- skin/adminhtml/default/default/buscape/pagamentodigital/images/content_bg.gif +0 -0
- skin/adminhtml/default/default/buscape/pagamentodigital/images/top_bg.gif +0 -0
- skin/adminhtml/default/default/buscape/pagamentodigital/images/window_close.png +0 -0
- skin/adminhtml/default/default/buscape/pagamentodigital/js/exibitionsettingswebcheckout.js +26 -0
- skin/frontend/base/default/buscape/pagamentodigital/images/print-iframe.jpg +0 -0
- skin/frontend/base/default/buscape/pagamentodigital/images/print-modal.jpg +0 -0
- skin/frontend/base/default/buscape/pagamentodigital/images/print-redirect2.jpg +0 -0
- skin/frontend/default/default/buscape/pagamentodigital/css/styles.css +0 -10
- skin/frontend/default/default/buscape/pagamentodigital/images/close.png +0 -0
- skin/frontend/default/default/buscape/pagamentodigital/images/overlay.png +0 -0
app/code/community/Buscape/PagamentoDigital/Block/Adminhtml/System/Config/Fieldset/Label.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Buscape
|
16 |
+
* @package Buscape_Ebehavior
|
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 |
+
class Buscape_PagamentoDigital_Block_Adminhtml_System_Config_Fieldset_Label extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
|
22 |
+
{
|
23 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
24 |
+
{
|
25 |
+
$id = $element->getHtmlId();
|
26 |
+
$html = sprintf('
|
27 |
+
<tr class="system-fieldset-sub-head" id="row_%s">
|
28 |
+
<td colspan="5">
|
29 |
+
<h4 id="%s">%s</h4>
|
30 |
+
<p class="note">
|
31 |
+
<span>%s</span>
|
32 |
+
</p>
|
33 |
+
</td>
|
34 |
+
</tr>',
|
35 |
+
$element->getHtmlId(), $element->getHtmlId(), $element->getLabel(), $element->getComment()
|
36 |
+
);
|
37 |
+
|
38 |
+
$html .= <<<HTML
|
39 |
+
|
40 |
+
HTML;
|
41 |
+
|
42 |
+
return $html;
|
43 |
+
}
|
44 |
+
}
|
app/code/community/Buscape/PagamentoDigital/Model/Config.php
CHANGED
@@ -22,8 +22,12 @@ class Buscape_PagamentoDigital_Model_Config extends Varien_Object
|
|
22 |
{
|
23 |
const XML_PATH = 'payment/pagamentodigital/';
|
24 |
|
|
|
|
|
25 |
protected $_config = array();
|
26 |
|
|
|
|
|
27 |
public function getConfigData($key, $storeId = null)
|
28 |
{
|
29 |
if (!isset($this->_config[$key][$storeId])) {
|
@@ -32,6 +36,15 @@ class Buscape_PagamentoDigital_Model_Config extends Varien_Object
|
|
32 |
}
|
33 |
return $this->_config[$key][$storeId];
|
34 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
public function getAccount($store = null)
|
37 |
{
|
@@ -59,4 +72,14 @@ class Buscape_PagamentoDigital_Model_Config extends Varien_Object
|
|
59 |
|
60 |
return $this->getData('pagamentodigital_url');
|
61 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
}
|
22 |
{
|
23 |
const XML_PATH = 'payment/pagamentodigital/';
|
24 |
|
25 |
+
const XML_PATH_CONFIG = 'pagamentodigital/settings/';
|
26 |
+
|
27 |
protected $_config = array();
|
28 |
|
29 |
+
protected $_config_settings = array();
|
30 |
+
|
31 |
public function getConfigData($key, $storeId = null)
|
32 |
{
|
33 |
if (!isset($this->_config[$key][$storeId])) {
|
36 |
}
|
37 |
return $this->_config[$key][$storeId];
|
38 |
}
|
39 |
+
|
40 |
+
public function getConfigDataSettings($key, $storeId = null)
|
41 |
+
{
|
42 |
+
if (!isset($this->_config_settings[$key][$storeId])) {
|
43 |
+
$value = Mage::getStoreConfig(self::XML_PATH_CONFIG . $key, $storeId);
|
44 |
+
$this->_config_settings[$key][$storeId] = $value;
|
45 |
+
}
|
46 |
+
return $this->_config_settings[$key][$storeId];
|
47 |
+
}
|
48 |
|
49 |
public function getAccount($store = null)
|
50 |
{
|
72 |
|
73 |
return $this->getData('pagamentodigital_url');
|
74 |
}
|
75 |
+
|
76 |
+
public function getExibitionWebCheckout($storeId = null)
|
77 |
+
{
|
78 |
+
if (!$this->hasData('exibitionmodal')) {
|
79 |
+
$this->setData('exibitionmodal', $this->getConfigDataSettings('exibitionmodal', $storeId));
|
80 |
+
}
|
81 |
+
|
82 |
+
return $this->getData('exibitionmodal');
|
83 |
+
}
|
84 |
+
|
85 |
}
|
app/code/community/Buscape/PagamentoDigital/Model/Observer.php
CHANGED
@@ -34,5 +34,5 @@ class Buscape_PagamentoDigital_Model_Observer extends Varien_Object
|
|
34 |
$order->save();
|
35 |
}
|
36 |
}
|
37 |
-
|
38 |
}
|
34 |
$order->save();
|
35 |
}
|
36 |
}
|
37 |
+
|
38 |
}
|
app/{design/frontend/default/default/template/buscape/pagamentodigital/return.phtml → code/community/Buscape/PagamentoDigital/Model/Source/Webcheckout.php}
RENAMED
@@ -12,13 +12,21 @@
|
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
*
|
15 |
+
* @category Buscape
|
16 |
+
* @package Buscape_Fcontrol
|
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 |
+
class Buscape_PagamentoDigital_Model_Source_Webcheckout
|
22 |
+
{
|
23 |
+
public function toOptionArray()
|
24 |
+
{
|
25 |
+
return array(
|
26 |
+
array('value' => '', 'label' => ''),
|
27 |
+
array('value' => '1', 'label' => 'Modal'),
|
28 |
+
array('value' => '2', 'label' => 'Iframe'),
|
29 |
+
array('value' => '3', 'label' => 'Redirect (Nova janela)'),
|
30 |
+
);
|
31 |
+
}
|
32 |
+
}
|
app/code/community/Buscape/PagamentoDigital/controllers/StandardController.php
CHANGED
@@ -28,12 +28,11 @@ class Buscape_PagamentoDigital_StandardController extends Mage_Core_Controller_F
|
|
28 |
|
29 |
|
30 |
public function paymentAction()
|
31 |
-
{
|
32 |
$this->loadLayout();
|
33 |
-
$this->renderLayout();
|
34 |
}
|
35 |
|
36 |
-
|
37 |
public function returnAction()
|
38 |
{
|
39 |
$this->loadLayout();
|
28 |
|
29 |
|
30 |
public function paymentAction()
|
31 |
+
{
|
32 |
$this->loadLayout();
|
33 |
+
$this->renderLayout();
|
34 |
}
|
35 |
|
|
|
36 |
public function returnAction()
|
37 |
{
|
38 |
$this->loadLayout();
|
app/code/community/Buscape/PagamentoDigital/etc/adminhtml.xml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Itwin
|
17 |
+
* @package Itwin_PostcodeComplete
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
-->
|
21 |
+
|
22 |
+
<config>
|
23 |
+
<acl>
|
24 |
+
<resources>
|
25 |
+
<all>
|
26 |
+
<title>Allow Everything</title>
|
27 |
+
</all>
|
28 |
+
<admin>
|
29 |
+
<children>
|
30 |
+
<system>
|
31 |
+
<children>
|
32 |
+
<config>
|
33 |
+
<children>
|
34 |
+
<pagamentodigital>
|
35 |
+
<title>Bcash - Settings</title>
|
36 |
+
</pagamentodigital>
|
37 |
+
</children>
|
38 |
+
</config>
|
39 |
+
</children>
|
40 |
+
</system>
|
41 |
+
</children>
|
42 |
+
</admin>
|
43 |
+
</resources>
|
44 |
+
</acl>
|
45 |
+
</config>
|
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>
|
@@ -123,6 +123,13 @@
|
|
123 |
</pagamentodigital>
|
124 |
</modules>
|
125 |
</translate>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
</adminhtml>
|
127 |
<default>
|
128 |
<!-- incluir as configurações de acordo com cada modelo -->
|
@@ -152,5 +159,10 @@
|
|
152 |
<retorno>http://www.urldoseusite.com.br/index.php/PagamentoDigital_PdPrazo/standard/success/</retorno>
|
153 |
</pagamentodigital_prazo>
|
154 |
</payment>
|
|
|
|
|
|
|
|
|
|
|
155 |
</default>
|
156 |
</config>
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Buscape_PagamentoDigital>
|
25 |
+
<version>0.1.10</version>
|
26 |
</Buscape_PagamentoDigital>
|
27 |
</modules>
|
28 |
<global>
|
123 |
</pagamentodigital>
|
124 |
</modules>
|
125 |
</translate>
|
126 |
+
<layout>
|
127 |
+
<updates>
|
128 |
+
<pagamentodigital>
|
129 |
+
<file>buscape_pagamentodigital.xml</file>
|
130 |
+
</pagamentodigital>
|
131 |
+
</updates>
|
132 |
+
</layout>
|
133 |
</adminhtml>
|
134 |
<default>
|
135 |
<!-- incluir as configurações de acordo com cada modelo -->
|
159 |
<retorno>http://www.urldoseusite.com.br/index.php/PagamentoDigital_PdPrazo/standard/success/</retorno>
|
160 |
</pagamentodigital_prazo>
|
161 |
</payment>
|
162 |
+
<pagamentodigital>
|
163 |
+
<settings>
|
164 |
+
<exibitionmodal>1</exibitionmodal>
|
165 |
+
</settings>
|
166 |
+
</pagamentodigital>
|
167 |
</default>
|
168 |
</config>
|
app/code/community/Buscape/PagamentoDigital/etc/system.xml
CHANGED
@@ -20,7 +20,53 @@
|
|
20 |
*/
|
21 |
-->
|
22 |
<config>
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
<sections>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
<payment translate="label" module="pagamentodigital">
|
25 |
<groups>
|
26 |
<pagamentodigital_geral translate="label">
|
20 |
*/
|
21 |
-->
|
22 |
<config>
|
23 |
+
<tabs>
|
24 |
+
<buscape translate="label" module="pagamentodigital">
|
25 |
+
<label>Buscapé Company</label>
|
26 |
+
<sort_order>100</sort_order>
|
27 |
+
</buscape>
|
28 |
+
</tabs>
|
29 |
<sections>
|
30 |
+
<pagamentodigital translate="label" module="pagamentodigital">
|
31 |
+
<label>Bcash</label>
|
32 |
+
<tab>buscape</tab>
|
33 |
+
<sort_order>1000</sort_order>
|
34 |
+
<show_in_default>1</show_in_default>
|
35 |
+
<show_in_website>1</show_in_website>
|
36 |
+
<show_in_store>1</show_in_store>
|
37 |
+
<groups>
|
38 |
+
<settings translate="label" module="pagamentodigital">
|
39 |
+
<label>Configurações</label>
|
40 |
+
<frontend_type>text</frontend_type>
|
41 |
+
<sort_order>1000</sort_order>
|
42 |
+
<show_in_default>1</show_in_default>
|
43 |
+
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
+
<fields>
|
46 |
+
<masklabel>
|
47 |
+
<label>Exibição do WebCheckout</label>
|
48 |
+
<!-- <comment>descriptionnnnnn.</comment> -->
|
49 |
+
<!-- <button_label>Adicionar</button_label> -->
|
50 |
+
<frontend_model>pagamentodigital/adminhtml_system_config_fieldset_label</frontend_model>
|
51 |
+
<sort_order>1</sort_order>
|
52 |
+
<show_in_default>1</show_in_default>
|
53 |
+
<show_in_website>1</show_in_website>
|
54 |
+
<show_in_store>1</show_in_store>
|
55 |
+
</masklabel>
|
56 |
+
<exibitionmodal translate="label">
|
57 |
+
<label>Tipo de exibição</label>
|
58 |
+
<comment><![CDATA[Veja as opções disponíveis: <a href="#" onclick="openModalBcash('/skin/frontend/base/default/buscape/pagamentodigital/images/print-modal.jpg', 'WebCheckout - Modal');"> Modal </a>, <a href="#" onclick="openModalBcash('/skin/frontend/base/default/buscape/pagamentodigital/images/print-iframe.jpg', 'WebCheckout - Iframe');"> Iframe </a>, <a href="#" onclick="openModalBcash('/skin/frontend/base/default/buscape/pagamentodigital/images/print-redirect2.jpg', 'WebCheckout - Redirect');"> Redirect </a>.]]></comment>
|
59 |
+
<frontend_type>select</frontend_type>
|
60 |
+
<source_model>pagamentodigital/source_webcheckout</source_model>
|
61 |
+
<sort_order>2</sort_order>
|
62 |
+
<show_in_default>1</show_in_default>
|
63 |
+
<show_in_website>1</show_in_website>
|
64 |
+
<show_in_store>1</show_in_store>
|
65 |
+
</exibitionmodal>
|
66 |
+
</fields>
|
67 |
+
</settings>
|
68 |
+
</groups>
|
69 |
+
</pagamentodigital>
|
70 |
<payment translate="label" module="pagamentodigital">
|
71 |
<groups>
|
72 |
<pagamentodigital_geral translate="label">
|
app/design/adminhtml/default/default/layout/buscape_pagamentodigital.xml
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Buscape
|
17 |
+
* @package Buscape_PagamentoDigital
|
18 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
-->
|
22 |
+
<layout version="0.1.0">
|
23 |
+
<adminhtml_system_config_edit>
|
24 |
+
<reference name="head">
|
25 |
+
<action method="addItem">
|
26 |
+
<type>skin_js</type>
|
27 |
+
<script>buscape/pagamentodigital/js/exibitionsettingswebcheckout.js</script>
|
28 |
+
</action>
|
29 |
+
<action method="addCss">
|
30 |
+
<stylesheet>buscape/pagamentodigital/css/magentomodal.css</stylesheet>
|
31 |
+
</action>
|
32 |
+
</reference>
|
33 |
+
<reference name="content">
|
34 |
+
<block type="page/html" name="getbaseurl" template="buscape/pagamentodigital/getbaseurl.phtml" />
|
35 |
+
</reference>
|
36 |
+
</adminhtml_system_config_edit>
|
37 |
+
</layout>
|
app/design/adminhtml/default/default/template/buscape/pagamentodigital/getbaseurl.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category Itwin
|
22 |
+
* @package Itwin_PostcodeComplete
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
?>
|
26 |
+
|
27 |
+
<script type="text/javascript">
|
28 |
+
var pagamentodigital_baseurl = "<?php echo $this->getBaseUrl(); ?>";
|
29 |
+
</script>
|
30 |
+
|
app/design/frontend/base/default/layout/buscape_pagamentodigital.xml
CHANGED
@@ -30,9 +30,6 @@
|
|
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>
|
30 |
<reference name="root">
|
31 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
32 |
</reference>
|
|
|
|
|
|
|
33 |
<reference name="content">
|
34 |
<block type="pagamentodigital/payment" name="payment" template="buscape/pagamentodigital/payment.phtml" />
|
35 |
</reference>
|
app/design/frontend/base/default/template/buscape/pagamentodigital/payment.phtml
CHANGED
@@ -22,28 +22,184 @@
|
|
22 |
<div class="page-head">
|
23 |
<h2 class="sub-title">Finalizando sua compra com Bcash</h2>
|
24 |
</div>
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
<div class="page-head">
|
23 |
<h2 class="sub-title">Finalizando sua compra com Bcash</h2>
|
24 |
</div>
|
25 |
+
|
26 |
+
<?php $config = Mage::getModel('pagamentodigital/config')->getExibitionWebCheckout(); ?>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
switch($config)
|
30 |
+
{
|
31 |
+
case 1:
|
32 |
+
?>
|
33 |
+
<script type="text/javascript">
|
34 |
+
var div_pd = document.createElement("div");
|
35 |
+
var center_frame = document.createElement("center");
|
36 |
+
var div_frame = document.createElement("div");
|
37 |
+
var img_close = document.createElement("img");
|
38 |
+
var frame_pd = document.createElement("iframe");
|
39 |
+
|
40 |
+
frame_pd.setAttribute("style","border:0px");
|
41 |
+
frame_pd.setAttribute("width","970");
|
42 |
+
frame_pd.setAttribute("height","700");
|
43 |
+
frame_pd.setAttribute("name","pd_frame");
|
44 |
+
|
45 |
+
img_close.setAttribute("style","position: relative;margin-left: 970px;margin-top: -20px;");
|
46 |
+
img_close.setAttribute("src","<?php echo $this->getSkinUrl('buscape/pagamentodigital/images/close.png'); ?>");
|
47 |
+
|
48 |
+
div_frame.setAttribute("style","padding: 10px;background-color: #fff;width: 980px;margin-top: 50px");
|
49 |
+
div_frame.setAttribute("id","lightbox");
|
50 |
+
|
51 |
+
div_pd.setAttribute("id","overlay-pd");
|
52 |
+
|
53 |
+
div_frame.appendChild(img_close);
|
54 |
+
div_frame.appendChild(frame_pd);
|
55 |
+
|
56 |
+
center_frame.appendChild(div_frame);
|
57 |
+
|
58 |
+
div_pd.appendChild(center_frame);
|
59 |
+
|
60 |
+
document.body.appendChild(div_pd);
|
61 |
+
</script>
|
62 |
+
|
63 |
+
<table style="width:100%;">
|
64 |
+
<tr>
|
65 |
+
<td style="width:100%">
|
66 |
+
Sua compra está em processo de finalização.<br />
|
67 |
+
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a>
|
68 |
+
<br />
|
69 |
+
<br />
|
70 |
+
<iframe name="pd_frame" width="100%" height="0" style="border:0px" ></iframe>
|
71 |
+
<object type="application/x-shockwave-flash" data="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" width="468" height="60">
|
72 |
+
<param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
|
73 |
+
<param name="wmode" value="transparent"/>
|
74 |
+
</object>
|
75 |
+
<?php $this->getPayment(); ?>
|
76 |
+
</td>
|
77 |
+
</tr>
|
78 |
+
</table>
|
79 |
+
|
80 |
+
<script type="text/javascript">
|
81 |
+
document.getElementById('pd_form').setAttribute("target", "pd_frame");
|
82 |
+
document.getElementById('pd_form').submit();
|
83 |
+
document.getElementById('overlay-pd').onclick = function (){
|
84 |
+
this.style.display = "none";
|
85 |
+
};
|
86 |
+
document.getElementById('pd_lightbox').onclick = function (){
|
87 |
+
document.getElementById('overlay-pd').style.display = "block";
|
88 |
+
};
|
89 |
+
</script>
|
90 |
+
<?php
|
91 |
+
break;
|
92 |
+
case 2:
|
93 |
+
?>
|
94 |
+
<table style="width:100%;">
|
95 |
+
<tr>
|
96 |
+
<td style="width:100%">
|
97 |
+
Sua compra está em processo de finalização.
|
98 |
+
<br />
|
99 |
+
<br />
|
100 |
+
<iframe name="pd_frame" width="100%" height="900" style="border:0px; overflow-x:hidden" ></iframe>
|
101 |
+
<object type="application/x-shockwave-flash" data="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" width="468" height="60">
|
102 |
+
<param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
|
103 |
+
<param name="wmode" value="transparent"/>
|
104 |
+
</object>
|
105 |
+
<?php $this->getPayment(); ?>
|
106 |
+
</td>
|
107 |
+
</tr>
|
108 |
+
</table>
|
109 |
+
|
110 |
+
<script type="text/javascript">
|
111 |
+
document.getElementById('pd_form').setAttribute("target", "pd_frame");
|
112 |
+
document.getElementById('pd_form').submit();
|
113 |
+
</script>
|
114 |
+
<?php
|
115 |
+
break;
|
116 |
+
case 3:
|
117 |
+
?>
|
118 |
+
<table style="width:100%;">
|
119 |
+
<tr>
|
120 |
+
<td style="width:100%">
|
121 |
+
Sua compra está em processo de finalização.<br />
|
122 |
+
Você será redirecionado para o Bcash. Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a>
|
123 |
+
<br />
|
124 |
+
<br />
|
125 |
+
<object type="application/x-shockwave-flash" data="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" width="468" height="60">
|
126 |
+
<param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
|
127 |
+
<param name="wmode" value="transparent"/>
|
128 |
+
</object>
|
129 |
+
<?php $this->getPayment(); ?>
|
130 |
+
</td>
|
131 |
+
</tr>
|
132 |
+
</table>
|
133 |
+
|
134 |
+
<script type="text/javascript">
|
135 |
+
document.getElementById('pd_form').setAttribute("target", "_blank");
|
136 |
+
document.getElementById('pd_form').submit();
|
137 |
+
document.getElementById('pd_lightbox').onclick = function (){
|
138 |
+
document.getElementById('pd_form').submit();
|
139 |
+
};
|
140 |
+
</script>
|
141 |
+
<?php
|
142 |
+
break;
|
143 |
+
default:
|
144 |
+
?>
|
145 |
+
<script type="text/javascript">
|
146 |
+
var div_pd = document.createElement("div");
|
147 |
+
var center_frame = document.createElement("center");
|
148 |
+
var div_frame = document.createElement("div");
|
149 |
+
var img_close = document.createElement("img");
|
150 |
+
var frame_pd = document.createElement("iframe");
|
151 |
+
|
152 |
+
frame_pd.setAttribute("style","border:0px");
|
153 |
+
frame_pd.setAttribute("width","970");
|
154 |
+
frame_pd.setAttribute("height","700");
|
155 |
+
frame_pd.setAttribute("name","pd_frame");
|
156 |
+
|
157 |
+
img_close.setAttribute("style","position: relative;margin-left: 970px;margin-top: -20px;");
|
158 |
+
img_close.setAttribute("src","<?php echo $this->getSkinUrl('buscape/pagamentodigital/images/close.png'); ?>");
|
159 |
+
|
160 |
+
div_frame.setAttribute("style","padding: 10px;background-color: #fff;width: 980px;margin-top: 50px");
|
161 |
+
div_frame.setAttribute("id","lightbox");
|
162 |
+
|
163 |
+
div_pd.setAttribute("id","overlay-pd");
|
164 |
+
|
165 |
+
div_frame.appendChild(img_close);
|
166 |
+
div_frame.appendChild(frame_pd);
|
167 |
+
|
168 |
+
center_frame.appendChild(div_frame);
|
169 |
+
|
170 |
+
div_pd.appendChild(center_frame);
|
171 |
+
|
172 |
+
document.body.appendChild(div_pd);
|
173 |
+
</script>
|
174 |
+
|
175 |
+
<table style="width:100%;">
|
176 |
+
<tr>
|
177 |
+
<td style="width:100%">
|
178 |
+
Sua compra está em processo de finalização.<br />
|
179 |
+
Caso a página de finalização de pagamento não se inicie automaticamente, <a href="#" id="pd_lightbox">Clique Aqui</a>
|
180 |
+
<br />
|
181 |
+
<br />
|
182 |
+
<iframe name="pd_frame" width="100%" height="0" style="border:0px" ></iframe>
|
183 |
+
<object type="application/x-shockwave-flash" data="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" width="468" height="60">
|
184 |
+
<param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" />
|
185 |
+
<param name="wmode" value="transparent"/>
|
186 |
+
</object>
|
187 |
+
<?php $this->getPayment(); ?>
|
188 |
+
</td>
|
189 |
+
</tr>
|
190 |
+
</table>
|
191 |
+
|
192 |
+
<script type="text/javascript">
|
193 |
+
document.getElementById('pd_form').setAttribute("target", "pd_frame");
|
194 |
+
document.getElementById('pd_form').submit();
|
195 |
+
document.getElementById('overlay-pd').onclick = function (){
|
196 |
+
this.style.display = "none";
|
197 |
+
};
|
198 |
+
document.getElementById('pd_lightbox').onclick = function (){
|
199 |
+
document.getElementById('overlay-pd').style.display = "block";
|
200 |
+
};
|
201 |
+
</script>
|
202 |
+
<?php
|
203 |
+
break;
|
204 |
+
}
|
205 |
+
?>
|
app/design/frontend/default/default/layout/buscape_pagamentodigital.xml
DELETED
@@ -1,60 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Magento
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
* If you did not receive a copy of the license and are unable to
|
13 |
-
* obtain it through the world-wide-web, please send an email
|
14 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
15 |
-
*
|
16 |
-
* @category Buscape
|
17 |
-
* @package Buscape_PagamentoDigital
|
18 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
19 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
-
*/
|
21 |
-
-->
|
22 |
-
<layout version="0.1.0">
|
23 |
-
<pagamentodigital_standard_payment>
|
24 |
-
<reference name="head">
|
25 |
-
<action method="addCss">
|
26 |
-
<stylesheet>buscape/pagamentodigital/css/styles.css</stylesheet>
|
27 |
-
</action>
|
28 |
-
</reference>
|
29 |
-
<remove name="left"/>
|
30 |
-
<reference name="root">
|
31 |
-
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
32 |
-
</reference>
|
33 |
-
<reference name="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>
|
39 |
-
</pagamentodigital_standard_payment>
|
40 |
-
|
41 |
-
<pagamentodigital_standard_return>
|
42 |
-
<remove name="left"/>
|
43 |
-
<reference name="root">
|
44 |
-
<action method="setTemplate"><template>page/empty.phtml</template></action>
|
45 |
-
</reference>
|
46 |
-
<reference name="content">
|
47 |
-
<block type="pagamentodigital/return" name="return" template="buscape/pagamentodigital/return.phtml" />
|
48 |
-
</reference>
|
49 |
-
</pagamentodigital_standard_return>
|
50 |
-
|
51 |
-
<pagamentodigital_standard_error>
|
52 |
-
<remove name="left"/>
|
53 |
-
<reference name="root">
|
54 |
-
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
55 |
-
</reference>
|
56 |
-
<reference name="content">
|
57 |
-
<block type="pagamentodigital/error" name="error" template="buscape/pagamentodigital/error.phtml" />
|
58 |
-
</reference>
|
59 |
-
</pagamentodigital_standard_error>
|
60 |
-
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/buscape/pagamentodigital/error.phtml
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category design_default
|
16 |
-
* @package Mage
|
17 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
?>
|
21 |
-
<div class="page-head">
|
22 |
-
<h2 class="sub-title">Erro ao realizar o Retorno Automático</h2>
|
23 |
-
</div>
|
24 |
-
<table style="width:100%;">
|
25 |
-
<tr>
|
26 |
-
<td style="width:100%">
|
27 |
-
Ocorreu um erro ao realizar o retorno automático.<br /><br />
|
28 |
-
Dados do Erro:<br />
|
29 |
-
Código: <?php echo utf8_decode($this->getRequest()->getParam("codigo")); ?><br />
|
30 |
-
Descrição: <?php echo utf8_decode($this->getRequest()->getParam("descricao")); ?><br />
|
31 |
-
</td>
|
32 |
-
</tr>
|
33 |
-
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/buscape/pagamentodigital/form/geral.phtml
DELETED
@@ -1,98 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category design_default
|
16 |
-
* @package Mage
|
17 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
?>
|
21 |
-
<fieldset class="form-list">
|
22 |
-
<?php
|
23 |
-
$_code = $this->getMethodCode();
|
24 |
-
$_standardPD = Mage::getSingleton('pagamentodigital/geral');
|
25 |
-
|
26 |
-
$totals = Mage::getSingleton('checkout/session')->getQuote()->collectTotals();
|
27 |
-
//$shippingAmount = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingAmount();
|
28 |
-
|
29 |
-
?>
|
30 |
-
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
31 |
-
<ul class="forma_pagamento">
|
32 |
-
<li>
|
33 |
-
<ul>
|
34 |
-
<li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
|
35 |
-
</ul>
|
36 |
-
</li>
|
37 |
-
<li style="float:left;;">
|
38 |
-
<ul>
|
39 |
-
<li style="float:left;width:65px;">
|
40 |
-
<input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';"/><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_boleto.gif" alt="Pagável em qualquer agência bancária, correios ou casas lotéricas até a data de vencimento." title="Pagável em qualquer agência bancária, correios ou casas lotéricas até a data de vencimento." />
|
41 |
-
</li>
|
42 |
-
<li style="float:left;width:65px;">
|
43 |
-
<input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_bb.gif" alt="Transferência on-line via Banco do Brasil" title="Transferência on-line via Banco do Brasil" />
|
44 |
-
</li>
|
45 |
-
<li style="float:left;width:65px;">
|
46 |
-
<input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_bradesco.gif" alt="Transferência on-line via Banco Bradesco" title="Transferência on-line via Banco Bradesco" />
|
47 |
-
</li>
|
48 |
-
<li style="float:left;width:65px;">
|
49 |
-
<input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_itau.gif" alt="Transferência on-line via Banco Itaú" title="Transferência on-line via Banco Itaú" />
|
50 |
-
</li>
|
51 |
-
<li style="float:left;width:65px;">
|
52 |
-
<input type="radio" name="payment[cc_type]" value="61" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_banrisul.gif" alt="Transferência on-line via Banco Banrisul" title="Transferência on-line via Banco Banrisul" />
|
53 |
-
</li>
|
54 |
-
<li style="float:left;width:65px;">
|
55 |
-
<input type="radio" name="payment[cc_type]" value="62" onclick="document.getElementById('simulador_geral').style.display = 'none';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_hsbc.gif" alt="Transferência on-line via Banco HSBC" title="Transferência on-line via Banco HSBC" />
|
56 |
-
</li>
|
57 |
-
</ul>
|
58 |
-
</li>
|
59 |
-
<li style="float:left;">
|
60 |
-
<ul>
|
61 |
-
<li style="float:left;width:65px;">
|
62 |
-
<input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_visa.gif" alt="Visa" title="Visa" />
|
63 |
-
|
64 |
-
</li>
|
65 |
-
<li style="float:left;width:65px;">
|
66 |
-
<input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_master.gif" alt="Master" title="Master" />
|
67 |
-
</li>
|
68 |
-
<li style="float:left;width:65px;">
|
69 |
-
<input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_americans.gif" alt="American Express" title="American Express" />
|
70 |
-
|
71 |
-
</li>
|
72 |
-
<li style="float:left;width:65px;">
|
73 |
-
<input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_aura.gif" alt="Aura" title="Aura" />
|
74 |
-
|
75 |
-
</li>
|
76 |
-
<li style="float:left;width:65px;">
|
77 |
-
<input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_diners.gif" alt="Diners" title="Diners" />
|
78 |
-
</li>
|
79 |
-
<li style="float:left;width:65px;">
|
80 |
-
<input type="radio" name="payment[cc_type]" value="56" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_hipercard.gif" alt="Hipercard" title="Hipercard" />
|
81 |
-
</li>
|
82 |
-
<li style="float:left;width:65px;">
|
83 |
-
<input type="radio" name="payment[cc_type]" value="63" onclick="document.getElementById('simulador_geral').style.display = 'block';document.getElementById('campo_obrigatorio_pdgeral').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_elo.gif" alt="Elo" title="Elo" />
|
84 |
-
</li>
|
85 |
-
</ul>
|
86 |
-
</li>
|
87 |
-
<li style="float:left;">
|
88 |
-
<ul>
|
89 |
-
<li><input id="campo_obrigatorio_pdgeral" type="hidden" class="required-entry" /></li>
|
90 |
-
</ul>
|
91 |
-
</li>
|
92 |
-
<li style="clear:both;"></li>
|
93 |
-
<li id="simulador_geral" style="display:none;">
|
94 |
-
<a href='javascript://' onclick="window.open('https://www.bcash.com.br/site/calcula_parcelamento_cliente.php?valor=<?php echo $totals->getData('grand_total') ?>&key=<?php echo $_standardPD->getConfigData('lojaID') ?>&nmp=<?php echo $_standardPD->getConfigData('qtdParcelas') ?>','', 'top=110,left=180,width=430,height=340,maximize=no,toolbar=no, location=no,status=no,menubar=no,scrollbars=auto,scrolling=yes,resizable=no');" >Simulador de Parcelas</a>
|
95 |
-
</li>
|
96 |
-
</ul>
|
97 |
-
</ul>
|
98 |
-
</fieldset>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/buscape/pagamentodigital/form/prazo.phtml
DELETED
@@ -1,76 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category design_default
|
16 |
-
* @package Mage
|
17 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
?>
|
21 |
-
<fieldset class="form-list">
|
22 |
-
<?php
|
23 |
-
$_code = $this->getMethodCode();
|
24 |
-
$_standardPD = Mage::getSingleton('pagamentodigital/prazo');
|
25 |
-
|
26 |
-
$totals = Mage::getSingleton('checkout/session')->getQuote()->collectTotals();
|
27 |
-
//$shippingAmount = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingAmount();
|
28 |
-
|
29 |
-
?>
|
30 |
-
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
31 |
-
<ul class="forma_pagamento">
|
32 |
-
<li>
|
33 |
-
<ul>
|
34 |
-
<li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
|
35 |
-
</ul>
|
36 |
-
</li>
|
37 |
-
<li style="float:left;">
|
38 |
-
<ul>
|
39 |
-
<li style="float:left;width:65px;">
|
40 |
-
<input type="radio" name="payment[cc_type]" value="1" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_visa.gif" alt="Visa" title="Visa" />
|
41 |
-
|
42 |
-
</li>
|
43 |
-
<li style="float:left;width:65px;">
|
44 |
-
<input type="radio" name="payment[cc_type]" value="2" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_master.gif" alt="Master" title="Master" />
|
45 |
-
</li>
|
46 |
-
<li style="float:left;width:65px;">
|
47 |
-
<input type="radio" name="payment[cc_type]" value="37" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_americans.gif" alt="American Express" title="American Express" />
|
48 |
-
|
49 |
-
</li>
|
50 |
-
<li style="float:left;width:65px;">
|
51 |
-
<input type="radio" name="payment[cc_type]" value="45" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_aura.gif" alt="Aura" title="Aura" />
|
52 |
-
|
53 |
-
</li>
|
54 |
-
<li style="float:left;width:65px;">
|
55 |
-
<input type="radio" name="payment[cc_type]" value="55" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_diners.gif" alt="Diners" title="Diners" />
|
56 |
-
</li>
|
57 |
-
<li style="float:left;width:65px;">
|
58 |
-
<input type="radio" name="payment[cc_type]" value="56" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_hipercard.gif" alt="Hipercard" title="Hipercard" />
|
59 |
-
</li>
|
60 |
-
<li style="float:left;width:65px;">
|
61 |
-
<input type="radio" name="payment[cc_type]" value="63" onclick="document.getElementById('campo_obrigatorio_pdprazo').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_elo.gif" alt="Elo" title="Elo" />
|
62 |
-
</li>
|
63 |
-
</ul>
|
64 |
-
</li>
|
65 |
-
<li style="float:left;">
|
66 |
-
<ul>
|
67 |
-
<li><input id="campo_obrigatorio_pdprazo" type="hidden" class="required-entry" /></li>
|
68 |
-
</ul>
|
69 |
-
</li>
|
70 |
-
<li style="clear:both;"></li>
|
71 |
-
<li id="simulador">
|
72 |
-
<a href='javascript://' onclick="window.open('https://www.bcash.com.br/site/calcula_parcelamento_cliente.php?valor=<?php echo $totals->getData('grand_total') ?>&key=<?php echo $_standardPD->getConfigData('lojaID') ?>&nmp=<?php echo $_standardPD->getConfigData('qtdParcelas') ?>','', 'top=110,left=180,width=430,height=340,maximize=no,toolbar=no, location=no,status=no,menubar=no,scrollbars=auto,scrolling=yes,resizable=no');" >Simulador de Parcelas</a>
|
73 |
-
</li>
|
74 |
-
</ul>
|
75 |
-
</ul>
|
76 |
-
</fieldset>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/buscape/pagamentodigital/form/vista.phtml
DELETED
@@ -1,67 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category design_default
|
16 |
-
* @package Mage
|
17 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
?>
|
21 |
-
<fieldset class="form-list">
|
22 |
-
<?php
|
23 |
-
$_code=$this->getMethodCode();
|
24 |
-
$_standardPD = Mage::getSingleton('pagamentodigital/vista');
|
25 |
-
|
26 |
-
$totals = Mage::getSingleton('checkout/session')->getQuote()->collectTotals();
|
27 |
-
$shippingAmount = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingAmount();
|
28 |
-
|
29 |
-
?>
|
30 |
-
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
31 |
-
<ul class="forma_pagamento">
|
32 |
-
<li>
|
33 |
-
<ul>
|
34 |
-
<li><label class="required"><em>*</em> Selecione uma Forma de Pagamento </label></li>
|
35 |
-
</ul>
|
36 |
-
</li>
|
37 |
-
<li style="float:left;">
|
38 |
-
<ul>
|
39 |
-
<li style="float:left;width:65px;">
|
40 |
-
<input type="radio" name="payment[cc_type]" value="10" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_boleto.gif" alt="Pagável em qualquer agência bancária, correios ou casas lotéricas até a data de vencimento." title="Pagável em qualquer agência bancária, correios ou casas lotéricas até a data de vencimento."/>
|
41 |
-
</li>
|
42 |
-
<li style="float:left;width:65px;">
|
43 |
-
<input type="radio" name="payment[cc_type]" value="58" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_bb.gif" alt="Transferência on-line via Banco do Brasil" title="Transferência on-line via Banco do Brasil" />
|
44 |
-
</li>
|
45 |
-
<li style="float:left;width:65px;">
|
46 |
-
<input type="radio" name="payment[cc_type]" value="59" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_bradesco.gif" alt="Transferência on-line via Banco Bradesco" title="Transferência on-line via Banco Bradesco" />
|
47 |
-
</li>
|
48 |
-
<li style="float:left;width:65px;">
|
49 |
-
<input type="radio" name="payment[cc_type]" value="60" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_itau.gif" alt="Transferência on-line via Banco Itaú" title="Transferência on-line via Banco Itaú" />
|
50 |
-
</li>
|
51 |
-
<li style="float:left;width:65px;">
|
52 |
-
<input type="radio" name="payment[cc_type]" value="61" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_banrisul.gif" alt="Transferência on-line via Banco Banrisul" title="Transferência on-line via Banco Banrisul" />
|
53 |
-
</li>
|
54 |
-
<li style="float:left;width:65px;">
|
55 |
-
<input type="radio" name="payment[cc_type]" value="62" onclick="document.getElementById('campo_obrigatorio_pdvista').value='YES';" /><img src="https://www.bcash.com.br/webroot/img/img_meios/pagamento_hsbc.gif" alt="Transferência on-line via Banco HSBC" title="Transferência on-line via Banco HSBC" />
|
56 |
-
</li>
|
57 |
-
</ul>
|
58 |
-
</li>
|
59 |
-
<li style="float:left;">
|
60 |
-
<ul>
|
61 |
-
<li><input id="campo_obrigatorio_pdvista" type="hidden" class="required-entry" /></li>
|
62 |
-
</ul>
|
63 |
-
</li>
|
64 |
-
|
65 |
-
</ul>
|
66 |
-
</ul>
|
67 |
-
</fieldset>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/buscape/pagamentodigital/head.phtml
DELETED
@@ -1,37 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category design_default
|
16 |
-
* @package Mage
|
17 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
?>
|
21 |
-
<title><?php echo $this->getTitle() ?></title>
|
22 |
-
<meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
|
23 |
-
<meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
|
24 |
-
<meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
|
25 |
-
<meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
|
26 |
-
<link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
|
27 |
-
<link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
|
28 |
-
<script type="text/javascript">
|
29 |
-
//<![CDATA[
|
30 |
-
var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
|
31 |
-
var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
|
32 |
-
//]]>
|
33 |
-
</script>
|
34 |
-
<?php echo $this->getCssJsHtml() ?>
|
35 |
-
<?php echo $this->getChildHtml() ?>
|
36 |
-
<?php echo $this->helper('core/js')->getTranslatorScript() ?>
|
37 |
-
<?php echo $this->getIncludes() ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/buscape/pagamentodigital/info/geral.phtml
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category design_default
|
16 |
-
* @package Mage
|
17 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
?>
|
21 |
-
<p>
|
22 |
-
<strong>
|
23 |
-
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?>
|
24 |
-
</strong>
|
25 |
-
</p>
|
26 |
-
<?php echo $this->getLinkPayment($this->getInfo()->getOrder()); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/buscape/pagamentodigital/info/prazo.phtml
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category design_default
|
16 |
-
* @package Mage
|
17 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
?>
|
21 |
-
<p>
|
22 |
-
<strong>
|
23 |
-
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?>
|
24 |
-
</strong>
|
25 |
-
</p>
|
26 |
-
<?php echo $this->getLinkPayment($this->getInfo()->getOrder()); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/buscape/pagamentodigital/info/vista.phtml
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category design_default
|
16 |
-
* @package Mage
|
17 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
?>
|
21 |
-
<p>
|
22 |
-
<strong>
|
23 |
-
<?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?>
|
24 |
-
</strong>
|
25 |
-
</p>
|
26 |
-
<?php echo $this->getLinkPayment($this->getInfo()->getOrder()); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/buscape/pagamentodigital/overlay.phtml
DELETED
@@ -1,29 +0,0 @@
|
|
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
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category design_default
|
16 |
-
* @package Mage
|
17 |
-
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
?>
|
21 |
-
|
22 |
-
<div class="page-head">
|
23 |
-
<h2 class="sub-title">Finalizando sua compra com Bcash</h2>
|
24 |
-
</div>
|
25 |
-
<table style="width:100%;">
|
26 |
-
<tr>
|
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.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.com.br" width="468" height="60">
|
31 |
-
<param name="movie" value="https://www.bcash.com.br/site/banner/campanhas/_24x/05/PD_Institucional_468x60.swf?oas=https://www.bcash.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,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Buscape_PagamentoDigital</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Extensão Buscapé Bcash para Magento</summary>
|
10 |
-
<description>
|
11 |
<notes>Buscapé Bcash é compatível com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.</notes>
|
12 |
-
<authors><author><name>Buscapé Developer</name><user>
|
13 |
-
<date>2012-10-
|
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"><file name="
|
16 |
<compatible/>
|
17 |
-
<dependencies
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Buscape_PagamentoDigital</name>
|
4 |
+
<version>0.1.10</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Extensão Buscapé Bcash para Magento</summary>
|
10 |
+
<description>Bcash é uma solução do Buscapé Company que oferece serviços financeiros para compradores e vendedores pela internet. Com o Bcash, você tem toda a experiência da maior plataforma de digital commerce da América Latina, o Buscapé Company, trabalhando para o sucesso de sua empresa e segurança de suas compras.</description>
|
11 |
<notes>Buscapé Bcash é compatível com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.</notes>
|
12 |
+
<authors><author><name>Buscapé Developer</name><user>auto-converted</user><email>suporte.developer@buscapecompany.com</email></author></authors>
|
13 |
+
<date>2012-10-23</date>
|
14 |
+
<time>19:35:11</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Buscape_PagamentoDigital.xml" hash="4b7fff0bb6f034c600fb8fd084c5cf5a"/></dir></target><target name="magecommunity"><dir name="Buscape"><dir name="PagamentoDigital"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Label.php" hash="b128988f4674cab89cbaf9069c782f91"/></dir></dir></dir></dir><dir name="Form"><file name="Geral.php" hash="aeb083bfedc4bb426827fa3959eec112"/><file name="Prazo.php" hash="2dbf3b07ce78406141d2f6bb4adb0af3"/><file name="Vista.php" hash="a30e9c0f19f7118cf0a746870c36e1bd"/></dir><dir name="Info"><file name="Geral.php" hash="0c602781dd150cf2f8d6cc80eab1aa64"/><file name="Prazo.php" hash="dea3d0b443b2ea8e5ff396f51baa1475"/><file name="Vista.php" hash="1edfd2e5588e25945ce3c3d76bb334a5"/></dir><file name="Error.php" hash="0957c100babdd4ebe41a195840e188bb"/><file name="Link.php" hash="e69fe88ec62ffe80bd7622d2c56dcb89"/><file name="Payment.php" hash="cbd3b51a41274e59ba8e11c844074e98"/><file name="Redirect.php" hash="a8ab26b17756040fbec740da8687c694"/><file name="Return.php" hash="eb00737902add820311151fa7dd68576"/></dir><dir name="Helper"><file name="Data.php" hash="18cb654bcfe5066fed63e084e065f292"/></dir><dir name="Model"><dir name="Mysql4"><file name="Setup.php" hash="a8981d3d42f9a483a0be3fbdada8df76"/></dir><dir name="Source"><file name="Country.php" hash="59f550e14b47b7005a095bd660eeda66"/><file name="Parcelas.php" hash="5660c43330b42a0fc5745c8337d93806"/><file name="Specificcountries.php" hash="84beb8387ace1ef45f0b0176578b26dd"/><file name="Webcheckout.php" hash="714ee47fcd3dcc9bc84acf2846bc2e03"/></dir><file name="Config.php" hash="d07a9e15c21b57eb57ed126698284dcd"/><file name="Geral.php" hash="d85881310266dae4dfb285f8a4a6dc0c"/><file name="Observer.php" hash="e524758d572f77cdfe6ec8129bbbcac6"/><file name="Prazo.php" hash="a198dfd0c0cffa02fe5dc475a2664ba2"/><file name="Standard.php" hash="4613dba8fa525c65dd4b32ecfb9ea80c"/><file name="Vista.php" hash="aac1bce4b09a14e8ac15e43b012bb7d2"/></dir><dir name="controllers"><file name="StandardController.php" hash="4c455b626914f85ae3faf5dc7ba28e4a"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5901e52adfeb0be53027574b969b4043"/><file name="config.xml" hash="b876d9543437bb344d2275a40ec3b263"/><file name="system.xml" hash="12d2c8746e08920a772ff7517f52a5c3"/></dir><dir name="sql"><dir name="pagamentodigital_setup"><file name="mysql4-install-0.1.0.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.1.php" hash="67aeb99814e07d2229f7595f7e4ca0bc"/><file name="mysql4-install-0.1.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="e05add8237dda8993cbe52d4de8670cc"/><file name="prazo.phtml" hash="3f505f6206e361121b9c19c68af2cce0"/><file name="vista.phtml" hash="5e08da9e6679d0011a1efb08dcd9ada7"/></dir><dir name="info"><file name="geral.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/><file name="prazo.phtml" hash="1541597a9032477f3804ff8215c8c4ad"/><file name="vista.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/></dir><file name="error.phtml" hash="7b3cdbd94f67af52964f5f3cc84ee0d5"/><file name="head.phtml" hash="8498491865368b05b5f92f2eeb45a873"/><file name="overlay.phtml" hash="95d9f87fbc92d01b4f8abd1df3c89ecd"/><file name="payment.phtml" hash="502d61c651f1aff44459effe3c3814b7"/><file name="return.phtml" hash="4382cac16c029073ec6cf072187282eb"/></dir></dir></dir><dir name="layout"><file name="buscape_pagamentodigital.xml" hash="dc4eb25504808033e564afdd44285455"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="buscape"><dir name="pagamentodigital"><dir name="form"><file name="geral.phtml" hash="6ed35b50d6822d851593dd2865a8512e"/><file name="prazo.phtml" hash="9fd35571d3d5adb0119c9b324cdd4d98"/><file name="vista.phtml" hash="87812b73f7edd30ea060978947cced13"/></dir><dir name="info"><file name="geral.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/><file name="prazo.phtml" hash="1541597a9032477f3804ff8215c8c4ad"/><file name="vista.phtml" hash="7f83ecd0f86cde9384607af382502fc7"/></dir><file name="getbaseurl.phtml" hash="9e521b95714d989895412237cc12ae5b"/></dir></dir></dir><dir name="layout"><file name="buscape_pagamentodigital.xml" hash="618d437d2b62b7bc4ab1b65343a41dac"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="buscape"><dir name="pagamentodigital"><dir name="css"><file name="styles.css" hash="98964b4f868380ecd053eb3804430113"/></dir><dir name="images"><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/><file name="print-iframe.jpg" hash="0cae7fbb7fcb696bba973ef0fe30460c"/><file name="print-modal.jpg" hash="6c91ccd3c86feb5ca1085b160e7611f8"/><file name="print-redirect2.jpg" hash="0c9fe43339e11d4fc18386fcade4af26"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="buscape"><dir name="pagamentodigital"><dir name="css"><file name="magentomodal.css" hash="2c6dd38e421f644475a121b8d6c96503"/></dir><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><dir name="js"><file name="exibitionsettingswebcheckout.js" hash="da871be83c43b1b6e6511b557052a5fc"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies/>
|
18 |
</package>
|
skin/adminhtml/default/default/buscape/pagamentodigital/css/magentomodal.css
ADDED
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.overlay_dialog {
|
2 |
+
background-color: #666666;
|
3 |
+
filter:alpha(opacity=60);
|
4 |
+
-moz-opacity: 0.6;
|
5 |
+
opacity: 0.6;
|
6 |
+
}
|
7 |
+
|
8 |
+
.overlay___invisible__ {
|
9 |
+
background-color: #666666;
|
10 |
+
filter:alpha(opacity=0);
|
11 |
+
-moz-opacity: 0;
|
12 |
+
opacity: 0;
|
13 |
+
}
|
14 |
+
|
15 |
+
.dialog_nw {
|
16 |
+
width: 9px;
|
17 |
+
height: 23px;
|
18 |
+
background: transparent url(../images/top_left.gif) no-repeat 0 0;
|
19 |
+
}
|
20 |
+
|
21 |
+
.dialog_n {
|
22 |
+
background: transparent url(../images/top_mid.gif) repeat-x 0 0;
|
23 |
+
height: 23px;
|
24 |
+
}
|
25 |
+
|
26 |
+
.dialog_ne {
|
27 |
+
width: 9px;
|
28 |
+
height: 23px;
|
29 |
+
background: transparent url(../images/top_right.gif) no-repeat 0 0;
|
30 |
+
}
|
31 |
+
|
32 |
+
.dialog_e {
|
33 |
+
width: 2px;
|
34 |
+
background: transparent url(../images/center_right.gif) repeat-y 0 0;
|
35 |
+
}
|
36 |
+
|
37 |
+
.dialog_w {
|
38 |
+
width: 2px;
|
39 |
+
background: transparent url(../images/center_left.gif) repeat-y 0 0;
|
40 |
+
}
|
41 |
+
|
42 |
+
.dialog_sw {
|
43 |
+
width: 9px;
|
44 |
+
height: 19px;
|
45 |
+
background: transparent url(../images/bottom_left.gif) no-repeat 0 0;
|
46 |
+
}
|
47 |
+
|
48 |
+
.dialog_s {
|
49 |
+
background: transparent url(../images/bottom_mid.gif) repeat-x 0 0;
|
50 |
+
height: 19px;
|
51 |
+
}
|
52 |
+
|
53 |
+
.dialog_se {
|
54 |
+
width: 9px;
|
55 |
+
height: 19px;
|
56 |
+
background: transparent url(../images/bottom_right.gif) no-repeat 0 0;
|
57 |
+
}
|
58 |
+
|
59 |
+
.dialog_sizer {
|
60 |
+
width: 9px;
|
61 |
+
height: 19px;
|
62 |
+
background: transparent url(../images/sizer.gif) no-repeat 0 0;
|
63 |
+
cursor:se-resize;
|
64 |
+
}
|
65 |
+
|
66 |
+
.dialog_close {
|
67 |
+
width: 14px;
|
68 |
+
height: 14px;
|
69 |
+
background: transparent url(../images/close.gif) no-repeat 0 0;
|
70 |
+
position:absolute;
|
71 |
+
top:5px;
|
72 |
+
left:8px;
|
73 |
+
cursor:pointer;
|
74 |
+
z-index:2000;
|
75 |
+
}
|
76 |
+
|
77 |
+
.dialog_minimize {
|
78 |
+
width: 14px;
|
79 |
+
height: 15px;
|
80 |
+
background: transparent url(../images/minimize.gif) no-repeat 0 0;
|
81 |
+
position:absolute;
|
82 |
+
top:5px;
|
83 |
+
left:28px;
|
84 |
+
cursor:pointer;
|
85 |
+
z-index:2000;
|
86 |
+
}
|
87 |
+
|
88 |
+
.dialog_maximize {
|
89 |
+
width: 14px;
|
90 |
+
height: 15px;
|
91 |
+
background: transparent url(../images/maximize.gif) no-repeat 0 0;
|
92 |
+
position:absolute;
|
93 |
+
top:5px;
|
94 |
+
left:49px;
|
95 |
+
cursor:pointer;
|
96 |
+
z-index:2000;
|
97 |
+
}
|
98 |
+
|
99 |
+
.dialog_title {
|
100 |
+
float:left;
|
101 |
+
height:14px;
|
102 |
+
font-family: Tahoma, Arial, sans-serif;
|
103 |
+
font-size:12px;
|
104 |
+
text-align:center;
|
105 |
+
width:100%;
|
106 |
+
color:#000;
|
107 |
+
}
|
108 |
+
|
109 |
+
.dialog_content {
|
110 |
+
overflow:auto;
|
111 |
+
color: #DDD;
|
112 |
+
font-family: Tahoma, Arial, sans-serif;
|
113 |
+
font-size: 10px;
|
114 |
+
background-color:#123;
|
115 |
+
}
|
116 |
+
|
117 |
+
.top_draggable, .bottom_draggable {
|
118 |
+
cursor:move;
|
119 |
+
}
|
120 |
+
|
121 |
+
.status_bar {
|
122 |
+
font-size:12px;
|
123 |
+
}
|
124 |
+
.status_bar input{
|
125 |
+
font-size:12px;
|
126 |
+
}
|
127 |
+
|
128 |
+
.wired_frame {
|
129 |
+
display: block;
|
130 |
+
position: absolute;
|
131 |
+
border: 1px #000 dashed;
|
132 |
+
}
|
133 |
+
|
134 |
+
/* DO NOT CHANGE THESE VALUES*/
|
135 |
+
.dialog {
|
136 |
+
display: block;
|
137 |
+
position: absolute;
|
138 |
+
}
|
139 |
+
|
140 |
+
.dialog table.table_window {
|
141 |
+
border-collapse: collapse;
|
142 |
+
border-spacing: 0;
|
143 |
+
width: 100%;
|
144 |
+
margin: 0px;
|
145 |
+
padding:0px;
|
146 |
+
}
|
147 |
+
|
148 |
+
.dialog table.table_window td , .dialog table.table_window th {
|
149 |
+
padding: 0;
|
150 |
+
}
|
151 |
+
|
152 |
+
.dialog .title_window {
|
153 |
+
-moz-user-select:none;
|
154 |
+
}
|
155 |
+
|
156 |
+
.dialog { border:1px solid #555; }
|
157 |
+
.dialog .bot { display:none !important; }
|
158 |
+
.overlay_magento { background-color:#000; filter:alpha(opacity=60); -moz-opacity:.6; opacity:.6; -webkit-opacity:.6; }
|
159 |
+
.top.table_window { border-bottom:1px solid #e6e6e6; background:#6a838b url(../images/top_bg.gif) 0 100% repeat-x; }
|
160 |
+
|
161 |
+
.magento_nw { width:6px; height:28px; }
|
162 |
+
.magento_n { height:28px; }
|
163 |
+
.magento_ne { width:6px; height:28px; }
|
164 |
+
|
165 |
+
.magento_w { width:6px; }
|
166 |
+
.magento_e { width:6px; }
|
167 |
+
.magento_w,
|
168 |
+
.magento_e,
|
169 |
+
.magento_content { background: #fafafa url(../images/content_bg.gif) 0 0 repeat-x; }
|
170 |
+
|
171 |
+
.magento_sw { background:#deebf0; width:5px; height:3px; }
|
172 |
+
.magento_s { background:#deebf0; height:3px; }
|
173 |
+
.magento_se,
|
174 |
+
|
175 |
+
.magento_sizer { background:#deebf0; width:5px; height:3px; }
|
176 |
+
.magento_sizer { cursor:se-resize; }
|
177 |
+
|
178 |
+
.magento_close { width:16px; height:16px; background:url(../images/window_close.png) no-repeat 0 0; position:absolute; top:5px; right:7px; cursor:pointer; z-index:1000; }
|
179 |
+
.magento_minimize { width:16px; height:16px; background:url(../images/window_minimize.png) 0 0 no-repeat; position:absolute; top:5px; right:28px; cursor:pointer; z-index:1000; }
|
180 |
+
.magento_maximize { width:16px; height:16px; background:url(../images/window_maximize.png)0 0 no-repeat; position:absolute; top:5px; right:49px; cursor:pointer; z-index:1000; }
|
181 |
+
|
182 |
+
.magento_title { float:left; width:100%; font:bold 12px/28px Arial, Helvetica, sans-serif; color:#fff; text-align:left; }
|
183 |
+
|
184 |
+
.magento_content { overflow:auto; font-size:12px; }
|
185 |
+
.magento_content,
|
186 |
+
.magento_content label { color:#333; font-family:Arial, sans-serif; }
|
187 |
+
|
188 |
+
.magento_buttons { padding:10px; text-align:right; }
|
189 |
+
.magento_buttons input.button { border-width:1px; border-style:solid; border-color:#ed6502 #a04300 #a04300 #ed6502; background:#ffac47 url(../images/btn_bg.gif) 0 100% repeat-x; padding:0 7px 1px 7px; font:bold 12px/18px Arial, Helvetica, sans-serif; color:#fff; cursor:pointer; text-align:center; white-space:nowrap; }
|
190 |
+
|
191 |
+
/* FOR IE */
|
192 |
+
* html .magento_close { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../images/window_maximize.png", sizingMethod="crop"); }
|
193 |
+
* html .magento_minimize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../images/window_close.png", sizingMethod="crop");}
|
194 |
+
* html .magento_maximize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../images/window_minimize.png", sizingMethod="crop"); }
|
skin/adminhtml/default/default/buscape/pagamentodigital/images/btn_bg.gif
ADDED
Binary file
|
skin/adminhtml/default/default/buscape/pagamentodigital/images/content_bg.gif
ADDED
Binary file
|
skin/adminhtml/default/default/buscape/pagamentodigital/images/top_bg.gif
ADDED
Binary file
|
skin/adminhtml/default/default/buscape/pagamentodigital/images/window_close.png
ADDED
Binary file
|
skin/adminhtml/default/default/buscape/pagamentodigital/js/exibitionsettingswebcheckout.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
function openModalBcash(url, txtTitle)
|
3 |
+
{
|
4 |
+
var _url = pagamentodigital_baseurl + url;
|
5 |
+
|
6 |
+
if(txtTitle === null || txtTitle === '') {
|
7 |
+
txtTitle = 'Validação das informações do Anúncio';
|
8 |
+
}
|
9 |
+
winCompare = new Window({
|
10 |
+
className:'magento',
|
11 |
+
title:txtTitle,
|
12 |
+
url:_url,
|
13 |
+
width:820,
|
14 |
+
height:600,
|
15 |
+
minimizable:false,
|
16 |
+
maximizable:false,
|
17 |
+
showEffectOptions:{
|
18 |
+
duration:0.4
|
19 |
+
},
|
20 |
+
hideEffectOptions:{
|
21 |
+
duration:0.4
|
22 |
+
}
|
23 |
+
});
|
24 |
+
winCompare.setZIndex(100000);
|
25 |
+
winCompare.showCenter(true);
|
26 |
+
}
|
skin/frontend/base/default/buscape/pagamentodigital/images/print-iframe.jpg
ADDED
Binary file
|
skin/frontend/base/default/buscape/pagamentodigital/images/print-modal.jpg
ADDED
Binary file
|
skin/frontend/base/default/buscape/pagamentodigital/images/print-redirect2.jpg
ADDED
Binary file
|
skin/frontend/default/default/buscape/pagamentodigital/css/styles.css
DELETED
@@ -1,10 +0,0 @@
|
|
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/buscape/pagamentodigital/images/close.png
DELETED
Binary file
|
skin/frontend/default/default/buscape/pagamentodigital/images/overlay.png
DELETED
Binary file
|