PutlerConnector - Version 1.0.2

Version Notes

+ Enhancements

Download this release

Release Info

Developer Nirav Mehta
Extension PutlerConnector
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.2

Files changed (67) hide show
  1. {code → app/code}/local/Putler/PutlerConnector/.DS_Store +0 -0
  2. {code/local/Putler/PutlerConnector/Helper → app/code/local/Putler/PutlerConnector/Block}/.DS_Store +0 -0
  3. {code → app/code}/local/Putler/PutlerConnector/Block/Adminhtml/.DS_Store +0 -0
  4. {code → app/code}/local/Putler/PutlerConnector/Block/Adminhtml/System/.DS_Store +0 -0
  5. {code → app/code}/local/Putler/PutlerConnector/Block/Adminhtml/System/Config/.DS_Store +0 -0
  6. {code → app/code}/local/Putler/PutlerConnector/Block/Adminhtml/System/Config/Form/Button.php +5 -6
  7. {code/local/Putler/PutlerConnector/Model → app/code/local/Putler/PutlerConnector/Helper}/.DS_Store +0 -0
  8. {code/local/Putler/PutlerConnector/controllers/Adminhtml → app/code/local/Putler/PutlerConnector/Model}/.DS_Store +0 -0
  9. app/code/local/Putler/PutlerConnector/Model/Observer.php +53 -0
  10. {code → app/code}/local/Putler/PutlerConnector/Model/PutlerConnector.php +20 -7
  11. {code/local/Putler/PutlerConnector/Block → app/code/local/Putler/PutlerConnector/controllers}/.DS_Store +0 -0
  12. {code/local/Putler/PutlerConnector/etc → app/code/local/Putler/PutlerConnector/controllers/Adminhtml}/.DS_Store +0 -0
  13. {code → app/code}/local/Putler/PutlerConnector/controllers/Adminhtml/PutlerConnectorController.php +25 -19
  14. {code/local/Putler/PutlerConnector/scripts → app/code/local/Putler/PutlerConnector/etc}/.DS_Store +0 -0
  15. {code → app/code}/local/Putler/PutlerConnector/etc/adminhtml.xml +0 -0
  16. {code → app/code}/local/Putler/PutlerConnector/etc/config.xml +1 -1
  17. {code → app/code}/local/Putler/PutlerConnector/etc/system.xml +0 -0
  18. {code/local/Putler/PutlerConnector/sql → app/code/local/Putler/PutlerConnector/scripts}/.DS_Store +0 -0
  19. {etc/modules → app/code/local/Putler/PutlerConnector/sql}/.DS_Store +0 -0
  20. {design/adminhtml/default/default/template → app/design/adminhtml/default/default/template/putler_putlerconnector}/.DS_Store +0 -0
  21. app/design/adminhtml/default/default/template/putler_putlerconnector/system/.DS_Store +0 -0
  22. {design → app/design}/adminhtml/default/default/template/putler_putlerconnector/system/config/button.phtml +5 -6
  23. {etc → app/etc}/modules/Putler_PutlerConnector.xml +0 -0
  24. code/.DS_Store +0 -0
  25. code/._.DS_Store +0 -0
  26. code/local/.DS_Store +0 -0
  27. code/local/._.DS_Store +0 -0
  28. code/local/._Putler +0 -0
  29. code/local/Putler/.DS_Store +0 -0
  30. code/local/Putler/._.DS_Store +0 -0
  31. code/local/Putler/._PutlerConnector +0 -0
  32. code/local/Putler/PutlerConnector/._.DS_Store +0 -0
  33. code/local/Putler/PutlerConnector/._Block +0 -0
  34. code/local/Putler/PutlerConnector/._Helper +0 -0
  35. code/local/Putler/PutlerConnector/._Model +0 -0
  36. code/local/Putler/PutlerConnector/._controllers +0 -0
  37. code/local/Putler/PutlerConnector/._etc +0 -0
  38. code/local/Putler/PutlerConnector/._scripts +0 -0
  39. code/local/Putler/PutlerConnector/._sql +0 -0
  40. code/local/Putler/PutlerConnector/Block/._.DS_Store +0 -0
  41. code/local/Putler/PutlerConnector/Helper/._.DS_Store +0 -0
  42. code/local/Putler/PutlerConnector/Model/._.DS_Store +0 -0
  43. code/local/Putler/PutlerConnector/Model/Observer.php +0 -40
  44. code/local/Putler/PutlerConnector/controllers/.DS_Store +0 -0
  45. code/local/Putler/PutlerConnector/controllers/._.DS_Store +0 -0
  46. code/local/Putler/PutlerConnector/controllers/._Adminhtml +0 -0
  47. code/local/Putler/PutlerConnector/controllers/Adminhtml/._.DS_Store +0 -0
  48. code/local/Putler/PutlerConnector/etc/._.DS_Store +0 -0
  49. code/local/Putler/PutlerConnector/etc/._config.xml +0 -0
  50. code/local/Putler/PutlerConnector/scripts/._.DS_Store +0 -0
  51. code/local/Putler/PutlerConnector/sql/._.DS_Store +0 -0
  52. design/.DS_Store +0 -0
  53. design/._.DS_Store +0 -0
  54. design/adminhtml/.DS_Store +0 -0
  55. design/adminhtml/._.DS_Store +0 -0
  56. design/adminhtml/default/.DS_Store +0 -0
  57. design/adminhtml/default/._.DS_Store +0 -0
  58. design/adminhtml/default/default/.DS_Store +0 -0
  59. design/adminhtml/default/default/._.DS_Store +0 -0
  60. design/adminhtml/default/default/template/._.DS_Store +0 -0
  61. design/adminhtml/default/default/template/putler_putlerconnector/.DS_Store +0 -0
  62. design/adminhtml/default/default/template/putler_putlerconnector/system/.DS_Store +0 -0
  63. etc/.DS_Store +0 -0
  64. etc/._.DS_Store +0 -0
  65. etc/modules/._.DS_Store +0 -0
  66. etc/modules/._Putler_PutlerConnector.xml +0 -0
  67. package.xml +5 -5
{code → app/code}/local/Putler/PutlerConnector/.DS_Store RENAMED
File without changes
{code/local/Putler/PutlerConnector/Helper → app/code/local/Putler/PutlerConnector/Block}/.DS_Store RENAMED
File without changes
{code → app/code}/local/Putler/PutlerConnector/Block/Adminhtml/.DS_Store RENAMED
File without changes
{code → app/code}/local/Putler/PutlerConnector/Block/Adminhtml/System/.DS_Store RENAMED
File without changes
{code → app/code}/local/Putler/PutlerConnector/Block/Adminhtml/System/Config/.DS_Store RENAMED
File without changes
{code → app/code}/local/Putler/PutlerConnector/Block/Adminhtml/System/Config/Form/Button.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Atwix
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -12,10 +12,10 @@
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
- * @category Atwix Mod
16
- * @package Atwix_Tweaks
17
- * @author Atwix Core Team
18
- * @copyright Copyright (c) 2012 Atwix (http://www.atwix.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
 
@@ -58,7 +58,6 @@ class Putler_PutlerConnector_Block_Adminhtml_System_Config_Form_Button extends M
58
  */
59
  public function getButtonHtml()
60
  {
61
-
62
  $button = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array(
63
  'id' => 'putler_validate_button',
64
  'label' => $this->helper('adminhtml')->__('Save & Send Past Orders to Putler'),
1
  <?php
2
  /**
3
+ * PutlerConnector
4
  *
5
  * NOTICE OF LICENSE
6
  *
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
+ * @category Putler Mod
16
+ * @package Putler_PutlerConnector
17
+ * @author Putler Core Team
18
+ * @copyright Copyright (c) 2012 Atwix (http://www.putler.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
 
58
  */
59
  public function getButtonHtml()
60
  {
 
61
  $button = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array(
62
  'id' => 'putler_validate_button',
63
  'label' => $this->helper('adminhtml')->__('Save & Send Past Orders to Putler'),
{code/local/Putler/PutlerConnector/Model → app/code/local/Putler/PutlerConnector/Helper}/.DS_Store RENAMED
File without changes
{code/local/Putler/PutlerConnector/controllers/Adminhtml → app/code/local/Putler/PutlerConnector/Model}/.DS_Store RENAMED
File without changes
app/code/local/Putler/PutlerConnector/Model/Observer.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * PutlerConnector
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-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
+ * @category Putler Mod
16
+ * @package Putler_PutlerConnector
17
+ * @author Putler Core Team
18
+ * @copyright Copyright (c) 2012 Atwix (http://www.putler.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+
23
+ class Putler_PutlerConnector_Model_Observer {
24
+
25
+ /**
26
+ * Subscribw the user, during checkout.
27
+ *
28
+ * @return void
29
+ */
30
+ public function postOrderDataToPutler($observer)
31
+ {
32
+
33
+ $order = $observer->getOrder();
34
+ if($order->getState() == Mage_Sales_Model_Order::STATE_COMPLETE){
35
+
36
+ $email = Mage::getStoreConfig('putlersettings/general/putler_email');
37
+ $api_token = Mage::getStoreConfig('putlersettings/general/putler_api_token');
38
+
39
+ if($email != '' && $api_token != '') {
40
+ $putler_connector = Mage::getModel ( 'putler_putlerconnector/PutlerConnector');
41
+ $order = $observer->getEvent ()->getOrder ();
42
+ $orders_data = $putler_connector->preapreOrdersTosend ( array($order) );
43
+ $result = $putler_connector->postOrdersToPutler ( $orders_data );
44
+ if ($result) {
45
+ Mage::log( 'Data have been sent successfully to putler' );
46
+ }
47
+ } else {
48
+ Mage::log( 'Putler email and api token are blank' );
49
+ }
50
+ }
51
+ }
52
+
53
+ }
{code → app/code}/local/Putler/PutlerConnector/Model/PutlerConnector.php RENAMED
@@ -1,4 +1,23 @@
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  class Putler_PutlerConnector_Model_PutlerConnector {
4
 
@@ -16,18 +35,12 @@ class Putler_PutlerConnector_Model_PutlerConnector {
16
  }
17
  function validateApiInfo($email, $token) {
18
  // Validate with API server
19
-
20
  $this->api_token = $token;
21
  $this->email_address = $email;
22
  $post_data = array ('action' => 'validate', 'headers' => array ('Authorization' => 'Basic ' . base64_encode ( $email . ':' . $token ), 'User-Agent' => 'Putler Connector/' . $this->version ) );
23
  $result = $this->makeRequest ( $post_data );
24
 
25
- if ($result ['ACK'] == 'Success') {
26
- return true;
27
- }
28
-
29
- //TODO: Check errors if any
30
- return false;
31
  }
32
 
33
  function postOrdersToPutler($orders) {
1
  <?php
2
+ /**
3
+ * PutlerConnector
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-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
+ * @category Putler Mod
16
+ * @package Putler_PutlerConnector
17
+ * @author Putler Core Team
18
+ * @copyright Copyright (c) 2012 Atwix (http://www.putler.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
 
22
  class Putler_PutlerConnector_Model_PutlerConnector {
23
 
35
  }
36
  function validateApiInfo($email, $token) {
37
  // Validate with API server
 
38
  $this->api_token = $token;
39
  $this->email_address = $email;
40
  $post_data = array ('action' => 'validate', 'headers' => array ('Authorization' => 'Basic ' . base64_encode ( $email . ':' . $token ), 'User-Agent' => 'Putler Connector/' . $this->version ) );
41
  $result = $this->makeRequest ( $post_data );
42
 
43
+ return $result;
 
 
 
 
 
44
  }
45
 
46
  function postOrdersToPutler($orders) {
{code/local/Putler/PutlerConnector/Block → app/code/local/Putler/PutlerConnector/controllers}/.DS_Store RENAMED
File without changes
{code/local/Putler/PutlerConnector/etc → app/code/local/Putler/PutlerConnector/controllers/Adminhtml}/.DS_Store RENAMED
File without changes
{code → app/code}/local/Putler/PutlerConnector/controllers/Adminhtml/PutlerConnectorController.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Atwix
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -12,13 +12,12 @@
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
- * @category Atwix Mod
16
- * @package Atwix_Tweaks
17
- * @author Atwix Core Team
18
- * @copyright Copyright (c) 2012 Atwix (http://www.atwix.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
-
22
  class Putler_PutlerConnector_Adminhtml_PutlerConnectorController extends Mage_Adminhtml_Controller_Action
23
  {
24
  /**
@@ -27,24 +26,31 @@ class Putler_PutlerConnector_Adminhtml_PutlerConnectorController extends Mage_Ad
27
  * @return void
28
  */
29
  public function checkAction() {
30
- $api_token = trim($this->getRequest()->getParam('api_token'));
 
 
31
  $email = trim($this->getRequest()->getParam('email'));
32
  if($api_token != '' && $email != ''){
33
  $putler_connector = Mage::getModel('putler_putlerconnector/PutlerConnector', $email, $api_token);
34
  $putler_connector = Mage::getModel('putler_putlerconnector/PutlerConnector');
35
  $result = $putler_connector->validateApiInfo($email, $api_token);
36
- if($result) {
37
- $config = new Mage_Core_Model_Config();
38
- $config->saveConfig('putlersettings/general/putler_email', $email);
39
- $config->saveConfig('putlersettings/general/putler_api_token', $api_token);
40
- $orders = $putler_connector->getOrders();
41
- $result = $putler_connector->postOrdersToPutler($orders);
42
- if($result) {
43
- $response = array('ACK' => 'SUCCESS', 'MESSAGE' => 'Settings Saved Successfully');
44
- }
45
- } else {
46
- $response = array('ACK(' => 'FAILURE', 'MESSAGE' => 'Validation failed. Please Check Your Putler Email Address And API Token');
47
- }
 
 
 
 
 
48
  } else {
49
  $response = array('ACK(' => 'FAILURE', 'MESSAGE' => 'Your Putler Email Address And API Token Should Not Be Blank');
50
  }
1
  <?php
2
  /**
3
+ * PutlerConnector
4
  *
5
  * NOTICE OF LICENSE
6
  *
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
+ * @category Putler Mod
16
+ * @package Putler_PutlerConnector
17
+ * @author Putler Core Team
18
+ * @copyright Copyright (c) 2012 Atwix (http://www.putler.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
 
21
  class Putler_PutlerConnector_Adminhtml_PutlerConnectorController extends Mage_Adminhtml_Controller_Action
22
  {
23
  /**
26
  * @return void
27
  */
28
  public function checkAction() {
29
+
30
+ $token = $this->getRequest()->getParam('api_token');
31
+ $api_token = implode(",",array_map('trim',(array_unique(array_filter(explode(",",trim($token))))))); // to save only unique token keys
32
  $email = trim($this->getRequest()->getParam('email'));
33
  if($api_token != '' && $email != ''){
34
  $putler_connector = Mage::getModel('putler_putlerconnector/PutlerConnector', $email, $api_token);
35
  $putler_connector = Mage::getModel('putler_putlerconnector/PutlerConnector');
36
  $result = $putler_connector->validateApiInfo($email, $api_token);
37
+
38
+ if($result ['ACK'] == 'Success') {
39
+ if (!empty($result['Unauthorized_tokens'])) {
40
+ $response = array('ACK' => "FAILURE", 'MESSAGE' => "{$result['Unauthorized_tokens']} token(s) are unauthorized.");
41
+ } else {
42
+ $config = new Mage_Core_Model_Config();
43
+ $config->saveConfig('putlersettings/general/putler_email', $email);
44
+ $config->saveConfig('putlersettings/general/putler_api_token', $api_token);
45
+ $orders = $putler_connector->getOrders();
46
+ $result = $putler_connector->postOrdersToPutler($orders);
47
+ if($result) {
48
+ $response = array('ACK' => 'SUCCESS', 'MESSAGE' => 'Settings Saved Successfully');
49
+ }
50
+ }
51
+ } else {
52
+ $response = array('ACK(' => 'FAILURE', 'MESSAGE' => 'Validation failed. Please Check Your Putler Email Address And API Token');
53
+ }
54
  } else {
55
  $response = array('ACK(' => 'FAILURE', 'MESSAGE' => 'Your Putler Email Address And API Token Should Not Be Blank');
56
  }
{code/local/Putler/PutlerConnector/scripts → app/code/local/Putler/PutlerConnector/etc}/.DS_Store RENAMED
File without changes
{code → app/code}/local/Putler/PutlerConnector/etc/adminhtml.xml RENAMED
File without changes
{code → app/code}/local/Putler/PutlerConnector/etc/config.xml RENAMED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Putler_PutlerConnector>
5
- <version>1.0</version>
6
  </Putler_PutlerConnector>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Putler_PutlerConnector>
5
+ <version>1.0.1</version>
6
  </Putler_PutlerConnector>
7
  </modules>
8
  <global>
{code → app/code}/local/Putler/PutlerConnector/etc/system.xml RENAMED
File without changes
{code/local/Putler/PutlerConnector/sql → app/code/local/Putler/PutlerConnector/scripts}/.DS_Store RENAMED
File without changes
{etc/modules → app/code/local/Putler/PutlerConnector/sql}/.DS_Store RENAMED
File without changes
{design/adminhtml/default/default/template → app/design/adminhtml/default/default/template/putler_putlerconnector}/.DS_Store RENAMED
Binary file
app/design/adminhtml/default/default/template/putler_putlerconnector/system/.DS_Store ADDED
Binary file
{design → app/design}/adminhtml/default/default/template/putler_putlerconnector/system/config/button.phtml RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Atwix
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -12,12 +12,11 @@
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
- * @category Atwix Mod
16
- * @package Atwix_Tweaks
17
- * @author Atwix Core Team
18
- * @copyright Copyright (c) 2012 Atwix (http://www.atwix.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- * @var $this Atwix_Tweaks_Block_Adminhtml_System_Config_Form_Button
21
  */
22
  ?>
23
 
1
  <?php
2
  /**
3
+ * PutlerConnector
4
  *
5
  * NOTICE OF LICENSE
6
  *
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
+ * @category Putler Mod
16
+ * @package Putler_PutlerConnector
17
+ * @author Putler Core Team
18
+ * @copyright Copyright (c) 2012 Atwix (http://www.putler.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 
20
  */
21
  ?>
22
 
{etc → app/etc}/modules/Putler_PutlerConnector.xml RENAMED
File without changes
code/.DS_Store DELETED
Binary file
code/._.DS_Store DELETED
Binary file
code/local/.DS_Store DELETED
Binary file
code/local/._.DS_Store DELETED
Binary file
code/local/._Putler DELETED
Binary file
code/local/Putler/.DS_Store DELETED
Binary file
code/local/Putler/._.DS_Store DELETED
Binary file
code/local/Putler/._PutlerConnector DELETED
Binary file
code/local/Putler/PutlerConnector/._.DS_Store DELETED
Binary file
code/local/Putler/PutlerConnector/._Block DELETED
Binary file
code/local/Putler/PutlerConnector/._Helper DELETED
Binary file
code/local/Putler/PutlerConnector/._Model DELETED
Binary file
code/local/Putler/PutlerConnector/._controllers DELETED
Binary file
code/local/Putler/PutlerConnector/._etc DELETED
Binary file
code/local/Putler/PutlerConnector/._scripts DELETED
Binary file
code/local/Putler/PutlerConnector/._sql DELETED
Binary file
code/local/Putler/PutlerConnector/Block/._.DS_Store DELETED
Binary file
code/local/Putler/PutlerConnector/Helper/._.DS_Store DELETED
Binary file
code/local/Putler/PutlerConnector/Model/._.DS_Store DELETED
Binary file
code/local/Putler/PutlerConnector/Model/Observer.php DELETED
@@ -1,40 +0,0 @@
1
- <?php
2
-
3
-
4
- class Putler_PutlerConnector_Model_Observer {
5
-
6
- /**
7
- * Subscribw the user, during checkout.
8
- *
9
- * @return void
10
- */
11
- public function postOrderDataToPutler($observer)
12
- {
13
-
14
- $order = $observer->getOrder();
15
- if($order->getState() == Mage_Sales_Model_Order::STATE_COMPLETE){
16
-
17
- $email = Mage::getStoreConfig('putlersettings/general/putler_email');
18
- $api_token = Mage::getStoreConfig('putlersettings/general/putler_api_token');
19
-
20
- if($email != '' && $api_token != '') {
21
- $putler_connector = Mage::getModel ( 'putler_putlerconnector/PutlerConnector');
22
- $result = $putler_connector->validateApiInfo ($email, $api_token);
23
- if ($result) {
24
-
25
- $order = $observer->getEvent ()->getOrder ();
26
- $orders_data = $putler_connector->preapreOrdersTosend ( array($order) );
27
- $result = $putler_connector->postOrdersToPutler ( $orders_data );
28
- if ($result) {
29
- Mage::log( 'Data have been sent successfully to putler' );
30
- }
31
- } else {
32
- Mage::log( 'Error while sending data to putler' );
33
- }
34
- } else {
35
- Mage::log( 'Putler email and api token are blank' );
36
- }
37
- }
38
- }
39
-
40
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
code/local/Putler/PutlerConnector/controllers/.DS_Store DELETED
Binary file
code/local/Putler/PutlerConnector/controllers/._.DS_Store DELETED
Binary file
code/local/Putler/PutlerConnector/controllers/._Adminhtml DELETED
Binary file
code/local/Putler/PutlerConnector/controllers/Adminhtml/._.DS_Store DELETED
Binary file
code/local/Putler/PutlerConnector/etc/._.DS_Store DELETED
Binary file
code/local/Putler/PutlerConnector/etc/._config.xml DELETED
Binary file
code/local/Putler/PutlerConnector/scripts/._.DS_Store DELETED
Binary file
code/local/Putler/PutlerConnector/sql/._.DS_Store DELETED
Binary file
design/.DS_Store DELETED
Binary file
design/._.DS_Store DELETED
Binary file
design/adminhtml/.DS_Store DELETED
Binary file
design/adminhtml/._.DS_Store DELETED
Binary file
design/adminhtml/default/.DS_Store DELETED
Binary file
design/adminhtml/default/._.DS_Store DELETED
Binary file
design/adminhtml/default/default/.DS_Store DELETED
Binary file
design/adminhtml/default/default/._.DS_Store DELETED
Binary file
design/adminhtml/default/default/template/._.DS_Store DELETED
Binary file
design/adminhtml/default/default/template/putler_putlerconnector/.DS_Store DELETED
Binary file
design/adminhtml/default/default/template/putler_putlerconnector/system/.DS_Store DELETED
Binary file
etc/.DS_Store DELETED
Binary file
etc/._.DS_Store DELETED
Binary file
etc/modules/._.DS_Store DELETED
Binary file
etc/modules/._Putler_PutlerConnector.xml DELETED
Binary file
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>PutlerConnector</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license>osl</license>
7
  <channel>community</channel>
@@ -38,11 +38,11 @@ Where to find your Putler API Token?&#xD;
38
  Add a new account - select "Putler Inbound API" as the account type&#xD;
39
  Note down the API Token and copy the same API Token in Putler Connector Settings&#xD;
40
  </description>
41
- <notes>This is an initial version of a Magento Putler Connector which will send Magento orders data to Putler and you will get insightful statistics about your store and business</notes>
42
  <authors><author><name>Nirav Mehta</name><user>putler</user><email>support@putler.com</email></author></authors>
43
- <date>2014-03-12</date>
44
- <time>10:26:55</time>
45
- <contents></contents>
46
  <compatible/>
47
  <dependencies><required><php><min>5.2.0</min><max>5.5.0</max></php></required></dependencies>
48
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>PutlerConnector</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>osl</license>
7
  <channel>community</channel>
38
  Add a new account - select "Putler Inbound API" as the account type&#xD;
39
  Note down the API Token and copy the same API Token in Putler Connector Settings&#xD;
40
  </description>
41
+ <notes>+ Enhancements</notes>
42
  <authors><author><name>Nirav Mehta</name><user>putler</user><email>support@putler.com</email></author></authors>
43
+ <date>2014-07-10</date>
44
+ <time>04:53:06</time>
45
+ <contents><target name="magelocal"><dir name="Putler"><dir name="PutlerConnector"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="4be787b698b2524f735de771198aa119"/></dir><file name=".DS_Store" hash="12352d4bf027b0f895185d80df00d8aa"/></dir><file name=".DS_Store" hash="60d450ab59b771a3c283579b2d35d28e"/></dir><file name=".DS_Store" hash="13c47c0f5dc265d0c60feb18896f270c"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Model"><file name="Observer.php" hash="e6586aa9931937920604565aae0830b1"/><file name="PutlerConnector.php" hash="33c1d8cc4888d4722963f8aef615c9d2"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PutlerConnectorController.php" hash="792e43f7a601f1b5b693ea4bfe46ca29"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="0047fe0bc161a58c6088a4e959de43a4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="43c403406676afe70231750660bb5fb4"/><file name="config.xml" hash="669b1303f0874b45058f29bb8d7d9101"/><file name="system.xml" hash="39907a7a442345e2bbc2775fb5e99077"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="scripts"><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="sql"><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="726d0f27067fbd9df6492684f4a27ff6"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="putler_putlerconnector"><dir name="system"><dir name="config"><file name="button.phtml" hash="ac28255b9d01c6f380df0d982aecd545"/></dir><file name=".DS_Store" hash="37607b846a8ce1ce7668699b04135e41"/></dir><file name=".DS_Store" hash="0f4979a05bd6f9fdc0531d82eb227fc9"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Putler_PutlerConnector.xml" hash="88ee2dbb5952ec807324afda8d3df677"/></dir></target></contents>
46
  <compatible/>
47
  <dependencies><required><php><min>5.2.0</min><max>5.5.0</max></php></required></dependencies>
48
  </package>