Version Notes
Fixed issue where cart transfer url is not getting read from settings.
Download this release
Release Info
Developer | Oyvind Henriksen |
Extension | Poq_Integration |
Version | 2.0.0.3.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.0.3.3 to 2.0.0.3.4
- app/code/community/Poq/Integration/controllers/.DS_Store +0 -0
- app/code/community/Poq/Integration/controllers/IndexController.php +7 -4
- app/code/community/Poq/Integration/etc/.DS_Store +0 -0
- app/code/community/Poq/Integration/etc/config.xml +2 -2
- app/etc/modules/Poq_Integration.xml +19 -19
- package.xml +5 -5
app/code/community/Poq/Integration/controllers/.DS_Store
CHANGED
Binary file
|
app/code/community/Poq/Integration/controllers/IndexController.php
CHANGED
@@ -728,14 +728,15 @@ class Poq_Integration_IndexController extends Mage_Core_Controller_Front_Action
|
|
728 |
public function cartAction()
|
729 |
{
|
730 |
|
|
|
731 |
//Configuration values
|
732 |
-
$next_url =
|
733 |
$require_https = false; //SSL-encrypted requests cannot be read by anyone else, and will not be stored in history etc.
|
734 |
$require_signed_request = false; //If enabled, will require the request to be signed, we can verify that the URL has not been tampered with.
|
735 |
$signed_request_secret = ''; //Get this configuration value from Poq Studio
|
736 |
$limit_referer = false; //Enable this to require the request to come from our trusted source. Also makes it difficult to URL hack and investigate
|
737 |
$safe_referer_list = array("poqstudio.com", "cloudapp.net"); //add mobile website domains here, leave cloudapp.net and poqstudio.com.
|
738 |
-
$tracking_code = "utm_source=mobile&utm_campaign=poq"; //If set, will be added to the checkout page URL.
|
739 |
//End of configuration values
|
740 |
|
741 |
header("Pragma: no-cache");
|
@@ -921,8 +922,10 @@ class Poq_Integration_IndexController extends Mage_Core_Controller_Front_Action
|
|
921 |
}
|
922 |
|
923 |
//Redirect to checkout page.
|
924 |
-
|
925 |
-
die(); //stop execution of further scripts
|
|
|
|
|
926 |
}
|
927 |
|
928 |
}
|
728 |
public function cartAction()
|
729 |
{
|
730 |
|
731 |
+
$settings = Mage::helper('poq_integration')->getSettings();
|
732 |
//Configuration values
|
733 |
+
$next_url = $settings->checkout_url; //After the product are added, redirect to this url.
|
734 |
$require_https = false; //SSL-encrypted requests cannot be read by anyone else, and will not be stored in history etc.
|
735 |
$require_signed_request = false; //If enabled, will require the request to be signed, we can verify that the URL has not been tampered with.
|
736 |
$signed_request_secret = ''; //Get this configuration value from Poq Studio
|
737 |
$limit_referer = false; //Enable this to require the request to come from our trusted source. Also makes it difficult to URL hack and investigate
|
738 |
$safe_referer_list = array("poqstudio.com", "cloudapp.net"); //add mobile website domains here, leave cloudapp.net and poqstudio.com.
|
739 |
+
$tracking_code = $settings->tracking_code;//"utm_source=mobile&utm_campaign=poq"; //If set, will be added to the checkout page URL.
|
740 |
//End of configuration values
|
741 |
|
742 |
header("Pragma: no-cache");
|
922 |
}
|
923 |
|
924 |
//Redirect to checkout page.
|
925 |
+
/* header("Location: " . $next_url);
|
926 |
+
die(); //stop execution of further scripts.*/
|
927 |
+
|
928 |
+
$this->_redirectUrl($next_url);
|
929 |
}
|
930 |
|
931 |
}
|
app/code/community/Poq/Integration/etc/.DS_Store
CHANGED
Binary file
|
app/code/community/Poq/Integration/etc/config.xml
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
<config>
|
10 |
<modules>
|
11 |
<Poq_Integration>
|
12 |
-
<version>2.0.0.3.
|
13 |
</Poq_Integration>
|
14 |
</modules>
|
15 |
<global>
|
@@ -41,7 +41,7 @@
|
|
41 |
<integration_checkout_requiresignedrequest_select>0</integration_checkout_requiresignedrequest_select>
|
42 |
<integration_checkout_limitreferrrer_select>0</integration_checkout_limitreferrrer_select>
|
43 |
<integration_checkout_safereferrerlist_input></integration_checkout_safereferrerlist_input>
|
44 |
-
<integration_checkout_trackingcode_input><![CDATA[
|
45 |
<integration_checkout_sendorderemail_input>0</integration_checkout_sendorderemail_input>
|
46 |
</integration_checkout_group>
|
47 |
</integration>
|
9 |
<config>
|
10 |
<modules>
|
11 |
<Poq_Integration>
|
12 |
+
<version>2.0.0.3.4</version>
|
13 |
</Poq_Integration>
|
14 |
</modules>
|
15 |
<global>
|
41 |
<integration_checkout_requiresignedrequest_select>0</integration_checkout_requiresignedrequest_select>
|
42 |
<integration_checkout_limitreferrrer_select>0</integration_checkout_limitreferrrer_select>
|
43 |
<integration_checkout_safereferrerlist_input></integration_checkout_safereferrerlist_input>
|
44 |
+
<integration_checkout_trackingcode_input><![CDATA[utm_source=mobile&utm_campaign=poq]]></integration_checkout_trackingcode_input>
|
45 |
<integration_checkout_sendorderemail_input>0</integration_checkout_sendorderemail_input>
|
46 |
</integration_checkout_group>
|
47 |
</integration>
|
app/etc/modules/Poq_Integration.xml
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Module initial config
|
5 |
-
*
|
6 |
-
* @author Poq Studio
|
7 |
-
*/
|
8 |
-
-->
|
9 |
-
<config>
|
10 |
-
<modules>
|
11 |
-
<Poq_Integration>
|
12 |
-
<active>true</active>
|
13 |
-
<codePool>community</codePool>
|
14 |
-
<depends>
|
15 |
-
<Mage_Adminhtml />
|
16 |
-
</depends>
|
17 |
-
</Poq_Integration>
|
18 |
-
</modules>
|
19 |
-
</config>
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Module initial config
|
5 |
+
*
|
6 |
+
* @author Poq Studio
|
7 |
+
*/
|
8 |
+
-->
|
9 |
+
<config>
|
10 |
+
<modules>
|
11 |
+
<Poq_Integration>
|
12 |
+
<active>true</active>
|
13 |
+
<codePool>community</codePool>
|
14 |
+
<depends>
|
15 |
+
<Mage_Adminhtml />
|
16 |
+
</depends>
|
17 |
+
</Poq_Integration>
|
18 |
+
</modules>
|
19 |
+
</config>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Poq_Integration</name>
|
4 |
-
<version>2.0.0.3.
|
5 |
<stability>stable</stability>
|
6 |
<license>ASL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This integration forms a connection between the Magento and Poq Studio platforms.</summary>
|
10 |
<description>The extension has two main features: Exposing your catalogue information in the Poq Feed Format and Accepting a shopping cart transfer from the Poq Studio platform.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Oyvind Henriksen</name><user>poqmagento</user><email>info@poqstudio.com</email></author></authors>
|
13 |
-
<date>2015-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Poq"><dir name="Integration"><dir name="Helper"><file name="Data.php" hash="331a6fae0b9d92cf88716b934ef3e5c8"/><file name=".DS_Store" hash="437544c43163b0c119f0d54b3165090c"/></dir><dir name="controllers"><file name="IndexController.php" hash="
|
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>Poq_Integration</name>
|
4 |
+
<version>2.0.0.3.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>ASL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This integration forms a connection between the Magento and Poq Studio platforms.</summary>
|
10 |
<description>The extension has two main features: Exposing your catalogue information in the Poq Feed Format and Accepting a shopping cart transfer from the Poq Studio platform.</description>
|
11 |
+
<notes>Fixed issue where cart transfer url is not getting read from settings.</notes>
|
12 |
<authors><author><name>Oyvind Henriksen</name><user>poqmagento</user><email>info@poqstudio.com</email></author></authors>
|
13 |
+
<date>2015-02-20</date>
|
14 |
+
<time>15:58:42</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Poq"><dir name="Integration"><dir name="Helper"><file name="Data.php" hash="331a6fae0b9d92cf88716b934ef3e5c8"/><file name=".DS_Store" hash="437544c43163b0c119f0d54b3165090c"/></dir><dir name="controllers"><file name="IndexController.php" hash="b9a338cb05a27aedb2402f053235f663"/><file name="OrderController.php" hash="e9bd81665b14888f94d8035dee1c2a7a"/><file name=".DS_Store" hash="51d75e9a80090dc97fe2524633ab70a7"/></dir><dir name="etc"><file name="adminhtml.xml" hash="545b50fa7d354adb75a6bc27ff2ef41e"/><file name="config.xml" hash="48de857b9527437432069ac6324d3030"/><file name="system.xml" hash="c11516cad4666cf9be1523781e66aeb0"/><file name=".DS_Store" hash="b035f71d8e3b3edffc7a60cea7bb0491"/></dir><file name=".DS_Store" hash="edbbdc9cbdcde369d585980e7a279eac"/></dir><file name=".DS_Store" hash="16eb133391c4355b50681fccd76eee48"/></dir></target><target name="mageetc"><dir name="modules"><file name="Poq_Integration.xml" hash="2246f989b787cc18b78e04633b8fe9f3"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|