setono/sylius-quickpay-refund-bridge-plugin

Enables full and partial refunds through QuickPay for Sylius and Refund Plugin (https://github.com/Sylius/RefundPlugin)

dev-master / 1.0.x-dev 2021-01-18 17:41 UTC

This package is auto-updated.

Last update: 2021-04-18 18:23:31 UTC


README

Latest Version Latest Unstable Version Software License Build Status Code Coverage

Installation

  1. composer require setono/sylius-quickpay-refund-bridge-plugin:dev-master

  2. 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

  1. Run composer create-project setono/sylius-quickpay-refund-bridge-plugin:dev-master setono-sylius-quickpay-refund.

  2. 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)
  3. 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.