taxjar / module-taxjar
TaxJar Sales Tax Module for Magento 2
Installs: 373 833
Dependents: 0
Suggesters: 0
Security: 0
Stars: 22
Watchers: 17
Forks: 30
Open Issues: 17
Type:magento2-module
Requires
- magento/framework: ^103.0.0
- dev-develop
- 2.2.0
- 2.1.0
- 2.0.0
- 1.9.9
- 1.9.8
- 1.9.7
- 1.9.6
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.0
- 1.7.1
- 1.7.0
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.8
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.10
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.2
- 0.5.1
- 0.5.0
- dev-353-Customer-repository-undefined-logger-regression
- dev-logging-configuration-di
- dev-341-order-grid-filter-error
- dev-XCON-190-refactor-deprecated-registry-usage
- dev-feature-updates
- dev-coding-standards-cleanup
- dev-fix-phpmd-test-errors
- dev-gh-actions-refactor
- dev-feat-gh-actions
- dev-mftf-test
- dev-master
- dev-integration-day
This package is auto-updated.
Last update: 2024-10-17 17:50:45 UTC
README
Simplify your sales tax with live checkout calculations and zip-based backup rates from TaxJar.
To get started, check out our M2 extension guide!
Getting Started
Download the extension as a ZIP file from this repository or install our module with Composer using the following command:
composer require taxjar/module-taxjar
If you're installing the extension manually, unzip the archive and upload the files to /app/code/Taxjar/SalesTax
. After uploading, run the following Magento CLI commands:
bin/magento module:enable Taxjar_SalesTax --clear-static-content
bin/magento setup:upgrade
bin/magento setup:di:compile
These commands will enable the TaxJar extension, perform necessary database updates, and re-compile your Magento store. From there, you'll want to run through the pre-import checklist and set everything up using our extension guide).
Tests
To run our integration tests for checkout calculations, clone the repository into your local instance of Magento 2. You'll need an active TaxJar API token (preferably a test account) to run these tests.
git clone https://github.com/taxjar/taxjar-magento2-extension.git app/code/Taxjar/SalesTax
Backup or rename your existing phpunit.xml
under dev/tests/integration
. Copy the phpunit.xml file
in the TaxJar module under app/code/Taxjar/SalesTax/Test/Integration
:
cp app/code/Taxjar/SalesTax/Test/Integration/phpunit.xml dev/tests/integration/phpunit.xml
Rename install-config-mysql.php.dist
to install-config-mysql.php
under dev/tests/integration/etc
. Make sure Magento has access to a MySQL database for running integration tests.
Copy Test/Integration/credentials.php.dist
to credentials.php
in the same directory and add your TaxJar API token:
cp app/code/Taxjar/SalesTax/Test/Integration/credentials.php.dist app/code/Taxjar/SalesTax/Test/Integration/credentials.php
Finally, run the TaxJar test suite using PHPUnit:
vendor/bin/phpunit -c ~/OSS/magento2/dev/tests/integration/phpunit.xml --testsuite “Taxjar”
Notice that the configuration flag should include the full path to phpunit.xml
.
License
TaxJar's Magento 2 module is released under the Open Software License 3.0 (OSL-3.0).
Support
If you find a bug in our extension, open a new issue right here in GitHub. For general questions about TaxJar or specific issues with your store, please contact us after going through our extension guide.