Version Notes
Added new parameters.
Download this release
Release Info
Developer | Hexasoft |
Extension | Hexasoft_FraudLabsPro |
Version | 1.0.10 |
Comparing to | |
See all releases |
Code changes from version 1.0.9 to 1.0.10
app/code/local/Hexasoft/FraudLabsPro/Controller/Observer.php
CHANGED
@@ -53,12 +53,15 @@ class Hexasoft_FraudLabsPro_Controller_Observer{
|
|
53 |
'format'=>'json',
|
54 |
'key'=>$apiKey,
|
55 |
'ip'=>$ip,
|
|
|
|
|
56 |
'bill_city'=>$billingAddress->getCity(),
|
57 |
'bill_state'=>$billingAddress->getRegion(),
|
58 |
'bill_country'=>$billingAddress->getCountryId(),
|
59 |
'bill_zip_code'=>$billingAddress->getPostcode(),
|
60 |
'email_domain'=>substr($order->getCustomerEmail(), strpos($order->getCustomerEmail(), '@')+1),
|
61 |
'email_hash'=>$this->_hash($order->getCustomerEmail()),
|
|
|
62 |
'user_phone'=>$billingAddress->getTelephone(),
|
63 |
'amount'=>$order->getBaseGrandTotal(),
|
64 |
'quantity'=>count($order->getAllItems()),
|
@@ -66,7 +69,7 @@ class Hexasoft_FraudLabsPro_Controller_Observer{
|
|
66 |
'user_order_id'=>$order->getIncrementId(),
|
67 |
'magento_order_id'=>$order->getEntityId(),
|
68 |
'source'=>'magento',
|
69 |
-
'source_version'=>'1.0.
|
70 |
);
|
71 |
|
72 |
$shippingAddress = $order->getShippingAddress();
|
53 |
'format'=>'json',
|
54 |
'key'=>$apiKey,
|
55 |
'ip'=>$ip,
|
56 |
+
'first_name'=>$order->getCustomerFirstname(),
|
57 |
+
'last_name'=>$order->getCustomerLastname(),
|
58 |
'bill_city'=>$billingAddress->getCity(),
|
59 |
'bill_state'=>$billingAddress->getRegion(),
|
60 |
'bill_country'=>$billingAddress->getCountryId(),
|
61 |
'bill_zip_code'=>$billingAddress->getPostcode(),
|
62 |
'email_domain'=>substr($order->getCustomerEmail(), strpos($order->getCustomerEmail(), '@')+1),
|
63 |
'email_hash'=>$this->_hash($order->getCustomerEmail()),
|
64 |
+
'email'=>$order->getCustomerEmail(),
|
65 |
'user_phone'=>$billingAddress->getTelephone(),
|
66 |
'amount'=>$order->getBaseGrandTotal(),
|
67 |
'quantity'=>count($order->getAllItems()),
|
69 |
'user_order_id'=>$order->getIncrementId(),
|
70 |
'magento_order_id'=>$order->getEntityId(),
|
71 |
'source'=>'magento',
|
72 |
+
'source_version'=>'1.0.10',
|
73 |
);
|
74 |
|
75 |
$shippingAddress = $order->getShippingAddress();
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Hexasoft_FraudLabsPro</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</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>2015-09
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="Hexasoft"><dir name="FraudLabsPro"><dir name="Block"><dir name="Sales"><dir name="Order"><file name="Fraudlabsproresult.php" hash="8d345ebe9d7b8ee3166482a1648fb783"/><dir name="Grid"><dir name="Renderer"><file name="Risk.php" hash="19c8ca6a7656fee2e66b904dc97079a0"/></dir></dir><file name="Grid.php" hash="154790c49632c35af5e301c33a1e3188"/></dir></dir></dir><dir name="Controller"><file name="Observer.php" hash="
|
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.0.10</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</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>Added new parameters.</notes>
|
12 |
<authors><author><name>Hexasoft</name><user>hexasoft</user><email>tech@hexasoft.com.my</email></author></authors>
|
13 |
+
<date>2015-10-09</date>
|
14 |
+
<time>08:26:43</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Hexasoft"><dir name="FraudLabsPro"><dir name="Block"><dir name="Sales"><dir name="Order"><file name="Fraudlabsproresult.php" hash="8d345ebe9d7b8ee3166482a1648fb783"/><dir name="Grid"><dir name="Renderer"><file name="Risk.php" hash="19c8ca6a7656fee2e66b904dc97079a0"/></dir></dir><file name="Grid.php" hash="154790c49632c35af5e301c33a1e3188"/></dir></dir></dir><dir name="Controller"><file name="Observer.php" hash="c8ca9724b1bcf116549cec29408e1777"/></dir><dir name="Helper"><file name="Data.php" hash="948a251b0d5415653b1efce1af279b28"/></dir><dir name="controllers"><file name="IndexController.php" hash="92a43627feee95218815cf1aad91f439"/></dir><dir name="etc"><file name="adminhtml.xml" hash="38ccfabe77e18a8f8d9050359d44d13e"/><file name="config.xml" hash="fa0ac7b81625729c72506ea8b63a596a"/><file name="system.xml" hash="5e30289646a3fb03640b7b4bbeb4ab26"/></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="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Hexasoft_FraudLabsPro.xml" hash="e8bb308243797bda5769209a8b360577"/></dir></dir><dir name="design"><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></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|