Craig_Tco - Version 1.1.8

Version Notes

Update to correct template issue

Download this release

Release Info

Developer Craig Christenson
Extension Craig_Tco
Version 1.1.8
Comparing to
See all releases


Code changes from version 1.1.5 to 1.1.8

app/code/local/Craig/Tco/etc/config.xml CHANGED
@@ -1,95 +1,95 @@
1
- <?xml version="1.0"?>
2
-
3
- <!--
4
- /*
5
- * Magento
6
- *
7
- * NOTICE OF LICENSE
8
- *
9
- * This source file is subject to the Open Software License (OSL 3.0)
10
- * that is bundled with this package in the file LICENSE.txt.
11
- * It is also available through the world-wide-web at this URL:
12
- * http://opensource.org/licenses/osl-3.0.php
13
- * If you did not receive a copy of the license and are unable to
14
- * obtain it through the world-wide-web, please send an email
15
- * to license@magentocommerce.com so we can send you a copy immediately.
16
- *
17
- * @category Craig Christenson
18
- * @package Tco (2Checkout.com)
19
- * @copyright Copyright (c) 2010 Craig Christenson
20
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
21
- */
22
- -->
23
-
24
- <config>
25
- <modules>
26
- <Craig_Tco>
27
- <version>1.1.5</version>
28
- </Craig_Tco>
29
- </modules>
30
- <global>
31
- <models>
32
- <tco>
33
- <class>Craig_Tco_Model</class>
34
- </tco>
35
- </models>
36
- <helpers>
37
- <tco>
38
- <class>Craig_Tco_Helper</class>
39
- </tco>
40
- </helpers>
41
- <blocks>
42
- <tco>
43
- <class>Craig_Tco_Block</class>
44
- </tco>
45
- </blocks>
46
- <resources>
47
- <tco_setup>
48
- <setup>
49
- <module>Craig_Tco</module>
50
- </setup>
51
- <connection>
52
- <use>directory_setup</use>
53
- </connection>
54
- </tco_setup>
55
- <tco_write>
56
- <connection>
57
- <use>local_write</use>
58
- </connection>
59
- </tco_write>
60
- <tco_read>
61
- <connection>
62
- <use>local_read</use>
63
- </connection>
64
- </tco_read>
65
- </resources>
66
- </global>
67
- <frontend>
68
- <routers>
69
- <tco>
70
- <use>standard</use>
71
- <args>
72
- <module>Craig_Tco</module>
73
- <frontName>tco</frontName>
74
- </args>
75
- </tco>
76
- </routers>
77
- <secure_url>
78
- <tco_redirect>/tco/redirect/</tco_redirect>
79
- </secure_url>
80
- </frontend>
81
- <default>
82
- <payment>
83
- <tco>
84
- <active>1</active>
85
- <submit_url>https://www.2checkout.com/checkout/purchase</submit_url>
86
- <model>tco/checkout</model>
87
- <title>2Checkout (Visa, MasterCard, Amex, Discover, JCB, Diners Club, Debit Card, PayPal)</title>
88
- <sid>Enter USD 2Checkout Account Number</sid>
89
- <secret_word>Enter your Secret Word</secret_word>
90
- <demo>0</demo>
91
- <sort_order>1</sort_order>
92
- </tco>
93
- </payment>
94
- </default>
95
- </config>
1
+ <?xml version="1.0"?>
2
+
3
+ <!--
4
+ /*
5
+ * Magento
6
+ *
7
+ * NOTICE OF LICENSE
8
+ *
9
+ * This source file is subject to the Open Software License (OSL 3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * If you did not receive a copy of the license and are unable to
14
+ * obtain it through the world-wide-web, please send an email
15
+ * to license@magentocommerce.com so we can send you a copy immediately.
16
+ *
17
+ * @category Craig Christenson
18
+ * @package Tco (2Checkout.com)
19
+ * @copyright Copyright (c) 2010 Craig Christenson
20
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
21
+ */
22
+ -->
23
+
24
+ <config>
25
+ <modules>
26
+ <Craig_Tco>
27
+ <version>1.1.8</version>
28
+ </Craig_Tco>
29
+ </modules>
30
+ <global>
31
+ <models>
32
+ <tco>
33
+ <class>Craig_Tco_Model</class>
34
+ </tco>
35
+ </models>
36
+ <helpers>
37
+ <tco>
38
+ <class>Craig_Tco_Helper</class>
39
+ </tco>
40
+ </helpers>
41
+ <blocks>
42
+ <tco>
43
+ <class>Craig_Tco_Block</class>
44
+ </tco>
45
+ </blocks>
46
+ <resources>
47
+ <tco_setup>
48
+ <setup>
49
+ <module>Craig_Tco</module>
50
+ </setup>
51
+ <connection>
52
+ <use>directory_setup</use>
53
+ </connection>
54
+ </tco_setup>
55
+ <tco_write>
56
+ <connection>
57
+ <use>local_write</use>
58
+ </connection>
59
+ </tco_write>
60
+ <tco_read>
61
+ <connection>
62
+ <use>local_read</use>
63
+ </connection>
64
+ </tco_read>
65
+ </resources>
66
+ </global>
67
+ <frontend>
68
+ <routers>
69
+ <tco>
70
+ <use>standard</use>
71
+ <args>
72
+ <module>Craig_Tco</module>
73
+ <frontName>tco</frontName>
74
+ </args>
75
+ </tco>
76
+ </routers>
77
+ <secure_url>
78
+ <tco_redirect>/tco/redirect/</tco_redirect>
79
+ </secure_url>
80
+ </frontend>
81
+ <default>
82
+ <payment>
83
+ <tco>
84
+ <active>1</active>
85
+ <submit_url>https://www.2checkout.com/checkout/purchase</submit_url>
86
+ <model>tco/checkout</model>
87
+ <title>2Checkout (Visa, MasterCard, Amex, Discover, JCB, Diners Club, Debit Card, PayPal)</title>
88
+ <sid>Enter USD 2Checkout Account Number</sid>
89
+ <secret_word>Enter your Secret Word</secret_word>
90
+ <demo>0</demo>
91
+ <sort_order>1</sort_order>
92
+ </tco>
93
+ </payment>
94
+ </default>
95
+ </config>
app/design/frontend/base/default/template/tco/form.phtml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * @category Craig Christenson
17
+ * @package Tco (2Checkout.com)
18
+ * @copyright Copyright (c) 2010 Craig Christenson
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ echo $this->__('You will be redirected to 2Checkout to complete your order.')
23
+ ?>
app/design/frontend/base/default/template/tco/info.phtml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * @category Craig Christenson
17
+ * @package Tco (2Checkout.com)
18
+ * @copyright Copyright (c) 2010 Craig Christenson
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ echo $this->__('2Checkout (Credit Card, Debit Card, PayPal)');
23
+ ?>
24
+
25
+
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Craig_Tco</name>
4
- <version>1.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>2Checkout Payment Extension - Maintained by 2Checkout</summary>
10
- <description>2Checkout Payment Extension - Maintained by 2Checkout</description>
11
- <notes>Fixed Redirect Blank Page in 1.5</notes>
12
  <authors><author><name>Craig Christenson</name><user>undeadzed</user><email>christensoncraig@gmail.com</email></author></authors>
13
- <date>2011-03-10</date>
14
- <time>02:43:56</time>
15
- <contents><target name="magelocal"><dir name="Craig"><dir name="Tco"><dir name="Block"><file name="Form.php" hash="b552018543f57090c42784d939004dd4"/><file name="Info.php" hash="2e42f56143a93944240faa7dfca3e183"/><file name="Redirect.php" hash="d3766dbf0c0a206c8630cd1e8de4927f"/></dir><dir name="controllers"><file name="NotificationController.php" hash="1ca96f3dc5a4bfadc1c82dffe84ef887"/><file name="RedirectController.php" hash="c7bf19340a3f90c2f42b69a85d084a59"/></dir><dir name="etc"><file name="config.xml" hash="7c23d271ab0ec2f836c0cb203caf3029"/><file name="system.xml" hash="d76189971008c4ba88e7a45864b7d60c"/></dir><dir name="Helper"><file name="Data.php" hash="de7680011db7d6821c1f68d70a8fa684"/></dir><dir name="Model"><file name="Checkout.php" hash="e80f72724a3d2e4cfc2a17d56af79963"/></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tco"><file name="form.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="info.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Craig_Tco.xml" hash="4a6e92678d9b2a310af880d35a4c355f"/></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name></name><channel>connect.magentocommerce.com/core</channel><min></min><max></max></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Craig_Tco</name>
4
+ <version>1.1.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>2Checkout Payment Extension</summary>
10
+ <description>2Checkout Payment Extension</description>
11
+ <notes>Update to correct template issue</notes>
12
  <authors><author><name>Craig Christenson</name><user>undeadzed</user><email>christensoncraig@gmail.com</email></author></authors>
13
+ <date>2011-03-22</date>
14
+ <time>14:24:46</time>
15
+ <contents><target name="magelocal"><dir name="Craig"><dir name="Tco"><dir name="Block"><file name="Form.php" hash="b552018543f57090c42784d939004dd4"/><file name="Info.php" hash="2e42f56143a93944240faa7dfca3e183"/><file name="Redirect.php" hash="d3766dbf0c0a206c8630cd1e8de4927f"/></dir><dir name="controllers"><file name="NotificationController.php" hash="1ca96f3dc5a4bfadc1c82dffe84ef887"/><file name="RedirectController.php" hash="c7bf19340a3f90c2f42b69a85d084a59"/></dir><dir name="etc"><file name="config.xml" hash="de77bd22e6c8a0aa461316eef0494de2"/><file name="system.xml" hash="d76189971008c4ba88e7a45864b7d60c"/></dir><dir name="Helper"><file name="Data.php" hash="de7680011db7d6821c1f68d70a8fa684"/></dir><dir name="Model"><file name="Checkout.php" hash="e80f72724a3d2e4cfc2a17d56af79963"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Craig_Tco.xml" hash="4a6e92678d9b2a310af880d35a4c355f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tco"><file name="form.phtml" hash="08ae585e158550d0a5dccbed3d37758d"/><file name="info.phtml" hash="b714a7398773adc71ea086024dfc96b1"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>