Version Notes
Fixing missed quotes on tax code.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Craig_Tco |
Version | 2.1.5 |
Comparing to | |
See all releases |
Code changes from version 2.1.4 to 2.1.5
app/code/local/Craig/Tco/Model/Checkout.php
CHANGED
@@ -115,7 +115,7 @@ class Craig_Tco_Model_Checkout extends Mage_Payment_Model_Method_Abstract {
|
|
115 |
if ($taxFull) {
|
116 |
foreach($taxFull as $rate){
|
117 |
$lineitems['li_'.$i.'_type'] = 'tax';
|
118 |
-
$lineitems['li_'.$i.'_name'] = $rate['rates']['0'][code];
|
119 |
$lineitems['li_'.$i.'_price'] = round($rate['amount'], 2);
|
120 |
$i++;
|
121 |
}
|
@@ -146,7 +146,7 @@ class Craig_Tco_Model_Checkout extends Mage_Payment_Model_Method_Abstract {
|
|
146 |
if ($taxFull) {
|
147 |
$i = 1;
|
148 |
foreach($taxFull as $rate){
|
149 |
-
$taxes['tax_id_'.$i] = $rate['rates']['0'][code];
|
150 |
$taxes['tax_amount_'.$i] = round($rate['amount'], 2);
|
151 |
$i++;
|
152 |
}
|
115 |
if ($taxFull) {
|
116 |
foreach($taxFull as $rate){
|
117 |
$lineitems['li_'.$i.'_type'] = 'tax';
|
118 |
+
$lineitems['li_'.$i.'_name'] = $rate['rates']['0']['code'];
|
119 |
$lineitems['li_'.$i.'_price'] = round($rate['amount'], 2);
|
120 |
$i++;
|
121 |
}
|
146 |
if ($taxFull) {
|
147 |
$i = 1;
|
148 |
foreach($taxFull as $rate){
|
149 |
+
$taxes['tax_id_'.$i] = $rate['rates']['0']['code'];
|
150 |
$taxes['tax_amount_'.$i] = round($rate['amount'], 2);
|
151 |
$i++;
|
152 |
}
|
app/code/local/Craig/Tco/etc/config.xml
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Craig_Tco>
|
27 |
-
<version>2.1.
|
28 |
</Craig_Tco>
|
29 |
</modules>
|
30 |
<global>
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Craig_Tco>
|
27 |
+
<version>2.1.5</version>
|
28 |
</Craig_Tco>
|
29 |
</modules>
|
30 |
<global>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Craig_Tco</name>
|
4 |
-
<version>2.1.
|
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>Official 2Checkout Payment Extension</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Craig Christenson</name><user>auto-converted</user><email>christensoncraig@gmail.com</email></author></authors>
|
13 |
-
<date>2012-
|
14 |
-
<time>16:
|
15 |
-
<contents><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><target name="magelocal"><dir name="Craig"><dir name="Tco"><dir name="Block"><file name="Form.php" hash="b552018543f57090c42784d939004dd4"/><file name="Info.php" hash="ceb4ec03e4de3e4f1dafaf5d7da9b982"/><file name="Redirect.php" hash="e2809d56d51bdc74367dad8da77ac563"/></dir><dir name="controllers"><file name="NotificationController.php" hash="2bbb8caf512b8bcdea2855842a56539b"/><file name="RedirectController.php" hash="197de0df037cf5ae45531ef735abfed1"/></dir><dir name="etc"><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Craig_Tco</name>
|
4 |
+
<version>2.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</summary>
|
10 |
<description>Official 2Checkout Payment Extension</description>
|
11 |
+
<notes>Fixing missed quotes on tax code.</notes>
|
12 |
<authors><author><name>Craig Christenson</name><user>auto-converted</user><email>christensoncraig@gmail.com</email></author></authors>
|
13 |
+
<date>2012-08-11</date>
|
14 |
+
<time>16:03:47</time>
|
15 |
+
<contents><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><target name="magelocal"><dir name="Craig"><dir name="Tco"><dir name="Block"><file name="Form.php" hash="b552018543f57090c42784d939004dd4"/><file name="Info.php" hash="ceb4ec03e4de3e4f1dafaf5d7da9b982"/><file name="Redirect.php" hash="e2809d56d51bdc74367dad8da77ac563"/></dir><dir name="controllers"><file name="NotificationController.php" hash="2bbb8caf512b8bcdea2855842a56539b"/><file name="RedirectController.php" hash="197de0df037cf5ae45531ef735abfed1"/></dir><dir name="etc"><file name="config.xml" hash="8c68697c37fed191879b8e4eac4d672d"/><file name="system.xml" hash="4bf8199f530281ba446d9c943fcb6932"/></dir><dir name="Helper"><file name="Data.php" hash="de7680011db7d6821c1f68d70a8fa684"/></dir><dir name="Model"><file name="Checkout.php" hash="f31f811cccdcb8da39b5628a9cf3c008"/><file name="Observer.php" hash="727312c017289346a6c9a4aedb5fcc4f"/></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|