recapture - Version 1.1.4

Version Notes

Updated version to 1.1.4

Download this release

Release Info

Developer David Webber
Extension recapture
Version 1.1.4
Comparing to
See all releases


Code changes from version 1.1.3 to 1.1.4

app/code/local/Recapture/Connector/Block/Adminhtml/System/Config/Authenticate.php CHANGED
@@ -8,7 +8,7 @@ implements Varien_Data_Form_Element_Renderer_Interface {
8
 
9
  $data = array(
10
  'label' => Mage::helper('adminhtml')->__('Authenticate Account'),
11
- 'onclick' => 'setLocation(\''.Mage::helper('adminhtml')->getUrl("recapture_admin/authenticate", Mage::helper('recapture')->getScopeForUrl()) . '\' )',
12
  'class' => '',
13
  );
14
 
8
 
9
  $data = array(
10
  'label' => Mage::helper('adminhtml')->__('Authenticate Account'),
11
+ 'onclick' => 'setLocation(\''.Mage::helper('adminhtml')->getUrl("adminhtml/recaptureadmin_authenticate", Mage::helper('recapture')->getScopeForUrl()) . '\' )',
12
  'class' => '',
13
  );
14
 
app/code/local/Recapture/Connector/controllers/{Adminhtml → Recaptureadmin}/AuthenticateController.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class Recapture_Connector_Adminhtml_AuthenticateController extends Mage_Adminhtml_Controller_Action {
4
 
5
  public function indexAction(){
6
 
@@ -14,11 +14,11 @@ class Recapture_Connector_Adminhtml_AuthenticateController extends Mage_Adminhtm
14
 
15
  $scope = Mage::helper('recapture')->getScopeForUrl();
16
 
17
- $returnCancel = Mage::helper('adminhtml')->getUrl('recapture_admin/authenticate/cancel', $scope);
18
 
19
  $scope['response_key'] = 'API_KEY';
20
 
21
- $returnConfirm = Mage::helper('adminhtml')->getUrl('recapture_admin/authenticate/return', $scope);
22
  $recaptureUrl = Mage::getUrl('recapture/cart/index', array('hash' => 'CART_HASH', '_store' => Mage::helper('recapture')->getScopeStoreId()));
23
 
24
  $query = http_build_query(array(
@@ -27,7 +27,7 @@ class Recapture_Connector_Adminhtml_AuthenticateController extends Mage_Adminhtm
27
  'recapture' => $recaptureUrl
28
  ));
29
 
30
- $authenticateUrl = 'http://recapture.io/account/auth?' . $query;
31
  return $this->_redirectUrl($authenticateUrl);
32
 
33
  }
1
  <?php
2
 
3
+ class Recapture_Connector_Recaptureadmin_AuthenticateController extends Mage_Adminhtml_Controller_Action {
4
 
5
  public function indexAction(){
6
 
14
 
15
  $scope = Mage::helper('recapture')->getScopeForUrl();
16
 
17
+ $returnCancel = Mage::helper('adminhtml')->getUrl('adminhtml/recaptureadmin_authenticate/cancel', $scope);
18
 
19
  $scope['response_key'] = 'API_KEY';
20
 
21
+ $returnConfirm = Mage::helper('adminhtml')->getUrl('adminhtml/recaptureadmin_authenticate/return', $scope);
22
  $recaptureUrl = Mage::getUrl('recapture/cart/index', array('hash' => 'CART_HASH', '_store' => Mage::helper('recapture')->getScopeStoreId()));
23
 
24
  $query = http_build_query(array(
27
  'recapture' => $recaptureUrl
28
  ));
29
 
30
+ $authenticateUrl = 'https://recapture.io/account/auth?' . $query;
31
  return $this->_redirectUrl($authenticateUrl);
32
 
33
  }
app/code/local/Recapture/Connector/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Recapture_Connector>
5
- <version>1.1.3</version>
6
  </Recapture_Connector>
7
  </modules>
8
 
@@ -82,13 +82,13 @@
82
 
83
  <admin>
84
  <routers>
85
- <recapture_admin>
86
- <use>admin</use>
87
  <args>
88
- <module>Recapture_Connector_Adminhtml</module>
89
- <frontName>recapture_admin</frontName>
 
90
  </args>
91
- </recapture_admin>
92
  </routers>
93
  </admin>
94
 
2
  <config>
3
  <modules>
4
  <Recapture_Connector>
5
+ <version>1.1.4</version>
6
  </Recapture_Connector>
7
  </modules>
8
 
82
 
83
  <admin>
84
  <routers>
85
+ <adminhtml>
 
86
  <args>
87
+ <modules>
88
+ <recaptureadmin after="Mage_Adminhtml">Recapture_Connector</recaptureadmin>
89
+ </modules>
90
  </args>
91
+ </adminhtml>
92
  </routers>
93
  </admin>
94
 
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>recapture</name>
4
- <version>1.1.3</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Free analytics dashboard for abandoned carts. Set up automated cart recovery email campaigns in minutes.</summary>
10
  <description>Free analytics dashboard for abandoned carts. Set up automated cart recovery email campaigns in minutes.</description>
11
- <notes>Updated version to 1.1.3</notes>
12
- <authors><author><name>David Webber</name><user>Adstream</user><email>david@adstreaminc.com</email></author></authors>
13
- <date>2015-10-21</date>
14
- <time>20:06:07</time>
15
- <contents><target name="magelocal"><dir name="Recapture"><dir name="Connector"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Authenticate.php" hash="2433544256c447f96d1e4b4a823e724a"/><file name="Key.php" hash="adf516740c9e1a392fd7f81c4fb1927e"/><file name="Status.php" hash="f19858c8bb476b05e7e86cbdce403323"/></dir></dir></dir><file name="Client.php" hash="91f04f33fc71e6bbe006d15a49bb6bb2"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AuthenticateController.php" hash="0722003698fa2710d58d0d806840f543"/></dir><file name="CartController.php" hash="438f39a0c47b852e4e82c9b0505f3d80"/><file name="IndexController.php" hash="3b1bb4f397617f696ac89e688c4dc1ae"/><file name="RecaptureController.php" hash="987215ca928935afc9d4f9ce4fdf670c"/></dir><dir name="etc"><file name="config.xml" hash="81e0e7225ffddc37ca49d13439a55cb9"/><file name="system.xml" hash="d3b674132d8ebddc33eee9d6bb3c3c37"/></dir><dir name="Helper"><file name="Data.php" hash="a6f697a905323475b2b49c08318f596a"/><file name="Transport.php" hash="7bdbdbf7c3cee4841fe7ce42371f5951"/></dir><dir name="Model"><file name="Landing.php" hash="5a9ee53115f4caa835e3e381fd9ba937"/><file name="Observer.php" hash="ebb0d3e134cc115c4849384590b28b1e"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Recapture_Connector.xml" hash="e8fea9dc4237af6b34219c7f52bd02d8"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="recapture.xml" hash="5a91899f12df162c706b17db79fb7f72"/></dir><dir name="template"><dir name="recapture"><file name="client.phtml" hash="50b49c48d393cf2566ab42b561bcf277"/></dir></dir></dir></dir></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>recapture</name>
4
+ <version>1.1.4</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Free analytics dashboard for abandoned carts. Set up automated cart recovery email campaigns in minutes.</summary>
10
  <description>Free analytics dashboard for abandoned carts. Set up automated cart recovery email campaigns in minutes.</description>
11
+ <notes>Updated version to 1.1.4</notes>
12
+ <authors><author><name>David Webber</name><user>Recapture</user><email>hello@recapture.io</email></author></authors>
13
+ <date>2015-11-03</date>
14
+ <time>15:34:48</time>
15
+ <contents><target name="magelocal"><dir name="Recapture"><dir name="Connector"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Authenticate.php" hash="3452dbf00cdf4a87199eae62873a5706"/><file name="Key.php" hash="adf516740c9e1a392fd7f81c4fb1927e"/><file name="Status.php" hash="f19858c8bb476b05e7e86cbdce403323"/></dir></dir></dir><file name="Client.php" hash="91f04f33fc71e6bbe006d15a49bb6bb2"/></dir><dir name="controllers"><file name="CartController.php" hash="438f39a0c47b852e4e82c9b0505f3d80"/><file name="IndexController.php" hash="3b1bb4f397617f696ac89e688c4dc1ae"/><dir name="Recaptureadmin"><file name="AuthenticateController.php" hash="f49e6525739325f65da0b30e40d4ef5c"/></dir><file name="RecaptureController.php" hash="987215ca928935afc9d4f9ce4fdf670c"/></dir><dir name="etc"><file name="config.xml" hash="4ce370e463d7ad0444509a49d20a51ce"/><file name="system.xml" hash="d3b674132d8ebddc33eee9d6bb3c3c37"/></dir><dir name="Helper"><file name="Data.php" hash="a6f697a905323475b2b49c08318f596a"/><file name="Transport.php" hash="7bdbdbf7c3cee4841fe7ce42371f5951"/></dir><dir name="Model"><file name="Landing.php" hash="5a9ee53115f4caa835e3e381fd9ba937"/><file name="Observer.php" hash="ebb0d3e134cc115c4849384590b28b1e"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Recapture_Connector.xml" hash="e8fea9dc4237af6b34219c7f52bd02d8"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="recapture.xml" hash="5a91899f12df162c706b17db79fb7f72"/></dir><dir name="template"><dir name="recapture"><file name="client.phtml" hash="50b49c48d393cf2566ab42b561bcf277"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>