Mrms_Mrms - Version 1.0.2

Version Notes

minor bug fixes

Download this release

Release Info

Developer MerchantRMS
Extension Mrms_Mrms
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/local/Mrms/Mrms/Block/Sales/Order/Mrmsresult.php CHANGED
@@ -64,7 +64,6 @@ class Mrms_Mrms_Block_Sales_Order_Mrmsresult extends Mage_Adminhtml_Block_Templa
64
  $status = '-';
65
  }
66
  $txnid = explode('-',$data['TxnLogID']);
67
- //$reviewLink = "<a href=http://localhost/mrms-v3/trunk/app/rms/txnlog/action/view/txnlogid/".$txnid[1].">Review</a>";
68
  $txnviewLink = "http://www.rmsid.com/fde/app/rms/txnlog/action/view/pageID/1/txnlogid/".$txnid[1];
69
 
70
  $out = '
@@ -101,9 +100,7 @@ class Mrms_Mrms_Block_Sales_Order_Mrmsresult extends Mage_Adminhtml_Block_Templa
101
  </td>
102
  <td style="padding:5px;"><span><strong>IP Address</strong></span></td>
103
  <td style="padding:5px;">
104
- <span>'.$data['ip_address'].'
105
- <a href="http://www.geolocation.com/' . $data['ip_address'] . '" target="_blank">[Map]</a>
106
- </span>
107
  </td>
108
  </tr>
109
  <tr>
64
  $status = '-';
65
  }
66
  $txnid = explode('-',$data['TxnLogID']);
 
67
  $txnviewLink = "http://www.rmsid.com/fde/app/rms/txnlog/action/view/pageID/1/txnlogid/".$txnid[1];
68
 
69
  $out = '
100
  </td>
101
  <td style="padding:5px;"><span><strong>IP Address</strong></span></td>
102
  <td style="padding:5px;">
103
+ <span>'.(empty($data['Output']['Ip']) ? "-" : $data['Output']['Ip']."<a href=\"http://www.geolocation.com/". $data['Output']['Ip'] ."\" target=\"_blank\">[Map]</a>").'</span>
 
 
104
  </td>
105
  </tr>
106
  <tr>
app/code/local/Mrms/Mrms/Controller/Observer.php CHANGED
@@ -83,7 +83,7 @@ class Mrms_Mrms_Controller_Observer{
83
  'ShipPeriod'=>0,
84
  'ShipMethod'=>'',
85
  'Products'=>'',
86
- 'Ip'=>$_SERVER['REMOTE_ADDR'],
87
  'Submit'=>'Submit'
88
  );
89
 
@@ -110,7 +110,6 @@ class Mrms_Mrms_Controller_Observer{
110
  }
111
  }
112
 
113
- $response['ip_address'] = $fields['Ip'];
114
  $response['api_key'] = $apiKey;
115
 
116
  $order->setmrms_response(serialize($response))->save();
83
  'ShipPeriod'=>0,
84
  'ShipMethod'=>'',
85
  'Products'=>'',
86
+ 'Ip'=>'',
87
  'Submit'=>'Submit'
88
  );
89
 
110
  }
111
  }
112
 
 
113
  $response['api_key'] = $apiKey;
114
 
115
  $order->setmrms_response(serialize($response))->save();
app/code/local/Mrms/Mrms/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Mrms_Mrms>
5
- <version>1.0.1</version>
6
  </Mrms_Mrms>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <Mrms_Mrms>
5
+ <version>1.0.2</version>
6
  </Mrms_Mrms>
7
  </modules>
8
 
app/design/frontend/base/default/template/mrms/jssnippet.phtml CHANGED
@@ -25,6 +25,7 @@
25
  * $this == Mrms_Mrms_Block_Jssnippet
26
  */
27
  ?>
 
28
  <script type="text/javascript" async="true" src="https://elistva.com/api/script.js?aid=10376&sid=<? echo md5($this->getSessionId());?>"></script>
29
 
30
  <noscript>
25
  * $this == Mrms_Mrms_Block_Jssnippet
26
  */
27
  ?>
28
+
29
  <script type="text/javascript" async="true" src="https://elistva.com/api/script.js?aid=10376&sid=<? echo md5($this->getSessionId());?>"></script>
30
 
31
  <noscript>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mrms_Mrms</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
- <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Online transaction fraud detection</summary>
10
- <description>Online transaction fraud detection</description>
11
- <notes>Online credit card fraud detection</notes>
12
  <authors><author><name>MerchantRMS</name><user>devadmin</user><email>devadmin@merchantrms.com</email></author></authors>
13
- <date>2014-04-08</date>
14
- <time>10:43:48</time>
15
- <contents><target name="magelocal"><dir name="Mrms"><dir name="Mrms"><dir name="Block"><file name="Jssnippet.php" hash="cf9fb49fb983b77cbf11fa223caea73b"/><dir name="Sales"><dir name="Order"><dir name="Grid"><dir name="Renderer"><file name="Risk.php" hash="549a824c2612fbda2df9c8252fdbdbae"/></dir></dir><file name="Grid.php" hash="d8ada82a9f58ef39a4c63f50929c24c2"/><file name="Mrmsresult.php" hash="1877a77a7037082ac60528087bf87a5d"/></dir></dir></dir><dir name="Controller"><file name="Observer.php" hash="dd2361575b8200f4c30587d7f3892ec4"/></dir><dir name="Helper"><file name="Data.php" hash="2994a2b1afa2ba7aab9608c276c4df2c"/></dir><dir name="controllers"><file name="IndexController.php" hash="eaa56b78de7f1b82d97e8e272e319516"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4521234c57634fce4863c1d76b3b69db"/><file name="config.xml" hash="0a29c95516514f7999d797259055e077"/><file name="system.xml" hash="64e374feda73d9c2becab0f7ebd63efc"/></dir><dir name="sql"><dir name="mrms_setup"><file name="mysql4-install-1.0.0.php" hash="b72f2d6066d5601c3919773cdffd681a"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mrms.xml" hash="53c1df7384c4af93553b93b30037b324"/></dir><dir name="template"><dir name="mrms"><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="info.phtml" hash="4090fae7900f0f9d8e9b7369cf8ffd30"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mrms.xml" hash="947d78c51f49d47aa578dd606f01af90"/></dir><dir name="template"><dir name="mrms"><file name="jssnippet.phtml" hash="434cbe42b0db8082c6747dfa3dddde41"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mrms_Mrms.xml" hash="da097edc67d2a76ba4e67e7af39f3d35"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mrms_Mrms</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
+ <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Online credit card fraud detection</summary>
10
+ <description>Online credit card fraud detection</description>
11
+ <notes>minor bug fixes</notes>
12
  <authors><author><name>MerchantRMS</name><user>devadmin</user><email>devadmin@merchantrms.com</email></author></authors>
13
+ <date>2014-04-13</date>
14
+ <time>07:42:27</time>
15
+ <contents><target name="magelocal"><dir name="Mrms"><dir name="Mrms"><dir name="Block"><file name="Jssnippet.php" hash="cf9fb49fb983b77cbf11fa223caea73b"/><dir name="Sales"><dir name="Order"><dir name="Grid"><dir name="Renderer"><file name="Risk.php" hash="549a824c2612fbda2df9c8252fdbdbae"/></dir></dir><file name="Grid.php" hash="d8ada82a9f58ef39a4c63f50929c24c2"/><file name="Mrmsresult.php" hash="c86756ee3a2540c0a4a4765909504250"/></dir></dir></dir><dir name="Controller"><file name="Observer.php" hash="ae078d60011f68a01ff7bc7a6f260ca8"/></dir><dir name="Helper"><file name="Data.php" hash="2994a2b1afa2ba7aab9608c276c4df2c"/></dir><dir name="controllers"><file name="IndexController.php" hash="eaa56b78de7f1b82d97e8e272e319516"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4521234c57634fce4863c1d76b3b69db"/><file name="config.xml" hash="1fafefe84f48a91c681bbaad4d5dc321"/><file name="system.xml" hash="64e374feda73d9c2becab0f7ebd63efc"/></dir><dir name="sql"><dir name="mrms_setup"><file name="mysql4-install-1.0.0.php" hash="b72f2d6066d5601c3919773cdffd681a"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mrms.xml" hash="53c1df7384c4af93553b93b30037b324"/></dir><dir name="template"><dir name="mrms"><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="info.phtml" hash="4090fae7900f0f9d8e9b7369cf8ffd30"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mrms.xml" hash="947d78c51f49d47aa578dd606f01af90"/></dir><dir name="template"><dir name="mrms"><file name="jssnippet.phtml" hash="b9bdb1a4b49a76a1d121fca9d0eabed6"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mrms_Mrms.xml" hash="da097edc67d2a76ba4e67e7af39f3d35"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>