Skip to content

OXID-eSales/unzer-module

Repository files navigation

Unzer Payment for OXID

Unzer Payment integration for OXID eShop 6.3 and above.

Documentation

Compatibility

  • b-6.3.x module branch is compatible with OXID eShop compilations >=6.3

Install for OXID

  • see Official documentation

Limitations

  • Float amount values are not supported.

Running tests

Warning: Running tests will reset the shop.

Requirements:

  • Ensure test_config.yml is configured:
    • partial_module_paths: osc/unzer
      
    • 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:

Run

Running phpunit tests:

vendor/bin/runtests

Running phpunit tests with coverage reports (report is generated in .../unzer/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