FraudShields - Version 1.2.1.0

Version Notes

No Notes

Download this release

Release Info

Developer Shaya Krauss
Extension FraudShields
Version 1.2.1.0
Comparing to
See all releases


Code changes from version 1.2.0.8 to 1.2.1.0

app/code/local/FraudShields/Post/Model/Observer.php CHANGED
@@ -1,7 +1,7 @@
1
 
2
  <?php
3
 
4
- class fraudshields_model_observer {
5
  public $cardnum;
6
  public $exp;
7
 
@@ -74,10 +74,10 @@ class fraudshields_model_observer {
74
  "ip" => $_SERVER["REMOTE_ADDR"],
75
  "cardnum" => $this->cardnum,
76
  "exp" => $this->exp,
77
- "key" => "8bfe220e83ec40c5ab7c5f21ca3e8643ItsHot", //Unique key
78
  "gift_message" => $message->getData('message'),
79
  "version" => "1.2",
80
- "GatewayRefNum" => $lastTransId,
81
  "GatewayResult" => "", // TODO: Add
82
  "GatewayError" => "", // TODO: Add
83
  "GatewayAVS" => "", // TODO: Add
@@ -85,10 +85,6 @@ class fraudshields_model_observer {
85
  "OrderItems" => "" // TODO: Add
86
  );
87
 
88
- echo "<pre>";
89
- print_r($postdata);
90
- die();
91
-
92
  $json = json_encode($postdata);
93
 
94
  // Server url where json data send
1
 
2
  <?php
3
 
4
+ class FraudShields_Post_Model_Observer {
5
  public $cardnum;
6
  public $exp;
7
 
74
  "ip" => $_SERVER["REMOTE_ADDR"],
75
  "cardnum" => $this->cardnum,
76
  "exp" => $this->exp,
77
+ "key" => "8bfe220e83ec40c5ab7c5f21ca3e8643ItsHot",
78
  "gift_message" => $message->getData('message'),
79
  "version" => "1.2",
80
+ "GatewayRefNum" => $lastTransId, // TODO: Add
81
  "GatewayResult" => "", // TODO: Add
82
  "GatewayError" => "", // TODO: Add
83
  "GatewayAVS" => "", // TODO: Add
85
  "OrderItems" => "" // TODO: Add
86
  );
87
 
 
 
 
 
88
  $json = json_encode($postdata);
89
 
90
  // Server url where json data send
app/code/local/FraudShields/Post/etc/config.xml CHANGED
@@ -1,28 +1,28 @@
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
- <FraudShields>
5
  <version>1.0.1</version>
6
- </FraudShields>
7
  </modules>
8
  <global>
9
  <events>
10
  <sales_order_place_before>
11
  <observers>
12
- <fraudshields_model_observer>
13
  <type>singleton</type>
14
- <class>fraudshields_model_observer</class>
15
  <method>postSomething1</method>
16
- </fraudshields_model_observer>
17
  </observers>
18
  </sales_order_place_before>
19
  <sales_order_place_after>
20
  <observers>
21
- <fraudshields_model_observer>
22
  <type>singleton</type>
23
- <class>fraudshields_model_observer</class>
24
  <method>postSomething</method>
25
- </fraudshields_model_observer>
26
  </observers>
27
  </sales_order_place_after>
28
  </events>
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
+ <FraudShields_Post>
5
  <version>1.0.1</version>
6
+ </FraudShields_Post>
7
  </modules>
8
  <global>
9
  <events>
10
  <sales_order_place_before>
11
  <observers>
12
+ <fraudshields_post_model_observer>
13
  <type>singleton</type>
14
+ <class>FraudShields_Post_Model_Observer</class>
15
  <method>postSomething1</method>
16
+ </fraudshields_post_model_observer>
17
  </observers>
18
  </sales_order_place_before>
19
  <sales_order_place_after>
20
  <observers>
21
+ <fraudshields_post_model_observer>
22
  <type>singleton</type>
23
+ <class>FraudShields_Post_Model_Observer</class>
24
  <method>postSomething</method>
25
+ </fraudshields_post_model_observer>
26
  </observers>
27
  </sales_order_place_after>
28
  </events>
app/etc/modules/{FraudShields.xml → FraudShields_Post.xml} RENAMED
@@ -1,10 +1,10 @@
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
- <FraudShields>
5
  <codePool>local</codePool>
6
  <active>true</active>
7
- </FraudShields>
8
  </modules>
9
  </config>
10
 
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
+ <FraudShields_Post>
5
  <codePool>local</codePool>
6
  <active>true</active>
7
+ </FraudShields_Post>
8
  </modules>
9
  </config>
10
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>FraudShields</name>
4
- <version>1.2.0.8</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
@@ -11,8 +11,8 @@
11
  <notes>No Notes</notes>
12
  <authors><author><name>Shaya Krauss</name><user>fpswebmaster</user><email>webmaster@fidelitypayment.com</email></author></authors>
13
  <date>2013-12-05</date>
14
- <time>16:10:59</time>
15
- <contents><target name="magelocal"><dir name="FraudShields"><dir name="Post"><dir name="Model"><file name="Observer.php" hash="2af055df11b1b3763ec3b2e819421df9"/></dir><dir name="etc"><file name="config.xml" hash="55b7ee4dee5672db2c7dfd2803093062"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="FraudShields.xml" hash="311c8e5f4ed52a284966d7ba504d35ae"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>FraudShields</name>
4
+ <version>1.2.1.0</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
11
  <notes>No Notes</notes>
12
  <authors><author><name>Shaya Krauss</name><user>fpswebmaster</user><email>webmaster@fidelitypayment.com</email></author></authors>
13
  <date>2013-12-05</date>
14
+ <time>21:02:03</time>
15
+ <contents><target name="magelocal"><dir name="FraudShields"><dir name="Post"><dir name="Model"><file name="Observer.php" hash="cd4cde9fd2dfe5ca2cb81403a95afc94"/></dir><dir name="etc"><file name="config.xml" hash="c7a9f8c4dcc90e66ece35758f26087e1"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="FraudShields_Post.xml" hash="72319e4ae2fa32e50b34401ad68c68fc"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>