Version Notes
Minor fix.
Download this release
Release Info
Developer | Hexasoft |
Extension | Hexasoft_FraudLabsPro |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
app/code/local/Hexasoft/FraudLabsPro/Controller/Observer.php
CHANGED
@@ -130,6 +130,8 @@ class Hexasoft_FraudLabsPro_Controller_Observer{
|
|
130 |
break;
|
131 |
|
132 |
case 'holded':
|
|
|
|
|
133 |
$order->setState(Mage_Sales_Model_Order::STATE_HOLDED, true)->save();
|
134 |
break;
|
135 |
|
@@ -161,6 +163,8 @@ class Hexasoft_FraudLabsPro_Controller_Observer{
|
|
161 |
break;
|
162 |
|
163 |
case 'holded':
|
|
|
|
|
164 |
$order->setState(Mage_Sales_Model_Order::STATE_HOLDED, true)->save();
|
165 |
break;
|
166 |
|
130 |
break;
|
131 |
|
132 |
case 'holded':
|
133 |
+
$order->setHoldBeforeState($order->getState());
|
134 |
+
$order->setHoldBeforeStatus($order->getStatus());
|
135 |
$order->setState(Mage_Sales_Model_Order::STATE_HOLDED, true)->save();
|
136 |
break;
|
137 |
|
163 |
break;
|
164 |
|
165 |
case 'holded':
|
166 |
+
$order->setHoldBeforeState($order->getState());
|
167 |
+
$order->setHoldBeforeStatus($order->getStatus());
|
168 |
$order->setState(Mage_Sales_Model_Order::STATE_HOLDED, true)->save();
|
169 |
break;
|
170 |
|
app/code/local/Hexasoft/FraudLabsPro/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Hexasoft_FraudLabsPro>
|
5 |
-
<version>1.2.
|
6 |
</Hexasoft_FraudLabsPro>
|
7 |
</modules>
|
8 |
|
@@ -51,7 +51,7 @@
|
|
51 |
</resources>
|
52 |
|
53 |
<events>
|
54 |
-
<
|
55 |
<observers>
|
56 |
<send_request_to_fraudlabspro>
|
57 |
<type>singleton</type>
|
@@ -59,7 +59,7 @@
|
|
59 |
<method>sendRequestToFraudLabsPro</method>
|
60 |
</send_request_to_fraudlabspro>
|
61 |
</observers>
|
62 |
-
</
|
63 |
</events>
|
64 |
</global>
|
65 |
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Hexasoft_FraudLabsPro>
|
5 |
+
<version>1.2.1</version>
|
6 |
</Hexasoft_FraudLabsPro>
|
7 |
</modules>
|
8 |
|
51 |
</resources>
|
52 |
|
53 |
<events>
|
54 |
+
<sales_order_place_after>
|
55 |
<observers>
|
56 |
<send_request_to_fraudlabspro>
|
57 |
<type>singleton</type>
|
59 |
<method>sendRequestToFraudLabsPro</method>
|
60 |
</send_request_to_fraudlabspro>
|
61 |
</observers>
|
62 |
+
</sales_order_place_after>
|
63 |
</events>
|
64 |
</global>
|
65 |
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Hexasoft_FraudLabsPro</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
-
<license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension screens online transactions for frauds.</summary>
|
10 |
<description>FraudLabs Pro service screens online transactions for frauds. It increases e-commerce merchant profits by reduces chargeback, improves operation efficiency and provides business intelligence.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Hexasoft</name><user>hexasoft</user><email>tech@hexasoft.com.my</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="Hexasoft"><dir name="FraudLabsPro"><dir name="Block"><file name="Agent.php" hash="4bdc83087e13d73c5aad938e13514255"/><dir name="Sales"><dir name="Order"><file name="Fraudlabsproresult.php" hash="8d345ebe9d7b8ee3166482a1648fb783"/><
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Hexasoft_FraudLabsPro</name>
|
4 |
+
<version>1.2.1</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license>GNU Lesser General Public License (LGPL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension screens online transactions for frauds.</summary>
|
10 |
<description>FraudLabs Pro service screens online transactions for frauds. It increases e-commerce merchant profits by reduces chargeback, improves operation efficiency and provides business intelligence.</description>
|
11 |
+
<notes>Minor fix.</notes>
|
12 |
<authors><author><name>Hexasoft</name><user>hexasoft</user><email>tech@hexasoft.com.my</email></author></authors>
|
13 |
+
<date>2017-03-20</date>
|
14 |
+
<time>07:21:19</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Hexasoft"><dir name="FraudLabsPro"><dir name="Block"><file name="Agent.php" hash="4bdc83087e13d73c5aad938e13514255"/><dir name="Sales"><dir name="Order"><file name="Fraudlabsproresult.php" hash="8d345ebe9d7b8ee3166482a1648fb783"/><file name="Grid.php" hash="154790c49632c35af5e301c33a1e3188"/><dir name="Grid"><dir name="Renderer"><file name="Risk.php" hash="19c8ca6a7656fee2e66b904dc97079a0"/></dir></dir></dir></dir></dir><dir name="Controller"><file name="Observer.php" hash="936838d5e90c6ba7d0202903df757e61"/></dir><dir name="controllers"><file name="IndexController.php" hash="2bc99063ff21e0a4484e2955e78ccf46"/></dir><dir name="etc"><file name="adminhtml.xml" hash="38ccfabe77e18a8f8d9050359d44d13e"/><file name="config.xml" hash="a2d8b01249aeb5de4906a14790a86feb"/><file name="system.xml" hash="fbed11ab9291bc1f95112559562df9c7"/></dir><dir name="Helper"><file name="Data.php" hash="948a251b0d5415653b1efce1af279b28"/></dir><dir name="sql"><dir name="fraudlabspro_setup"><file name="mysql4-install-1.0.0.php" hash="be13e48218b5120641393e68df201d8b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="fraudlabspro.xml" hash="43ae7917d3084744031b90d33f515f87"/></dir><dir name="template"><dir name="fraudlabspro"><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="info.phtml" hash="25a46ae56e812c120f2125ad32f4bb1c"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="fraudlabspro_agent.xml" hash="d5a98ac1e05315bc3bc4b5f4aef948d2"/></dir><dir name="template"><dir name="fraudlabspro"><file name="agent.phtml" hash="51c365bd36dcad836a573798d2df14ff"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Hexasoft_FraudLabsPro.xml" hash="e8bb308243797bda5769209a8b360577"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|