payever / payever-integration-oxid
payever payment module
Installs: 1 104
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 2
Type:oxideshop-module
pkg:composer/payever/payever-integration-oxid
Requires
- php: >=5.4.0
- ext-curl: *
- ext-fileinfo: *
- ext-json: *
- monolog/monolog: ^v1.23.0
- payever/core-sdk-php: 2.1.0
- payever/payments-sdk-php: 2.6.3
- payever/plugins-sdk-php: 2.0.0
- payever/products-sdk-php: 2.0.0
- setasign/fpdf: ^1.8
Requires (Dev)
README
This repository contains payever payments module for OXID e-commerce platform.
OXID versions support
Currently, this module is compatible with OXID-eShop Community Edition starting from 4.7.X version and up.
Installation
Local shop setup
- official docs https://docs.oxid-esales.com/developer/en/6.0/getting_started/installation/eshop_installation.html
- demo data https://github.com/OXID-eSales/oxideshop-demodata-installer
Local plugin install
- https://docs.oxid-esales.com/developer/en/6.2/development/modules_components_themes/project/module_configuration/modules_installation.html
- use admin interface see guide. Plugin location
<shop_dir>/source/modules
Testing
Behat
Before running behat tests make sure that you have:
- ran
composer install - set proper
behat.ymlconfig values (seebehat.yml.dist) - started selenium2 server (download)
java -jar /path/to/selenuim-standalone.jar chromedriveris available in yourPATHenv variable (download orbrew install chromedriverfor Mac OS)- install
chromehttps://googlechromelabs.github.io/chrome-for-testing/#stable chromedriveris available in yourPATHenv variable (download orbrew install chromedriverfor Mac OS)- Important:
chromedrivermust be same version aschromebrowser version - selenium run in background
java -jar /<path>/selenium-server-standalone-x.xx.x.jar -Dwebdriver.chrome.driver=/<path>/chromedriver > /dev/null 2>&1 & - payever stub server run
./vendor/payever/plugins-stub/bin/stub-server localhost:9090 - behat test run
./vendor/behat/behat/bin/behat --config behat.yml
Unittest
- simple unittest
./vendor/bin/phpunit -c phpunit.xml - HTML codecov report (xdebug php module require)
php -d xdebug.mode=coverage ./vendor/bin/phpunit -c ./phpunit.xml --coverage-html /var/www/html/clover
Phpmd https://phpmd.org/documentation/
./vendor/bin/phpmd ./src/payever text ./phpmd.xml
Phpcs
./vendor/bin/phpcs --standard=./phpcs.xml ./src/payever
Option 1: Download from OXID exchange
Please go to module download page and download the latest version.
(NOTE: The order inside "Versions" tab is arbitrary, so please make sure to pick the latest version)
Option 2: Install via Composer
NOTE: For OXID-eShop version 6 and above only
Run the following CLI command inside your shop root directory:
composer require payever/payever-integration-oxid
User documentation
You can find the user guide here.