WooCommerce payment module for Comfino 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, zlib
- PHP 7.1 or higher
- WooCommerce 3.0.0 or higher
- PHP extensions: ctype, curl, json, 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 automatically tested against PHP 7.1-8.4 with both lowest and stable dependencies.
This project is licensed under the Open Software License 3.0 - see the LICENSE file for details.
- Documentation (Polish): Comfino WooCommerce plugin documentation
- Documentation (English): Comfino WooCommerce plugin documentation
- Issues: GitHub Issues
- Website: https://comfino.pl