taxjar/module-taxjar
Composer 安装命令:
composer require taxjar/module-taxjar
包简介
TaxJar Sales Tax Module for Magento 2
README 文档
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.
taxjar/module-taxjar 适用场景与选型建议
taxjar/module-taxjar 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 473.11k 次下载、GitHub Stars 达 24, 最近一次更新时间为 2016 年 07 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 taxjar/module-taxjar 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 taxjar/module-taxjar 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 473.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 27
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2016-07-01