oxid-esales / amazon-pay-module
AmazonPay module for OXID
Installs: 8 102
Dependents: 0
Suggesters: 0
Security: 0
Stars: 18
Watchers: 19
Forks: 9
Type:oxideshop-module
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-10-17 13:24:29 UTC
README
Amazon Pay integration for OXID eShop 6.3 to 7.1.
Documentation
- Official German Amazon Pay for OXID 6.3 to 6.5 documentation
- Official German Amazon Pay for OXID from 7.0 documentation
- Official English Amazon Pay for OXID 6.3 to 6.5 documentation
- Official English Amazon Pay for OXID from 7.0 documentation
Branch compatibility
- b-6.3.x module branch is compatible with OXID eShop compilation 6.3 to 6.5
- b-7.0.x module branch is compatible with OXID eShop compilation 7.0 and higher
Installation
- See the official documentation under Installation for OXID 6.3 to 6.5 or Installation for OXID from 7.0
Limitations
Find the list of limitations in the
- German documentation under Wann können Sie Amazon Pay nicht anbieten?
- English documentation under When can you not offer Amazon Pay?
Running tests
Warning: Running tests will reset the shop.
Requirements:
- Ensure test_config.yml is configured:
* ``` activate_all_modules: true run_tests_for_shop: false run_tests_for_modules: true
-
- For codeception tests to be running, selenium server should be available, several options to solve this:
- Use OXID official vagrant box environment.
- Use OXID official docker sdk configuration.
- Use other preconfigured containers, example:
image: 'selenium/standalone-chrome-debug:3.141.59'
Develop javascript
- we are using grunt
- currently grunt is not installed in php container
- so install it on your host system: https://gruntjs.com/getting-started
sudo npm install -g grunt-cli
cd source/modules/osc/amazonpay/resources
- npm install grunt --save-dev
- using: grunt
cd source/modules/osc/amazonpay/resources
grunt
# this command compiles the sass => out/src/css/* and the out/src/js/*
Run
Running phpunit tests:
vendor/bin/runtests
Running phpunit tests with coverage reports (report is generated in .../amazonpay/Tests/reports/
directory):
XDEBUG_MODE=coverage vendor/bin/runtests-coverage
Running codeception tests default way (Host: selenium, browser: chrome):
vendor/bin/runtests-codeception
Running codeception tests example with specific host/browser/testgroup:
SELENIUM_SERVER_HOST=seleniumchrome BROWSER_NAME=chrome vendor/bin/runtests-codeception --group=examplegroup