Shopa_ShareAndEarn - Version 0.0.6

Version Notes

Fixed incorrect signature generation

Download this release

Release Info

Developer Tim Macfarlane
Extension Shopa_ShareAndEarn
Version 0.0.6
Comparing to
See all releases


Code changes from version 0.0.5 to 0.0.6

app/code/community/Shopa/ShareAndEarn/Block/Success.php CHANGED
@@ -19,7 +19,7 @@ class Shopa_ShareAndEarn_Block_Success extends Mage_Core_Block_Template
19
  $apiKey = $this->getApiKey();
20
  $apiSecret = Mage::getStoreConfig('shopa_shareandearn_options/security/api_secret');
21
 
22
- $data = "$commission:$price:$currency:$orderId:$orderEmail$apiKey:$apiSecret";
23
  return sha1($data);
24
  }
25
 
19
  $apiKey = $this->getApiKey();
20
  $apiSecret = Mage::getStoreConfig('shopa_shareandearn_options/security/api_secret');
21
 
22
+ $data = "$commission:$price:$currency:$orderId:$orderEmail:$apiKey:$apiSecret";
23
  return sha1($data);
24
  }
25
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Shopa_ShareAndEarn</name>
4
- <version>0.0.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache Software License (ASL)</license>
7
  <channel>community</channel>
@@ -12,11 +12,11 @@
12
  Financially incentivised users virally spread links to products they like to their personal networks, whilst online retailers benefit from additional sales through the recommendation of friends.&#xD;
13
  &#xD;
14
  Retailers only pay commissions to their users on a success basis. Utilising a financially incentivised community to promote products on their behalf, this &#x2018;no sale, no pay&#x2019; model allows retailers to reach as many people as possible as often and as cost effectively as possible.</description>
15
- <notes>Adding product urls and order email to button api</notes>
16
  <authors><author><name>Tim Macfarlane</name><user>featuristtim</user><email>tim@featurist.co.uk</email></author><author><name>Zi Makki</name><user>zmakki</user><email>zimakki@gmail.com</email></author></authors>
17
- <date>2012-11-30</date>
18
- <time>17:34:26</time>
19
- <contents><target name="magecommunity"><dir name="Shopa"><dir name="ShareAndEarn"><dir name="Block"><file name="Button.php" hash="eb3da40bedf6d18cab5005b68b97cff8"/><file name="Success.php" hash="8bc8551669085c78eb75401d941b2ad2"/></dir><dir name="Helper"><file name="Data.php" hash="a2021ecd6e69f5bc3fcda9e4a97c1015"/></dir><dir name="etc"><file name="config.xml" hash="b67634e93a8a15eea2836eafee6978df"/><file name="system.xml" hash="638cce9e1e680b934cbc4c7916660e94"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="shopa_shareandearn.xml" hash="b172fd0820f4686029324ff4d16b5e5f"/></dir><dir name="template"><dir name="shopa_shareandearn"><file name="button.phtml" hash="c8eb9a4bde20e02b6c4ed2f3cf163353"/><file name="success.phtml" hash="a4fecb69f8715795d1cefb680bcc770b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Shopa_ShareAndEarn.xml" hash="7b5d8070ab388fb380977138e00e02df"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>4.3.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Shopa_ShareAndEarn</name>
4
+ <version>0.0.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache Software License (ASL)</license>
7
  <channel>community</channel>
12
  Financially incentivised users virally spread links to products they like to their personal networks, whilst online retailers benefit from additional sales through the recommendation of friends.&#xD;
13
  &#xD;
14
  Retailers only pay commissions to their users on a success basis. Utilising a financially incentivised community to promote products on their behalf, this &#x2018;no sale, no pay&#x2019; model allows retailers to reach as many people as possible as often and as cost effectively as possible.</description>
15
+ <notes>Fixed incorrect signature generation</notes>
16
  <authors><author><name>Tim Macfarlane</name><user>featuristtim</user><email>tim@featurist.co.uk</email></author><author><name>Zi Makki</name><user>zmakki</user><email>zimakki@gmail.com</email></author></authors>
17
+ <date>2013-01-24</date>
18
+ <time>17:08:27</time>
19
+ <contents><target name="magecommunity"><dir name="Shopa"><dir name="ShareAndEarn"><dir name="Block"><file name="Button.php" hash="eb3da40bedf6d18cab5005b68b97cff8"/><file name="Success.php" hash="3e7007dbf08f75425daaae837b2bf4dd"/></dir><dir name="Helper"><file name="Data.php" hash="a2021ecd6e69f5bc3fcda9e4a97c1015"/></dir><dir name="etc"><file name="config.xml" hash="b67634e93a8a15eea2836eafee6978df"/><file name="system.xml" hash="638cce9e1e680b934cbc4c7916660e94"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="shopa_shareandearn.xml" hash="b172fd0820f4686029324ff4d16b5e5f"/></dir><dir name="template"><dir name="shopa_shareandearn"><file name="button.phtml" hash="c8eb9a4bde20e02b6c4ed2f3cf163353"/><file name="success.phtml" hash="a4fecb69f8715795d1cefb680bcc770b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Shopa_ShareAndEarn.xml" hash="7b5d8070ab388fb380977138e00e02df"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>4.3.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>