Version Notes
Buscapé Fcontrol é 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_Fcontrol |
Version | 0.1.7 |
Comparing to | |
See all releases |
Code changes from version 0.1.6 to 0.1.7
app/code/community/Buscape/Fcontrol/Model/Adapter/Payment.php
CHANGED
@@ -22,31 +22,31 @@ class Buscape_Fcontrol_Model_Adapter_Payment extends Varien_Object
|
|
22 |
{
|
23 |
|
24 |
protected static $_service = array(
|
25 |
-
'ccsave'
|
26 |
-
'checkmo'
|
27 |
-
'free'
|
28 |
-
'purchaseorder'
|
29 |
-
'authorizenet_directpost'
|
30 |
-
'authorizenet'
|
31 |
-
'googlecheckout'
|
32 |
-
'paypal_standard'
|
33 |
-
'paypal_express'
|
34 |
-
'paypal_direct'
|
35 |
-
'paypaluk_direct'
|
36 |
-
'paypaluk_express'
|
37 |
-
'verisign'
|
38 |
-
'payflow_link'
|
39 |
-
'hosted_pro'
|
40 |
-
'paypal_billing_agreement'
|
41 |
'pagamentodigital_standard' => false,
|
42 |
-
'pagseguro_standard'
|
43 |
-
'pagseguro'
|
44 |
-
'brunoassarisse_pagseguro'
|
45 |
-
'cobredireto'
|
46 |
-
'pagamentodigital_geral'
|
47 |
-
'pagamentodigital_vista'
|
48 |
-
'pagamentodigital_prazo'
|
49 |
-
'dineromail_standard'
|
50 |
);
|
51 |
|
52 |
/* Verifica se a forma de pagamento pode ser utilizada com o FControl */
|
@@ -119,6 +119,16 @@ class Buscape_Fcontrol_Model_Adapter_Payment extends Varien_Object
|
|
119 |
$api->metodoPagamento = 'ValePresente';
|
120 |
}
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
$api->valorPedido = number_format($payment->getAmountOrdered(), 2, ".", "");
|
123 |
break;
|
124 |
}
|
22 |
{
|
23 |
|
24 |
protected static $_service = array(
|
25 |
+
'ccsave' => true,
|
26 |
+
'checkmo' => true,
|
27 |
+
'free' => true,
|
28 |
+
'purchaseorder' => true,
|
29 |
+
'authorizenet_directpost' => false,
|
30 |
+
'authorizenet' => false,
|
31 |
+
'googlecheckout' => false,
|
32 |
+
'paypal_standard' => false,
|
33 |
+
'paypal_express' => false,
|
34 |
+
'paypal_direct' => false,
|
35 |
+
'paypaluk_direct' => false,
|
36 |
+
'paypaluk_express' => false,
|
37 |
+
'verisign' => false,
|
38 |
+
'payflow_link' => false,
|
39 |
+
'hosted_pro' => false,
|
40 |
+
'paypal_billing_agreement' => false,
|
41 |
'pagamentodigital_standard' => false,
|
42 |
+
'pagseguro_standard' => true,
|
43 |
+
'pagseguro' => true,
|
44 |
+
'brunoassarisse_pagseguro' => false,
|
45 |
+
'cobredireto' => false,
|
46 |
+
'pagamentodigital_geral' => false,
|
47 |
+
'pagamentodigital_vista' => false,
|
48 |
+
'pagamentodigital_prazo' => false,
|
49 |
+
'dineromail_standard' => false
|
50 |
);
|
51 |
|
52 |
/* Verifica se a forma de pagamento pode ser utilizada com o FControl */
|
119 |
$api->metodoPagamento = 'ValePresente';
|
120 |
}
|
121 |
|
122 |
+
$api->valorPedido = number_format($payment->getAmountOrdered(), 2, ".", "");
|
123 |
+
break;
|
124 |
+
default:
|
125 |
+
|
126 |
+
if(intval(Mage::helper('fcontrol')->getConfig('type_service')) === Buscape_Fcontrol_Model_Api::FRAME) {
|
127 |
+
$api->metodoPagamento = 1;
|
128 |
+
} else {
|
129 |
+
$api->metodoPagamento = 'CartaoCredito';
|
130 |
+
}
|
131 |
+
|
132 |
$api->valorPedido = number_format($payment->getAmountOrdered(), 2, ".", "");
|
133 |
break;
|
134 |
}
|
app/code/community/Buscape/Fcontrol/etc/config.xml
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Buscape_Fcontrol>
|
25 |
-
<version>0.1.
|
26 |
</Buscape_Fcontrol>
|
27 |
</modules>
|
28 |
<global>
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Buscape_Fcontrol>
|
25 |
+
<version>0.1.7</version>
|
26 |
</Buscape_Fcontrol>
|
27 |
</modules>
|
28 |
<global>
|
app/code/community/Buscape/Fcontrol/etc/system.xml
CHANGED
@@ -33,7 +33,7 @@
|
|
33 |
<![CDATA[
|
34 |
<div style="padding:10px;background-color:#fff;border:1px solid #ddd;margin-bottom:7px;">
|
35 |
Este módulo foi desenvolvido pelo <a href="http://developer.buscape.com" target="_blank">BuscaPé Developer</a>.
|
36 |
-
Por favor reportar bugs para <a href="mailto:suporte.developer@
|
37 |
</div>
|
38 |
]]>
|
39 |
</comment>
|
33 |
<![CDATA[
|
34 |
<div style="padding:10px;background-color:#fff;border:1px solid #ddd;margin-bottom:7px;">
|
35 |
Este módulo foi desenvolvido pelo <a href="http://developer.buscape.com" target="_blank">BuscaPé Developer</a>.
|
36 |
+
Por favor reportar bugs para <a href="mailto:suporte.developer@buscapecompany.com">suporte.developer@buscapecompany.com</a>.
|
37 |
</div>
|
38 |
]]>
|
39 |
</comment>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
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>
|
@@ -9,10 +9,10 @@
|
|
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>Buscapé Fcontrol é 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>buscapedev</name><user>auto-converted</user><email>suporte.developer@
|
13 |
-
<date>2012-
|
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.7</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>
|
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>Buscapé Fcontrol é 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>buscapedev</name><user>auto-converted</user><email>suporte.developer@buscapecompany.com</email></author></authors>
|
13 |
+
<date>2012-06-26</date>
|
14 |
+
<time>13:29:40</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="bb3114c2b7aae84f2c261cc110cc3220"/><file name="Shipping.php" hash="d40c268415ec2a2c50870bf811176b44"/></dir><dir name="Api"><file name="Abstract.php" hash="a383b76906e116fb279c696b40d17e2f"/></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="dd134662c86d2295e28951e70e3adfee"/><file name="system.xml" hash="0bbf7e2fd0ffc57a30f02fc2211c616d"/></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>
|