oxid-esales / unzer
OXID eSales unzer 支付模块适用于 OXID
v2.2.0-rc.4
2024-08-27 17:55 UTC
Requires
- guzzlehttp/guzzle: ^7.4
- unzerdev/php-sdk: ^v3.6.0
Requires (Dev)
- oxid-esales/oxideshop-ce: ^7.0
- phpmd/phpmd: ^2.11
- phpstan/phpstan: ^1.9.2
- squizlabs/php_codesniffer: 3.*
Conflicts
- oxid-esales/oxideshop-ce: <7.0
- dev-b-6.3.x
- v2.2.0-rc.4
- v2.2.0-rc.3
- v2.2.0-rc.2
- v2.2.0-rc.1
- v2.1.4-rc1
- v1.2.0-rc.13
- v1.2.0-rc.12
- v1.2.0-rc.11
- v1.2.0-rc.10
- v1.2.0-rc.9
- v1.2.0-rc.8
- v1.2.0-rc.7
- v1.2.0-rc.6
- v1.2.0-rc.5
- v1.2.0-rc.4
- v1.2.0-rc.2
- v1.2.0-rc.1
- v1.1.4-rc.3
- v1.1.4-rc.2
- v1.1.4-rc1
- v1.1.3
- v1.1.3-rc.2
- v1.1.3-rc.1.1
- v1.1.3-rc.1
- v1.1.2
- v1.1.2-rc.2
- v1.1.2-rc.1
- v1.1.1
- v1.1.1-rc.4
- v1.1.1-rc.3
- v1.1.1-rc.2
- v1.1.1-rc.1
- v1.1.0
- v1.1.0-rc.8.3
- v1.1.0-rc.8.2
- v1.1.0-rc.8.1
- v1.1.0-rc.8
- v1.1.0-rc.7
- v1.1.0-rc.6
- v1.1.0-rc.5
- v1.1.0-rc.4
- v1.1.0-rc.3
- v1.1.0-rc.2
- v1.1.0_RC1
- v1.0.1
- v1.0.0
- v1.0.0-rc.4
- v1.0.0-rc.3
- v1.0.0-rc.2
- v1.0.0-rc.1
- dev-b-7.0.x-thnx-bankdata-UNZER-473
- dev-b-6.3.x-cc-cardh-dpl-UNZER-489
- dev-UNZER-471_RemoveDatabaseProvider
- dev-UNZER-471_RemoveDatabaseProvider_CR
- dev-b-7.0.x
- dev-UNZER-PrePayment
- dev-UNZER-FixSavedPaymentHandlingTpls
- dev-integration/tmp-t2-academy-deploy
- dev-bugfix/trait-namespace
- dev-b-7.0.x-rc9-UNZER-427
- dev-b-7.0.x-fix-sess_chall-UNZER-401
- dev-test-draft-tmp
- dev-b-7.0.x-card-instability-BKP-UNZER-397
- dev-UNZER-379
- dev-b-6.3.x-installement-invoice-UNZER-363
- dev-b-6.3.x-installment-unzerbknd-UNZER-363
- dev-b-6.3.x-test-gha
- dev-UNZER-314_RemoveJquerySwitch
- dev-b-6.3.x-add-tests-installment
- dev-UNZE-280_update_tests_b-6.3.x
- dev-UNZER-280_update_tests_REVIEW-b-6.3.x
- dev-Unzer-291_Installment_Oxid7
- dev-UNZER-241
- dev-UNZER-275_Actualize_b-7.0.x_branch
- dev-UNZER-151_Update_to_OXID_7
- dev-b-6.3.x-HR
This package is auto-updated.
Last update: 2024-09-19 19:19:46 UTC
README
Unzer 支付集成适用于 OXID eShop 6.3 及以上版本。
文档
兼容性
- b-6.3.x 模块分支与 OXID eShop 编译版本 >=6.3 兼容
OXID 安装
- 参阅官方文档
限制
- 不支持浮点金额值。
运行测试
警告:运行测试将重置商店。
要求
- 确保已配置 test_config.yml
-
partial_module_paths: osc/unzer
-
activate_all_modules: true run_tests_for_shop: false run_tests_for_modules: true
-
- 要运行 codeception 测试,需要 selenium 服务器可用,以下是一些解决方案
- 使用 OXID 官方 vagrant box 环境。
- 使用 OXID 官方 docker sdk 配置。
- 使用其他预配置的容器,例如:
image: 'selenium/standalone-chrome-debug:3.141.59'
运行
运行 phpunit 测试
vendor/bin/runtests
运行带有覆盖率报告的 phpunit 测试(报告生成在 .../unzer/Tests/reports/
目录中)
XDEBUG_MODE=coverage vendor/bin/runtests-coverage
默认方式运行 codeception 测试(主机:selenium,浏览器:chrome)
vendor/bin/runtests-codeception
使用特定主机/浏览器/测试组运行 codeception 测试示例
SELENIUM_SERVER_HOST=seleniumchrome BROWSER_NAME=chrome vendor/bin/runtests-codeception --group=examplegroup