An open API service indexing awesome lists of open source software.

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

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
```