Taxjar_Salestaxautomation - Version 1.4.3

Version Notes

* Fix bug with rate renewal while processing cron job.

Download this release

Release Info

Developer TaxJar
Extension Taxjar_Salestaxautomation
Version 1.4.3
Comparing to
See all releases


Code changes from version 1.4.2 to 1.4.3

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.4.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.4.3';
38
  $phpMemory = @ini_get('memory_limit');
39
  $phpVersion = @phpversion();
40
  $magentoVersion = Mage::getVersion();
app/code/community/Taxjar/SalesTax/Model/Observer.php CHANGED
@@ -13,9 +13,9 @@ class Taxjar_SalesTax_Model_Observer {
13
  * @param Varien_Event_Observer $observer
14
  * @return void
15
  */
16
- public function execute( $observer ) {
17
  $session = Mage::getSingleton( 'adminhtml/session' );
18
- $storeId = Mage::getModel('core/store')->load( $observer->getEvent()->getStore() )->getStoreId();
19
  $apiKey = Mage::getStoreConfig('taxjar/config/apikey', $storeId);
20
  $apiKey = preg_replace( '/\s+/', '', $apiKey );
21
 
13
  * @param Varien_Event_Observer $observer
14
  * @return void
15
  */
16
+ public function execute( $observer ) {
17
  $session = Mage::getSingleton( 'adminhtml/session' );
18
+ $storeId = ( $observer->getEvent() ? Mage::getModel('core/store')->load( $observer->getEvent()->getStore() )->getStoreId() : Mage::app()->getDefaultStoreView()->getStoreId() );
19
  $apiKey = Mage::getStoreConfig('taxjar/config/apikey', $storeId);
20
  $apiKey = preg_replace( '/\s+/', '', $apiKey );
21
 
app/code/community/Taxjar/SalesTax/etc/config.xml CHANGED
@@ -6,7 +6,7 @@
6
  -->
7
  <config>
8
  <modules>
9
- <Taxjar_SalesTax><version>1.4.2</version></Taxjar_SalesTax>
10
  </modules>
11
  <global>
12
  <helpers>
6
  -->
7
  <config>
8
  <modules>
9
+ <Taxjar_SalesTax><version>1.4.3</version></Taxjar_SalesTax>
10
  </modules>
11
  <global>
12
  <helpers>
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Taxjar_Salestaxautomation</name>
4
- <version>1.4.2</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&#x2019;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>* Update API endpoints to use SmartCalcs v2.&#xD;
12
- * Clean up exception handling using Magento helper methods.</notes>
13
  <authors><author><name>TaxJar</name><user>taxjar</user><email>support@taxjar.com</email></author></authors>
14
- <date>2015-11-24</date>
15
- <time>22:25:08</time>
16
- <contents><target name="magecommunity"><dir name="Taxjar"><dir name="SalesTax"><dir name="Helper"><file name="Data.php" hash="ac18fc627650990eac98f5627ff51749"/></dir><dir name="Model"><file name="Calculation.php" hash="8ed668d8db488d7e48bef11434f09060"/><file name="Client.php" hash="c3677c1837c8f81739f709a746a5f475"/><file name="Comment.php" hash="d57814eb90d75a6929bdc648a31bb40d"/><file name="Configuration.php" hash="4cca6c1cd99a0feab9f359cdfddfb028"/><file name="Debug.php" hash="201787f4e6299ae21121d090c00f9588"/><file name="Observer.php" hash="c96e8ab8d03a00b70292fe0560cd0df3"/><file name="Rate.php" hash="1171640b851841ce6d325e21ce1b1601"/><file name="Rule.php" hash="0175c047a5d2052bb8ba21242981e9ac"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4ea028ad6b00688d99531597e8d3c404"/><file name="config.xml" hash="5089b3da33e0d33550eb90520731953e"/><file name="system.xml" hash="8dc55519eef0349d487f4039eabda164"/></dir></dir></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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Taxjar_Salestaxautomation</name>
4
+ <version>1.4.3</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&#x2019;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 bug with rate renewal while processing cron job.</notes>
 
12
  <authors><author><name>TaxJar</name><user>taxjar</user><email>support@taxjar.com</email></author></authors>
13
+ <date>2016-01-13</date>
14
+ <time>17:25:42</time>
15
+ <contents><target name="magecommunity"><dir name="Taxjar"><dir name="SalesTax"><dir name="Helper"><file name="Data.php" hash="ac18fc627650990eac98f5627ff51749"/></dir><dir name="Model"><file name="Calculation.php" hash="8ed668d8db488d7e48bef11434f09060"/><file name="Client.php" hash="c3677c1837c8f81739f709a746a5f475"/><file name="Comment.php" hash="d57814eb90d75a6929bdc648a31bb40d"/><file name="Configuration.php" hash="4cca6c1cd99a0feab9f359cdfddfb028"/><file name="Debug.php" hash="c0b4370f8f4638af8d6e6fd16f9906e3"/><file name="Observer.php" hash="3e2582b8381f84916d02b16ca4beaa84"/><file name="Rate.php" hash="1171640b851841ce6d325e21ce1b1601"/><file name="Rule.php" hash="0175c047a5d2052bb8ba21242981e9ac"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4ea028ad6b00688d99531597e8d3c404"/><file name="config.xml" hash="4acfab888ae366d85842c6f5d4f6bd6d"/><file name="system.xml" hash="8dc55519eef0349d487f4039eabda164"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Taxjar_SalesTax.xml" hash="60b211e28d8b9d4cc49d1dd746d4aa46"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>