Version Notes
Incluindo suporte para DineroMail e Pagamento Digital no FControl.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Buscape_Fcontrol |
Version | 0.1.4 |
Comparing to | |
See all releases |
Code changes from version 0.1.3 to 0.1.4
app/code/community/Buscape/Fcontrol/Model/Adapter/Payment.php
CHANGED
@@ -43,6 +43,10 @@ class Buscape_Fcontrol_Model_Adapter_Payment extends Varien_Object
|
|
43 |
'pagseguro' => false,
|
44 |
'brunoassarisse_pagseguro' => false,
|
45 |
'cobredireto' => false,
|
|
|
|
|
|
|
|
|
46 |
);
|
47 |
|
48 |
/* Verifica se a forma de pagamento pode ser utilizada com o FControl */
|
@@ -93,6 +97,19 @@ class Buscape_Fcontrol_Model_Adapter_Payment extends Varien_Object
|
|
93 |
|
94 |
$api->valorPedido = number_format($payment->getAmountOrdered(), 2, ".", "");
|
95 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
case 'free':
|
97 |
case 'purchaseorder':
|
98 |
|
43 |
'pagseguro' => false,
|
44 |
'brunoassarisse_pagseguro' => false,
|
45 |
'cobredireto' => false,
|
46 |
+
'pagamentodigital_getal' => true,
|
47 |
+
'pagamentodigital_vista' => true,
|
48 |
+
'pagamentodigital_prazo' => true,
|
49 |
+
'dineromail_standard' => true
|
50 |
);
|
51 |
|
52 |
/* Verifica se a forma de pagamento pode ser utilizada com o FControl */
|
97 |
|
98 |
$api->valorPedido = number_format($payment->getAmountOrdered(), 2, ".", "");
|
99 |
break;
|
100 |
+
case 'pagamentodigital_getal':
|
101 |
+
case 'pagamentodigital_vista':
|
102 |
+
case 'pagamentodigital_prazo':
|
103 |
+
case 'dineromail_standard':
|
104 |
+
|
105 |
+
if(intval(Mage::helper('fcontrol')->getConfig('type_service')) === Buscape_Fcontrol_Model_Api::FRAME) {
|
106 |
+
$api->metodoPagamento = 10;
|
107 |
+
} else {
|
108 |
+
$api->metodoPagamento = 'PagamentoEntrega';
|
109 |
+
}
|
110 |
+
|
111 |
+
$api->valorPedido = number_format($payment->getAmountOrdered(), 2, ".", "");
|
112 |
+
break;
|
113 |
case 'free':
|
114 |
case 'purchaseorder':
|
115 |
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Buscape_Fcontrol</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é Fcontrol para Magento</summary>
|
10 |
<description>O FControl é um sofisticado sistema que utiliza redes neurais e inteligência artificial para detectar fraudes em tempo real.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>buscapedev</name><user>auto-converted</user><email>suporte.developer@buscape-inc.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Buscape_Fcontrol.xml" hash="1883e6e4a5f712adbb28fc48b91b77ed"/></dir></target><target name="magecommunity"><dir name="Buscape"><dir name="Fcontrol"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><file name="Info.php" hash="68b7966bd053a03994c88748612e3263"/></dir><file name="Grid.php" hash="8a9cd394c7d05c875353b9a6a9c509f8"/></dir><file name="Order.php" hash="306f634ac46d7dec061fd18e76f11e34"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="533804f2631993dbfd1d2cbb978510a1"/></dir><dir name="Model"><dir name="Adapter"><file name="Payment.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Buscape_Fcontrol</name>
|
4 |
+
<version>0.1.4</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é Fcontrol para Magento</summary>
|
10 |
<description>O FControl é um sofisticado sistema que utiliza redes neurais e inteligência artificial para detectar fraudes em tempo real.</description>
|
11 |
+
<notes>Incluindo suporte para DineroMail e Pagamento Digital no FControl.</notes>
|
12 |
<authors><author><name>buscapedev</name><user>auto-converted</user><email>suporte.developer@buscape-inc.com</email></author></authors>
|
13 |
+
<date>2012-02-10</date>
|
14 |
+
<time>17:43:58</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Buscape_Fcontrol.xml" hash="1883e6e4a5f712adbb28fc48b91b77ed"/></dir></target><target name="magecommunity"><dir name="Buscape"><dir name="Fcontrol"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><file name="Info.php" hash="68b7966bd053a03994c88748612e3263"/></dir><file name="Grid.php" hash="8a9cd394c7d05c875353b9a6a9c509f8"/></dir><file name="Order.php" hash="306f634ac46d7dec061fd18e76f11e34"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="533804f2631993dbfd1d2cbb978510a1"/></dir><dir name="Model"><dir name="Adapter"><file name="Payment.php" hash="5a1dfd887c71ee2a44fc94562fe721d0"/><file name="Shipping.php" hash="d40c268415ec2a2c50870bf811176b44"/></dir><dir name="Api"><file name="Abstract.php" hash="9366e15df6bc4c1914eb8e9dcb566c6c"/></dir><dir name="Source"><file name="Service.php" hash="ce9458ee8419c55346ab96ead62915de"/></dir><file name="Api.php" hash="635befcf547671471a8b68401e377d5d"/><file name="Config.php" hash="fab005089945576b2b6cf4ecf076d3af"/><file name="Observer.php" hash="8b68046645290c9f91957fa38a1df290"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><file name="OrderController.php" hash="db12a93be59057875d4c488fde37956d"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="650892a45e233d13d07b382db8ce63ca"/><file name="system.xml" hash="6991f325fb680eb0bfedc9e4a8ae88da"/></dir></dir></dir></target><target name="magelib"><dir name="nusoap"><file name="nusoap.php" hash="be25f8f414d3bc104fa32fd33d1ca670"/><file name="nusoap_base.php" hash="2b58ef48c2588c9eb1e197e609cf3578"/><file name="nusoap_fault.php" hash="b1e071de96ac6ec4401fc3378985b915"/><file name="nusoapmime.php" hash="385906df53d95e99d44a3ccf826657b0"/><file name="soap_parser.php" hash="5fd16dfe735ba059a2bcd6f13b2e4200"/><file name="soap_server.php" hash="7335a46989fcb2e6a0cb094bea9636f6"/><file name="soap_transport_http.php" hash="47e7e9295559211833aa733259ae4426"/><file name="soap_val.php" hash="bfe395c44feee1833806ffb87f53d301"/><file name="soapclient.php" hash="a386ecd977dcef79dacebd596808773f"/><file name="wsdl.php" hash="848f9fce1e0da0d88584d0e6ca1f242d"/><file name="wsdlcache.php" hash="e06853ca25271b5cb4b8a7016c960a40"/><file name="xmlschema.php" hash="5d5c67fd3e30dd96a186551a7c7221c8"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="buscape"><dir name="fcontrol"><dir name="sales"><dir name="order"><dir name="view"><file name="info.phtml" hash="d413cbc0c742f78e24e5dfcd1859dc66"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|