Sharemagnet_Social_Rebate - Version 1.1.4

Version Notes

This is a development version.

Download this release

Release Info

Developer Ben Stewart
Extension Sharemagnet_Social_Rebate
Version 1.1.4
Comparing to
See all releases


Code changes from version 1.1.2 to 1.1.4

app/code/community/Sharemagnet/Social/Rebate/Model/Observer.php~ DELETED
@@ -1,129 +0,0 @@
1
- <?php
2
-
3
- class Sharemagnet_Social_Rebate_Model_Observer{
4
- protected $_initSharemagnetApiUrl = 'http://sharemagnet.com/rest/v1/social-rebates/rebate_session/';
5
- protected $_requestSharemagnetApiUrl = 'http://sharemagnet.com/rest/v1/social-rebates/rebate_session/';
6
- protected $_verifySharemagnetApiUrl = 'http://sharemagnet.com/rest/v1/social-rebates/rebate_session_order/';
7
-
8
- public function prepareService($event){
9
- $order = $event->getOrder();
10
- $orderId= $order->getId();
11
- $incrementId = $order->getIncremementId();
12
- $realOrderId=$order->getRealOrderId();
13
- if(!$orderId){
14
- $orderId = 'NONE';
15
- }
16
- if(!$realOrderId){
17
- $realOrderId = 'NONE';
18
- }
19
- if(!$incrementId){
20
- $incrementId = 'NONE';
21
- }
22
- try{
23
- $order_created = $order->created_at;
24
- }
25
- catch(Exception $e){
26
- $order_created = NULL;
27
- }
28
- if(!$order_created){
29
- $order_created = strftime('%Y-%m-%d %H:%M:%S',time());
30
- }
31
- $orderEmail=$order->getCustomerEmail();
32
- $purchase_amount = $order->getGrandTotal() - $order->getShippingAmount();
33
- try{
34
- $restApiKey = $this->getRestApiKey();
35
- $restApiSecret = $this->getRestApiSecret();
36
- $restApiMagnet = $this->getRestMagnetKey();
37
- if ($restApiKey !="" && $restApiSecret !="" & $restApiMagnet!=""){
38
- $client = new Zend_Http_Client();
39
- // initialize api session
40
- $client->setUri($this->_initSharemagnetApiUrl);
41
- $client->setConfig(array(
42
- 'timeout' => 5));
43
- $arr=array('magnet_key'=>$restApiMagnet,'type'=>'magento','order_id'=>$orderId,'increment_id'=>$incrementId,'real_order_id'=>$realOrderId,'order_email'=>$orderEmail,'total_purchase'=>$purchase_amount,'order_created'=>$order_created);
44
- $response=$client->setRawData(json_encode($arr), 'application/json')->request('POST');
45
- $call_integration_url=$response->getHeader("Location")."?magnet_key=".$restApiMagnet."&format=json";
46
- $call_integration_url .= "&real_order_id=" . $realOrderId . "&increment_id=" . $incrementId . "&order_created=" . $order_created . "&order_email=" . $orderEmail. "&purchase_amount=" . $purchase_amount;
47
- if ($response->getStatus()==201 && $response->getMessage()=="CREATED"){
48
- //get existing api session
49
- $client1 =new Zend_Http_Client();
50
- $client1->setUri($response->getHeader("Location"));
51
- $client1->setConfig(array(
52
- 'timeout' => 5));
53
- $client1->setParameterGet(array('magnet_key'=>$restApiMagnet,'type'=>'magento','format'=>'json','order_id'=>$orderId,'increment_id'=>$incrementId,'real_order_id'=>$realOrderId,'order_email'=>$orderEmail,'total_purchase'=>$purchase_amount,'order_created'=>$order_created));
54
- $response1 = $client1->request();
55
- if($response1->getStatus()!=500 && $response1->getStatus()!=501){
56
- $responseBody1 = json_decode($response1->getBody());
57
- $integration_code=$responseBody1->integration_code;
58
- $offer_type=$responseBody1->offer_type;
59
- $order_id=$responseBody1->order_id;
60
- $order_email=$responseBody1->order_email;
61
- Mage::getSingleton('core/session')->setIntegrationCode($integration_code);
62
- Mage::getSingleton('core/session')->setOfferType($offer_type);
63
- }
64
- }
65
- }
66
- }catch(Exception $e){
67
- #$debugData['result'] = array('error' => $e->getMessage(), 'code' => $e->getCode());
68
- #$responseBody = '';
69
- }
70
- return $this;
71
- }
72
-
73
- public function getRestApiKey(){
74
- return trim(Mage::getStoreConfig('social_rebate_section/social_rebate_group/social_rebate_apikey'));
75
- }
76
-
77
- public function getRestApiSecret(){
78
- return trim(Mage::getStoreConfig('social_rebate_section/social_rebate_group/social_rebate_apisecret'));
79
- }
80
-
81
- public function getRestMagnetKey(){
82
- return trim(Mage::getStoreConfig('social_rebate_section/social_rebate_group/social_rebate_magnetkey'));
83
- }
84
-
85
- public function verifyOrderToSharemagnet($event){
86
- try{
87
- $order = $event->getOrder();
88
- if ($order->getState()==Mage_Sales_Model_Order::STATE_PROCESSING){
89
- $restApiKey = $this->getRestApiKey();
90
- $restApiSecret = $this->getRestApiSecret();
91
- $restApiMagnet = $this->getRestMagnetKey();
92
- $orderId= $order->getId();
93
- $incrementId = $order->getIncremementId();
94
- $realOrderId=$order->getRealOrderId();
95
- if(!$orderId){
96
- $orderId = 'NONE';
97
- }
98
- if(!$realOrderId){
99
- $realOrderId = 'NONE';
100
- }
101
- if(!$incrementId){
102
- $incrementId = 'NONE';
103
- }
104
-
105
- try{
106
- $order_created = $order->created_at;
107
- }
108
- catch(Exception $e){
109
- $order_created = NULL;
110
- }
111
- if(!$order_created){
112
- $order_created = 'NONE';
113
- }
114
- $orderEmail=$order->getCustomerEmail();
115
- $purchase_amount = $order->getGrandTotal() - $order->getShippingAmount();
116
- if ($restApiKey !="" && $restApiSecret !="" & $restApiMagnet!=""){
117
- $client1 =new Zend_Http_Client();
118
- $client1->setUri($this->_verifySharemagnetApiUrl.$order->getId().'/');
119
- $client1->setConfig(array(
120
- 'timeout' => 5));
121
- $client1->setParameterGet(array('api_key'=>$restApiKey,'api_secret'=>$restApiSecret,'magnet_key'=>$restApiMagnet,'type'=>'magento','backend'=>'magento','format'=>'json','order_id'=>$orderId,'increment_id'=>$incrementId,'real_order_id'=>$realOrderId,'order_email'=>$orderEmail,'total_purchase'=>$purchase_amount,'order_created'=>$order_created));
122
- $arr1=array('order_verified'=>1);
123
- $response=$client1->setRawData(json_encode($arr1), 'application/json')->request(Zend_Http_Client::PUT);
124
- }
125
- }
126
- }catch(Exception $e){}
127
- }
128
- }
129
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Sharemagnet/Social/Rebate/etc/config.xml~ DELETED
@@ -1,85 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
-
5
- <Sharemagnet_Social_Rebate>
6
- <version>1.5.0.0</version>
7
- </Sharemagnet_Social_Rebate>
8
- </modules>
9
- <global>
10
- <blocks>
11
- <social_rebate>
12
- <class>Sharemagnet_Social_Rebate_Block</class>
13
- </social_rebate>
14
- </blocks>
15
- <helpers>
16
- <social_rebate>
17
- <class>Sharemagnet_Social_Rebate_Helper</class>
18
- </social_rebate>
19
- </helpers>
20
- <events>
21
- <sales_order_place_after>
22
- <observers>
23
- <sharemagnet_social_rebate_model_observer>
24
- <type>singleton</type>
25
- <class>Sharemagnet_Social_Rebate_Model_Observer</class>
26
- <method>prepareService</method>
27
- </sharemagnet_social_rebate_model_observer>
28
- </observers>
29
- </sales_order_place_after>
30
- <sales_order_save_after>
31
- <observers>
32
- <sharemagnet_social_rebate_model_observer>
33
- <type>singleton</type>
34
- <class>Sharemagnet_Social_Rebate_Model_Observer</class>
35
- <method>verifyOrderToSharemagnet</method>
36
- </sharemagnet_social_rebate_model_observer>
37
- </observers>
38
- </sales_order_save_after>
39
- </events>
40
- </global>
41
- <frontend>
42
- <layout>
43
- <updates>
44
- <social_rebate>
45
- <file>sharemagnet/social/rebate.xml</file>
46
- </social_rebate>
47
- </updates>
48
- </layout>
49
-
50
- </frontend>
51
-
52
- <admin>
53
- <routers>
54
- <adminhtml>
55
- <args>
56
- <modules>
57
- <Sharemagnet_Social_Rebate before="Mage_Adminhtml">Sharemagnet_Social_Rebate_Adminhtml</Sharemagnet_Social_Rebate>
58
- </modules>
59
- </args>
60
- </adminhtml>
61
- </routers>
62
- </admin>
63
-
64
- <adminhtml>
65
- <acl>
66
- <resources>
67
- <admin>
68
- <children>
69
- <system>
70
- <children>
71
- <config>
72
- <children>
73
- <social_rebate_section>
74
- <title>Social Rebate Section</title>
75
- </social_rebate_section>
76
- </children>
77
- </config>
78
- </children>
79
- </system>
80
- </children>
81
- </admin>
82
- </resources>
83
- </acl>
84
- </adminhtml>
85
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/layout/sharemagnet/social/rebate.xml CHANGED
@@ -1,7 +1,6 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
  <checkout_onepage_success>
4
- <remove name="checkout.success" />
5
  <reference name="content">
6
  <block type="social_rebate/rebateorder" name="sharemagnet.social_rebate" template="sharemagnet/social/rebate.phtml"/>
7
  </reference>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
  <checkout_onepage_success>
 
4
  <reference name="content">
5
  <block type="social_rebate/rebateorder" name="sharemagnet.social_rebate" template="sharemagnet/social/rebate.phtml"/>
6
  </reference>
app/design/frontend/base/default/template/sharemagnet/social/rebate.phtml CHANGED
@@ -33,54 +33,16 @@
33
  fjs.parentNode.insertBefore(js, fjs);
34
  }(document, 'script', 'facebook-jssdk'));</script>
35
 
36
- <div class="page-title">
37
- <h1><?php echo $this->__('Your order has been received') ?></h1>
38
- </div>
39
- <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
- <p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
41
-
42
- <?php if ($this->getOrderId()):?>
43
- <?php if ($this->getCanViewOrder()) :?>
44
- <p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
45
- <?php else :?>
46
- <p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?>.</p>
47
- <?php endif;?>
48
- <p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
49
- <?php if ($this->getViewOrder() && $this->getCanPrintOrder()) :?>
50
- <p>
51
- <?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
52
- <?php echo $this->getChildHtml() ?>
53
- </p>
54
- <?php endif;?>
55
- <?php endif;?>
56
-
57
- <?php if ($this->getAgreementRefId()): ?>
58
- <p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
59
- <?php endif;?>
60
-
61
- <?php if ($profiles = $this->getRecurringProfiles()):?>
62
- <p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
63
- <ul>
64
- <?php foreach($profiles as $profile):?>
65
- <?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
66
- <li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
67
- <?php endforeach;?>
68
- </ul>
69
- <?php endif;?>
70
  <!-- Sharemagnet Rebate Order -->
71
  <?php if ($this->getOrderId()):?>
72
  <script type="text/javascript" src="https://sharemagnet.com/site_media/static/lb/floatbox.js"></script>
73
  <link type="text/css" rel="stylesheet" href="https://sharemagnet.com/site_media/static/lb/floatbox.css" />
74
  <link rel="stylesheet" href="https://sharemagnet.com/site_media/static/css/social_integration.css" type="text/css" media="screen" />
75
  <div id="iframe-holder">
76
- <?php
77
- echo Mage::getSingleton('core/session')->getIntegrationCode();
78
  ?>
79
  <!-- add integration code part -->
80
  </div>
81
  <?php endif; ?>
82
  <!-- End Sharemagnet Rebate Order -->
83
-
84
- <div class="buttons-set">
85
- <button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
86
- </div>
33
  fjs.parentNode.insertBefore(js, fjs);
34
  }(document, 'script', 'facebook-jssdk'));</script>
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  <!-- Sharemagnet Rebate Order -->
37
  <?php if ($this->getOrderId()):?>
38
  <script type="text/javascript" src="https://sharemagnet.com/site_media/static/lb/floatbox.js"></script>
39
  <link type="text/css" rel="stylesheet" href="https://sharemagnet.com/site_media/static/lb/floatbox.css" />
40
  <link rel="stylesheet" href="https://sharemagnet.com/site_media/static/css/social_integration.css" type="text/css" media="screen" />
41
  <div id="iframe-holder">
42
+ <?php
43
+ echo Mage::getSingleton('core/session')->getIntegrationCode();
44
  ?>
45
  <!-- add integration code part -->
46
  </div>
47
  <?php endif; ?>
48
  <!-- End Sharemagnet Rebate Order -->
 
 
 
 
app/design/frontend/base/default/template/sharemagnet/social/rebate.phtml~ DELETED
@@ -1,86 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <div id="fb-root"></div>
28
- <script>(function(d, s, id) {
29
- var js, fjs = d.getElementsByTagName(s)[0];
30
- if (d.getElementById(id)) return;
31
- js = d.createElement(s); js.id = id;
32
- js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
33
- fjs.parentNode.insertBefore(js, fjs);
34
- }(document, 'script', 'facebook-jssdk'));</script>
35
-
36
- <div class="page-title">
37
- <h1><?php echo $this->__('Your order has been received') ?></h1>
38
- </div>
39
- <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
- <p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
41
-
42
- <?php if ($this->getOrderId()):?>
43
- <?php if ($this->getCanViewOrder()) :?>
44
- <p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
45
- <?php else :?>
46
- <p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?>.</p>
47
- <?php endif;?>
48
- <p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
49
- <?php if ($this->getViewOrder() && $this->getCanPrintOrder()) :?>
50
- <p>
51
- <?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
52
- <?php echo $this->getChildHtml() ?>
53
- </p>
54
- <?php endif;?>
55
- <?php endif;?>
56
-
57
- <?php if ($this->getAgreementRefId()): ?>
58
- <p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
59
- <?php endif;?>
60
-
61
- <?php if ($profiles = $this->getRecurringProfiles()):?>
62
- <p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
63
- <ul>
64
- <?php foreach($profiles as $profile):?>
65
- <?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
66
- <li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
67
- <?php endforeach;?>
68
- </ul>
69
- <?php endif;?>
70
- <!-- Sharemagnet Rebate Order -->
71
- <?php if ($this->getOrderId()):?>
72
- <script type="text/javascript" src="https://sharemagnet.com/site_media/static/lb/floatbox.js"></script>
73
- <link type="text/css" rel="stylesheet" href="https://sharemagnet.com/site_media/static/lb/floatbox.css" />
74
- <link rel="stylesheet" href="https://sharemagnet.com/site_media/static/css/social_integration.css" type="text/css" media="screen" />
75
- <div id="iframe-holder">
76
- <?php
77
- echo Mage::getSingleton('core/session')->getIntegrationCode();
78
- ?>
79
- <!-- add integration code part -->
80
- </div>
81
- <?php endif; ?>
82
- <!-- End Sharemagnet Rebate Order -->
83
-
84
- <div class="buttons-set">
85
- <button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
86
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,19 +1,88 @@
1
  <?xml version="1.0"?>
2
  <package>
3
- <name>Sharemagnet_Social_Rebate</name>
4
- <version>1.1.2</version>
5
- <stability>stable</stability>
6
- <license uri="http://opensource.org/licenses/artistic-license-2.0">Artistic License 2.0</license>
7
- <channel>community</channel>
8
- <extends/>
9
- <summary>Turn customers purchases into highly credible Social Media Marketing for your store with Social Rebate!</summary>
10
- <description>Social Rebate provides a comprehensive Social Commerce platform for online retailers to help increase social sharing and customer referrals from Social Media to their eCommerce stores.</description>
11
- <notes>This is a development version.</notes>
12
- <authors><author><name>Ben Stewart</name><user>SocialRebate</user><email>info@sharemagnet.com</email></author></authors>
13
- <date>2013-06-12</date>
14
- <time>12:31:01</time>
15
- <contents><target name="magecommunity"><dir name="Sharemagnet"><dir name="Social"><dir name="Rebate"><dir name="Block"><file name="Rebateorder.php" hash="894088ccc6bf24d5d3221666b9484c63"/></dir><dir name="Helper"><file name="Data.php" hash="eb8159561687773312ad8b668b4739ee"/></dir><dir name="Model"><file name="Observer.php" hash="d8c96bdae67f28aa08394dac920be678"/></dir><dir name="etc"><file name="config.xml" hash="810c87942360b4b1d440657fee091652"/><file name="system.xml" hash="805f09f45dfd5da1e808b80e86a07967"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="sharemagnet"><dir name="social"><file name="rebate.xml" hash="18aeacd2950d493fde5042326944d98e"/></dir></dir></dir><dir name="template"><dir name="sharemagnet"><dir name="social"><file name="rebate.phtml" hash="336dfd41c67b36a038d4e04ec84ed3d0"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sharemagnet_Social_Rebate.xml" hash="ddd29c70265716206160515bc8f980f0"/></dir></target></contents>
16
- <compatible/>
17
- <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  </package>
19
-
1
  <?xml version="1.0"?>
2
  <package>
3
+ <name>Sharemagnet_Social_Rebate</name>
4
+ <version>1.1.4</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/artistic-license-2.0">Artistic License 2.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>
10
+ Turn customers purchases into highly credible Social Media Marketing
11
+ for your store with Social Rebate!
12
+ </summary>
13
+ <description>
14
+ Social Rebate provides a comprehensive Social Commerce platform for
15
+ online retailers to help increase social sharing and customer
16
+ referrals from Social Media to their eCommerce stores.
17
+ </description>
18
+ <notes>This is a development version.</notes>
19
+ <authors>
20
+ <author>
21
+ <name>Ben Stewart</name>
22
+ <user>SocialRebate</user>
23
+ <email>info@sharemagnet.com</email>
24
+ </author>
25
+ </authors>
26
+ <date>2013-09-12</date>
27
+ <time>11:19:36</time>
28
+ <contents>
29
+ <target name="magecommunity">
30
+ <dir name="Sharemagnet">
31
+ <dir name="Social">
32
+ <dir name="Rebate">
33
+ <dir name="Helper">
34
+ <file hash="d80372ac50ea340ee34d536685039af9" name="Data.php"/>
35
+ </dir>
36
+ <dir name="etc">
37
+ <file hash="6611eb0c1dd114dcf8ea1aa0fec3dc55" name="system.xml"/>
38
+ <file hash="f9d2b011afcfa442d1eab1b8c1175633" name="config.xml"/>
39
+ </dir>
40
+ <dir name="Block">
41
+ <file hash="894088ccc6bf24d5d3221666b9484c63" name="Rebateorder.php"/>
42
+ </dir>
43
+ <dir name="Model">
44
+ <file hash="2234d4ff0759222ebda22b1e16360b4d" name="Observer.php"/>
45
+ </dir>
46
+ </dir>
47
+ </dir>
48
+ </dir>
49
+ </target>
50
+ <target name="magedesign">
51
+ <dir name="frontend">
52
+ <dir name="base">
53
+ <dir name="default">
54
+ <dir name="template">
55
+ <dir name="sharemagnet">
56
+ <dir name="social">
57
+ <file hash="3998ef2113e126f07b28dd5bf3c08e38" name="rebate.phtml"/>
58
+ </dir>
59
+ </dir>
60
+ </dir>
61
+ <dir name="layout">
62
+ <dir name="sharemagnet">
63
+ <dir name="social">
64
+ <file hash="499100440bcbd2bcd0b231f975d76211" name="rebate.xml"/>
65
+ </dir>
66
+ </dir>
67
+ </dir>
68
+ </dir>
69
+ </dir>
70
+ </dir>
71
+ </target>
72
+ <target name="mageetc">
73
+ <dir name="modules">
74
+ <file hash="ddd29c70265716206160515bc8f980f0" name="Sharemagnet_Social_Rebate.xml"/>
75
+ </dir>
76
+ </target>
77
+
78
+ </contents>
79
+ <compatible/>
80
+ <dependencies>
81
+ <required>
82
+ <php>
83
+ <min>5.2.0</min>
84
+ <max>6.0.0</max>
85
+ </php>
86
+ </required>
87
+ </dependencies>
88
  </package>