spryker/tax-app-vertex
Composer 安装命令:
composer require spryker/tax-app-vertex
包简介
TaxApp extension for Vertex app
README 文档
README
This package is abandoned. Use spryker-eco/vertex instead.
tax-app-vertex
This is an example of project-side integration with Spryker and ACP Vertex app. This code can be used as a starting point or for a demo.
If you want to add specific Vertex Codes for a specific products, etc., you have to add JSON file with path {projectRootDir}/data/import/vertex_codes.json with contents like this:
{
"customerCodes": {
"DE--1": "VC1",
"DE--2": "VC2",
"DE--3": "VC3"
},
"productCodes": {
"001_25904006": "VP1",
"002_25904004": "VP2",
"003_26138343": "VP3"
},
"productOptionCodes": {
"OP_1_year_warranty": "VP1",
"OP_2_year_warranty": "VP2",
"OP_3_year_warranty": "VP3",
"OP_insurance": "VP4"
},
"expenseCodes": {
"TYPE|NAME|MERCHANT_REFERENCE": "VE",
"TYPE1|NAME|MERCHANT_REFERENCE1": "VE1"
},
"exemptionsCertificates": {
"DE--1": "VES1",
"DE--2": "VES2",
"DE--3": "VES3"
}
}
In this case values which are specified in this file will override original default values in package. The logic will work in 2 ways:
- If you've provided custom mapping. For example you are specified
"DE--1": "VC1"in customerCodes section (which means customer with customer refereceDE--1should have vertex xodeVC1). If customer will be found in the cart or order it will be populated wuth this code. If not it will be populated with random Vertex Code you've provided. - If you've not provided cusomt mappins. It will work the same but will use internal mapping which you could find in
Spryker/Zed/TaxAppVertex/Communication/VertexCodeMapper.php.
spryker/tax-app-vertex 适用场景与选型建议
spryker/tax-app-vertex 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 161.21k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 09 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 spryker/tax-app-vertex 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 spryker/tax-app-vertex 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 161.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-14