setono / sylius-quickpay-refund-bridge-plugin
Enables full and partial refunds through QuickPay for Sylius and Refund Plugin (https://github.com/Sylius/RefundPlugin)
Installs: 8 251
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.4
- payum/payum: ^1.6
- psr/log: ^1.1
- setono/sylius-quickpay-plugin: ^1.2
- sylius/refund-plugin: ^1.0
- symfony/config: ^4.4 || ^5.4
- symfony/dependency-injection: ^4.4 || ^5.4
- symfony/http-foundation: ^4.4 || ^5.4
- symfony/http-kernel: ^4.4 || ^5.4
- symfony/messenger: ^4.4 || ^5.4
- symfony/routing: ^4.4 || ^5.4
- thecodingmachine/safe: ^1.3
- twig/twig: ^2.0 || ^3.0
- webmozart/assert: ^1.9
Requires (Dev)
- friendsofsymfony/oauth-server-bundle: >2.0.0-alpha.0 ^2.0@dev
- matthiasnoback/symfony-config-test: ^4.3
- matthiasnoback/symfony-dependency-injection-test: ^4.3
- phpspec/phpspec: ^6.1
- phpunit/phpunit: ^9.5
- polishsymfonycommunity/symfony-mocker-container: ^1.0
- psalm/plugin-phpunit: ^0.16.0
- roave/security-advisories: dev-latest
- setono/code-quality-pack: ^2.1.3
- setono/sylius-behat-pack: ^0.2
- sylius/admin-api-bundle: ^1.10
- sylius/sylius: ~1.10.12
- symfony/debug-bundle: ^4.4 || ^5.4
- symfony/dotenv: ^4.4 || ^5.4
- symfony/intl: ^4.4 || ^5.4
- symfony/web-profiler-bundle: ^4.4 || ^5.4
This package is auto-updated.
Last update: 2024-12-05 03:49:15 UTC
README
Installation
-
composer require setono/sylius-quickpay-refund-bridge-plugin:dev-master
-
Import plugin's routes after the routes of Sylius Refund Plugin
setono_sylius_quickpay_refund_bridge:
resource: "@SetonoSyliusQuickpayRefundBridgePlugin/Resources/config/routes.yaml"
Development and testing
-
Run
composer create-project setono/sylius-quickpay-refund-bridge-plugin:dev-master setono-sylius-quickpay-refund
. -
From the plugin root directory, run the following commands:
(cd tests/Application && yarn install) (cd tests/Application && yarn build) (cd tests/Application && bin/console assets:install) (cd tests/Application && bin/console doctrine:database:create) (cd tests/Application && bin/console doctrine:schema:create) (cd tests/Application && bin/console sylius:fixtures:load -n)
-
Start your local PHP server (see docs):
(cd tests/Application && symfony serve)
To be able to setup a plugin's database, remember to configure you database credentials in tests/Application/.env
and tests/Application/.env.test
.