Notice: Version 4.4.2 is the last release compatible with PHP 7.1. The upcoming version 5.0.0 will require PHP 8.1 or higher, WooCommerce 7.0.0 or higher, and WordPress 6.1 or higher. Please plan your environment upgrade accordingly.
WooCommerce payment module for ComfinoPay deferred payments gateway - installment payments, buy now pay later (BNPL) and corporate payments.
- WooCommerce: 3.0.0 or higher
- WordPress: 4.7 or higher
- PHP: 7.1 or higher
- PHP extensions: ctype, curl, json, mbstring, zlib
- WooCommerce: 7.0.0 or higher
- WordPress: 6.1 or higher
- PHP: 8.1 or higher
- PHP extensions: ctype, curl, json, sodium, zlib
- PHP 7.1 or higher
- WooCommerce 3.0.0 or higher
- PHP extensions: ctype, curl, json, mbstring, zlib
- Docker and Docker Compose (for local development)
# Start development environment.
docker-compose up -d
# Install dependencies.
./bin/composer install
# Run tests.
./bin/composer test
# Run tests with coverage.
XDEBUG_MODE=coverage ./bin/phpunit --coverage-html coverage# Using Composer.
./bin/composer test
# Direct PHPUnit execution.
./bin/phpunit
# With specific test file.
./bin/phpunit tests/MainTest.php
# With coverage report.
XDEBUG_MODE=coverage ./bin/phpunit --coverage-html coverageGenerate translation template files for internationalization:
-
Install wp-cli on your development machine: https://github.com/wp-cli/wp-cli
-
Run on Docker:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar chmod +x wp-cli.phar ./wp-cli.phar --allow-root i18n make-pot wp-content/plugins/comfino-payment-gateway/
-
Open Poedit and edit the
.potfile to generate.mofiles
- Fork the repository.
- Create your feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'Add amazing feature'). - Push to the branch (
git push origin feature/amazing-feature). - Open a Pull Request.
All pull requests are currently tested against PHP 7.1-8.4 with both lowest and stable dependencies. Starting with version 5.0.0, the minimum supported PHP version will be 8.1.
This project is licensed under the Open Software License 3.0 - see the LICENSE file for details.
- Documentation (Polish): ComfinoPay WooCommerce plugin documentation
- Documentation (English): ComfinoPay WooCommerce plugin documentation
- Issues: GitHub Issues
- Website: https://comfino.pl