https://github.com/oxid-esales/amazon-pay-module
Amazon Pay Module for OXID eShop
https://github.com/oxid-esales/amazon-pay-module
Last synced: about 1 year ago
JSON representation
Amazon Pay Module for OXID eShop
- Host: GitHub
- URL: https://github.com/oxid-esales/amazon-pay-module
- Owner: OXID-eSales
- License: gpl-3.0
- Created: 2020-05-12T07:13:07.000Z (about 6 years ago)
- Default Branch: b-6.1.x
- Last Pushed: 2024-04-12T14:38:07.000Z (about 2 years ago)
- Last Synced: 2024-04-13T02:13:00.668Z (about 2 years ago)
- Language: PHP
- Size: 1.42 MB
- Stars: 19
- Watchers: 20
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Amazon Pay for OXID
Amazon Pay integration for OXID eShop 6.1 and above.
## Documentation
* Official German Amazon Pay for OXID [documentation](https://docs.oxid-esales.com/modules/amazon-pay/de/latest/)
* Official English Amazon Pay for OXID [documentation](https://docs.oxid-esales.com/modules/amazon-pay/en/latest/)
## Branch Compatibility
* b-6.1.x module branch is compatible with OXID eShop compilation 6.1 and higher
## Install for OXID
* see Official documentation
## Limitations
List of Limitations could be found in
* german Documentation [Limitations](https://docs.oxid-esales.com/modules/amazon-pay/de/latest/einfuehrung.html#wann-konnen-sie-amazon-pay-nicht-anbieten)
* english Documentation [Limitations](https://docs.oxid-esales.com/modules/amazon-pay/en/latest/einfuehrung.html#wann-konnen-sie-amazon-pay-nicht-anbieten)
## Running tests
Warning: Running tests will reset the shop.
#### Requirements:
* Ensure test_config.yml is configured:
* ```
partial_module_paths: osc/amazonpay
```
* ```
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](https://github.com/OXID-eSales/oxvm_eshop).
* Use OXID official [docker sdk configuration](https://github.com/OXID-eSales/docker-eshop-sdk).
* Use other preconfigured containers, example: ``image: 'selenium/standalone-chrome-debug:3.141.59'``
#### 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
```