Version Notes
This release offers the following:
* New debug features
Download this release
Release Info
| Developer | TaxJar |
| Extension | Taxjar_Salestaxautomation |
| Version | 1.2.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.0 to 1.2.1
app/code/community/Taxjar/SalesTax/Model/Comment.php
CHANGED
|
@@ -18,9 +18,6 @@ class Taxjar_SalesTax_Model_Comment {
|
|
| 18 |
$regionCode = Mage::getModel('directory/region')->load( $regionId )->getCode();
|
| 19 |
$lastUpdate = Mage::getStoreConfig('taxjar/config/last_update');
|
| 20 |
|
| 21 |
-
// Plugin detect that state of nexus isn't in rates
|
| 22 |
-
// You should have at least X rates
|
| 23 |
-
|
| 24 |
if( ! empty( $lastUpdate ) ){
|
| 25 |
$states = unserialize( Mage::getStoreConfig('taxjar/config/states') );
|
| 26 |
$statesHtml = $this->buildStatesHtml( $states, $regionCode );
|
| 18 |
$regionCode = Mage::getModel('directory/region')->load( $regionId )->getCode();
|
| 19 |
$lastUpdate = Mage::getStoreConfig('taxjar/config/last_update');
|
| 20 |
|
|
|
|
|
|
|
|
|
|
| 21 |
if( ! empty( $lastUpdate ) ){
|
| 22 |
$states = unserialize( Mage::getStoreConfig('taxjar/config/states') );
|
| 23 |
$statesHtml = $this->buildStatesHtml( $states, $regionCode );
|
app/code/community/Taxjar/SalesTax/Model/Debug.php
CHANGED
|
@@ -34,7 +34,7 @@ class Taxjar_SalesTax_Model_Debug {
|
|
| 34 |
$states = implode( ',', unserialize( Mage::getStoreConfig('taxjar/config/states') ) );
|
| 35 |
$apiUser = Mage::getModel('api/user');
|
| 36 |
$existingUserId = $apiUser->load('taxjar', 'username')->getUserId();
|
| 37 |
-
$pluginVersion = '1.2.
|
| 38 |
$phpMemory = @ini_get('memory_limit');
|
| 39 |
$phpVersion = @phpversion();
|
| 40 |
$magentoVersion = Mage::getVersion();
|
| 34 |
$states = implode( ',', unserialize( Mage::getStoreConfig('taxjar/config/states') ) );
|
| 35 |
$apiUser = Mage::getModel('api/user');
|
| 36 |
$existingUserId = $apiUser->load('taxjar', 'username')->getUserId();
|
| 37 |
+
$pluginVersion = '1.2.1';
|
| 38 |
$phpMemory = @ini_get('memory_limit');
|
| 39 |
$phpVersion = @phpversion();
|
| 40 |
$magentoVersion = Mage::getVersion();
|
app/code/community/Taxjar/SalesTax/Model/Observer.php
CHANGED
|
@@ -155,11 +155,12 @@ class Taxjar_SalesTax_Model_Observer {
|
|
| 155 |
$existingRecords = Mage::getModel($path)->getCollection();
|
| 156 |
|
| 157 |
foreach( $existingRecords as $record ) {
|
|
|
|
| 158 |
try {
|
| 159 |
$record->delete();
|
| 160 |
}
|
| 161 |
catch (Exception $e) {
|
| 162 |
-
Mage::getSingleton('core/session')->addError("There was an error deleting from Magento model " . $path;
|
| 163 |
}
|
| 164 |
|
| 165 |
}
|
| 155 |
$existingRecords = Mage::getModel($path)->getCollection();
|
| 156 |
|
| 157 |
foreach( $existingRecords as $record ) {
|
| 158 |
+
|
| 159 |
try {
|
| 160 |
$record->delete();
|
| 161 |
}
|
| 162 |
catch (Exception $e) {
|
| 163 |
+
Mage::getSingleton('core/session')->addError("There was an error deleting from Magento model " . $path);
|
| 164 |
}
|
| 165 |
|
| 166 |
}
|
app/code/community/Taxjar/SalesTax/etc/config.xml
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
-->
|
| 7 |
<config>
|
| 8 |
<modules>
|
| 9 |
-
<Taxjar_SalesTax><version>1.2.
|
| 10 |
</modules>
|
| 11 |
<global>
|
| 12 |
<helpers>
|
| 6 |
-->
|
| 7 |
<config>
|
| 8 |
<modules>
|
| 9 |
+
<Taxjar_SalesTax><version>1.2.1</version></Taxjar_SalesTax>
|
| 10 |
</modules>
|
| 11 |
<global>
|
| 12 |
<helpers>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Taxjar_Salestaxautomation</name>
|
| 4 |
-
<version>1.2.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>MITL</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -9,11 +9,11 @@
|
|
| 9 |
<summary>Easily collect sales tax without altering your Magento store’s checkout experience or performance.</summary>
|
| 10 |
<description>Collect sales tax without changing your Magento Store’s checkout process. Sales Tax Automation by TaxJar is free to use for 30 days. If you choose to pay for TaxJar, pricing starts at $29.95/month. Pricing is based on the number of transactions your store does per month. We feature both monthly rates and annual plans that offer a 2-month discount if you prepay for the year.</description>
|
| 11 |
<notes>This release offers the following:
|
| 12 |
-
*
|
| 13 |
<authors><author><name>TaxJar</name><user>taxjar</user><email>support@taxjar.com</email></author></authors>
|
| 14 |
<date>2014-11-24</date>
|
| 15 |
-
<time>
|
| 16 |
-
<contents><target name="magecommunity"><dir name="Taxjar"><dir name="SalesTax"><dir name="Helper"><file name="Data.php" hash="565812e7d6927df4c91bfb69b79b1b09"/></dir><dir name="Model"><file name="Client.php" hash="6c3339bcc33670b0d41ded468b72e77b"/><file name="Comment.php" hash="
|
| 17 |
<compatible/>
|
| 18 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
| 19 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Taxjar_Salestaxautomation</name>
|
| 4 |
+
<version>1.2.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>MITL</license>
|
| 7 |
<channel>community</channel>
|
| 9 |
<summary>Easily collect sales tax without altering your Magento store’s checkout experience or performance.</summary>
|
| 10 |
<description>Collect sales tax without changing your Magento Store’s checkout process. Sales Tax Automation by TaxJar is free to use for 30 days. If you choose to pay for TaxJar, pricing starts at $29.95/month. Pricing is based on the number of transactions your store does per month. We feature both monthly rates and annual plans that offer a 2-month discount if you prepay for the year.</description>
|
| 11 |
<notes>This release offers the following:
|
| 12 |
+
* New debug features</notes>
|
| 13 |
<authors><author><name>TaxJar</name><user>taxjar</user><email>support@taxjar.com</email></author></authors>
|
| 14 |
<date>2014-11-24</date>
|
| 15 |
+
<time>21:10:19</time>
|
| 16 |
+
<contents><target name="magecommunity"><dir name="Taxjar"><dir name="SalesTax"><dir name="Helper"><file name="Data.php" hash="565812e7d6927df4c91bfb69b79b1b09"/></dir><dir name="Model"><file name="Client.php" hash="6c3339bcc33670b0d41ded468b72e77b"/><file name="Comment.php" hash="e636422b9cc1ac0f0bb6b3751dcc90c9"/><file name="Configuration.php" hash="1ed6e9467ac8c5ca6e906753071a9161"/><file name="Debug.php" hash="a1ccacaf8bdeff56c9c7b2dc8e9d75a9"/><file name="Observer.php" hash="bf9164b01519687bafae7d3d14aa6159"/><file name="Rate.php" hash="4f1f62e6696f10f34f58d7104936223d"/><file name="Rule.php" hash="ae33149080b3182e62b56607f7b30da4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4ea028ad6b00688d99531597e8d3c404"/><file name="config.xml" hash="76353205766abf269249f59e2f5b74ec"/><file name="system.xml" hash="8dc55519eef0349d487f4039eabda164"/></dir><file name=".DS_Store" hash="f291190ac228acaede15fefc49edb6e5"/></dir><file name=".DS_Store" hash="e385b6a995c1af38f899669fa136a12e"/></dir></target><target name="mageetc"><dir name="modules"><file name="Taxjar_SalesTax.xml" hash="60b211e28d8b9d4cc49d1dd746d4aa46"/></dir></target></contents>
|
| 17 |
<compatible/>
|
| 18 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
| 19 |
</package>
|
