Version Notes
* Fix 500 server error for stores running older versions of PHP (< 5.4).
Download this release
Release Info
| Developer | TaxJar |
| Extension | Taxjar_Salestaxautomation |
| Version | 1.5.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.5.0 to 1.5.1
app/code/community/Taxjar/SalesTax/Model/Debug.php
CHANGED
|
@@ -33,7 +33,7 @@ class Taxjar_SalesTax_Model_Debug {
|
|
| 33 |
$states = implode(',', unserialize(Mage::getStoreConfig('taxjar/config/states')));
|
| 34 |
$apiUser = Mage::getModel('api/user');
|
| 35 |
$existingUserId = $apiUser->load('taxjar', 'username')->getUserId();
|
| 36 |
-
$pluginVersion = '1.5.
|
| 37 |
$phpMemory = @ini_get('memory_limit');
|
| 38 |
$phpVersion = @phpversion();
|
| 39 |
$magentoVersion = Mage::getVersion();
|
| 33 |
$states = implode(',', unserialize(Mage::getStoreConfig('taxjar/config/states')));
|
| 34 |
$apiUser = Mage::getModel('api/user');
|
| 35 |
$existingUserId = $apiUser->load('taxjar', 'username')->getUserId();
|
| 36 |
+
$pluginVersion = '1.5.1';
|
| 37 |
$phpMemory = @ini_get('memory_limit');
|
| 38 |
$phpVersion = @phpversion();
|
| 39 |
$magentoVersion = Mage::getVersion();
|
app/code/community/Taxjar/SalesTax/Model/Rate.php
CHANGED
|
@@ -85,7 +85,7 @@ class Taxjar_SalesTax_Model_Rate
|
|
| 85 |
private function getRegionFilter()
|
| 86 |
{
|
| 87 |
$states = unserialize(Mage::getStoreConfig('taxjar/config/states'));
|
| 88 |
-
$filter =
|
| 89 |
|
| 90 |
foreach (array_unique($states) as $state) {
|
| 91 |
$regionId = Mage::getModel('directory/region')->loadByCode($state, 'US')->getId();
|
| 85 |
private function getRegionFilter()
|
| 86 |
{
|
| 87 |
$states = unserialize(Mage::getStoreConfig('taxjar/config/states'));
|
| 88 |
+
$filter = array();
|
| 89 |
|
| 90 |
foreach (array_unique($states) as $state) {
|
| 91 |
$regionId = Mage::getModel('directory/region')->loadByCode($state, 'US')->getId();
|
app/code/community/Taxjar/SalesTax/etc/config.xml
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
-->
|
| 7 |
<config>
|
| 8 |
<modules>
|
| 9 |
-
<Taxjar_SalesTax><version>1.5.
|
| 10 |
</modules>
|
| 11 |
<global>
|
| 12 |
<helpers>
|
| 6 |
-->
|
| 7 |
<config>
|
| 8 |
<modules>
|
| 9 |
+
<Taxjar_SalesTax><version>1.5.1</version></Taxjar_SalesTax>
|
| 10 |
</modules>
|
| 11 |
<global>
|
| 12 |
<helpers>
|
package.xml
CHANGED
|
@@ -1,20 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Taxjar_Salestaxautomation</name>
|
| 4 |
-
<version>1.5.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>MIT</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Easily collect sales tax without altering your Magento store’s checkout experience or performance.</summary>
|
| 10 |
<description>TaxJar for Magento allows you to install rates for multiple origin or destination-based states without affecting your store's checkout experience.</description>
|
| 11 |
-
<notes>*
|
| 12 |
-
* Rates imported from TaxJar are appended to the default rules for taxable goods and shipping.
|
| 13 |
-
* Codebase improved to more closely follow Magento standards.</notes>
|
| 14 |
<authors><author><name>TaxJar</name><user>taxjar</user><email>support@taxjar.com</email></author></authors>
|
| 15 |
-
<date>2016-02-
|
| 16 |
-
<time>18:
|
| 17 |
-
<contents><target name="magecommunity"><dir name="Taxjar"><dir name="SalesTax"><dir name="Helper"><file name="Data.php" hash="a7b646cb1956bcd5e7375a5de0694281"/></dir><dir name="Model"><file name="Calculation.php" hash="5a99c13b14811a3e621544f74ce8271d"/><file name="Client.php" hash="e5627a4fd74ceebd8b16ed4e5293212d"/><file name="Comment.php" hash="c2a8732728c391c9fbd5aa77eb3a89a3"/><file name="Configuration.php" hash="2bf053b0031587d910354ab52d72fa8c"/><file name="Debug.php" hash="
|
| 18 |
<compatible/>
|
| 19 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
| 20 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Taxjar_Salestaxautomation</name>
|
| 4 |
+
<version>1.5.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>MIT</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Easily collect sales tax without altering your Magento store’s checkout experience or performance.</summary>
|
| 10 |
<description>TaxJar for Magento allows you to install rates for multiple origin or destination-based states without affecting your store's checkout experience.</description>
|
| 11 |
+
<notes>* Fix 500 server error for stores running older versions of PHP (< 5.4).</notes>
|
|
|
|
|
|
|
| 12 |
<authors><author><name>TaxJar</name><user>taxjar</user><email>support@taxjar.com</email></author></authors>
|
| 13 |
+
<date>2016-02-11</date>
|
| 14 |
+
<time>18:22:53</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="Taxjar"><dir name="SalesTax"><dir name="Helper"><file name="Data.php" hash="a7b646cb1956bcd5e7375a5de0694281"/></dir><dir name="Model"><file name="Calculation.php" hash="5a99c13b14811a3e621544f74ce8271d"/><file name="Client.php" hash="e5627a4fd74ceebd8b16ed4e5293212d"/><file name="Comment.php" hash="c2a8732728c391c9fbd5aa77eb3a89a3"/><file name="Configuration.php" hash="2bf053b0031587d910354ab52d72fa8c"/><file name="Debug.php" hash="e546cd9819cc3324db9f17da2f500723"/><file name="Observer.php" hash="a7ee078445f16a8ce006953cbbb83b45"/><file name="Rate.php" hash="19ed81595406f70e0e49be45099ba114"/><file name="Rule.php" hash="cf583b79050e6941bdb4f6310cf2d385"/></dir><dir name="etc"><file name="adminhtml.xml" hash="9731dfa9d72fda332d244b5fc107d047"/><file name="config.xml" hash="3dcedc9f139f89ea81bc097001a8190e"/><file name="system.xml" hash="406ad8c2fc92abcdbed5b5e1d662b8b4"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Taxjar_SalesTax.xml" hash="afb27bfd2c9b05698b4c7bb0659f3432"/></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
