oxid-esales / amazon-pay-module
OXID的AmazonPay模块
v3.1.6-rc.1
2024-06-27 21:32 UTC
Requires
- ext-json: *
- amzn/amazon-pay-api-sdk-php: ^2.5
- aws/aws-php-sns-message-validator: ^1.8
- viison/address-splitter: ^0.3.4
Requires (Dev)
- codeception/module-phpbrowser: ^3.0.0
- codeception/module-rest: ^3.3.0
- mockery/mockery: ^1.5
- oxid-esales/oxideshop-ce: ^7.0
- oxid-esales/testing-library: dev-b-7.0.x
- phpmd/phpmd: ^2.11
- squizlabs/php_codesniffer: 3.*
- vlucas/phpdotenv: *
- dev-b-6.3.x
- v3.1.6-rc.1
- v3.1.5
- v3.1.5-rc1
- v2.1.6
- v2.1.6-rc.1
- v2.1.5
- v2.1.4
- v2.1.4-rc.3
- v2.1.4-rc.2
- 2.1.4-rc.1
- v2.1.3
- 2.1.3-rc.11
- v2.1.3-rc.10
- v2.1.3-rc.9
- v2.1.3-rc.8
- v2.1.3-rc.7
- v2.1.3-rc.6
- v2.1.3-rc.5
- v2.1.3-rc.4
- v2.1.3-rc.3
- v2.1.3-rc.2
- v2.1.3-rc.1
- v2.1.2
- v2.1.2-rc.2
- v2.1.2-rc.1
- v2.1.1
- v2.1.1-rc.3
- v2.1.1-rc.2
- v2.1.1-rc.1
- v2.1.0
- v2.1.0_RC2
- v2.1.0_RC1
- v2.0.2
- v2.0.0
- v1.2.0
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.1.0-rc.1
- 1.0.21
- 1.0.20
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 0.0.2
- dev-PSAPC-272_TwoStepCheckout
- dev-PSAPC-273_CorrectReturnTypes
- dev-b-7.0.x
- dev-PSAPC-246_Fix_unit_and_codestyle_tests_6.3.x
- dev-nabussan-patch-1
- dev-PSAPC-246_Fix_unit_and_codestyle_tests
- dev-b-7.0.x-phpunit-part2-PSAPC-186
- dev-b-7.0.x-phpunit-test-PSAPC-186
- dev-b-6.1.x_Cache_signatures_for_Amazon_Buttons
- dev-b-6.1.x-FixPhpUnitForOxid6.5
- dev-PSAPC-132_Update_tests
- dev-Fix_bug_7368
- dev-codeception_test_ani
- dev-master
This package is auto-updated.
Last update: 2024-09-17 13:06:56 UTC
README
为OXID eShop 6.3到7.1提供的Amazon Pay集成。
文档
- 官方OXID 6.3到6.5的德语Amazon Pay文档
- 官方从7.0开始的OXID的德语Amazon Pay文档
- 官方OXID 6.3到6.5的英语Amazon Pay文档
- 官方从7.0开始的OXID的英语Amazon Pay文档
分支兼容性
- b-6.3.x模块分支与OXID eShop编译6.3到6.5兼容
- b-7.0.x模块分支与OXID eShop编译7.0及以上兼容
安装
限制
在德语文档Wann können Sie Amazon Pay nicht anbieten?
- 和英语文档When can you not offer Amazon Pay?
- 中查找限制列表
运行测试
警告:运行测试将重置商店。
要求
- 确保test_config.yml已配置
* ``` 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'
开发javascript
- 我们使用grunt
- 目前php容器中没有安装grunt
- 所以在您的宿主系统上安装它:https://grunt.node.org.cn/getting-started
sudo npm install -g grunt-cli
cd source/modules/osc/amazonpay/resources
- npm install grunt --save-dev
- 使用: grunt
cd source/modules/osc/amazonpay/resources
grunt
# 此命令编译sass => out/src/css/* 和 out/src/js/*
运行
运行phpunit测试
vendor/bin/runtests
运行带有覆盖率报告的phpunit测试(报告生成在.../amazonpay/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