Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: new release #275

Merged
merged 4 commits into from
Apr 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ It is used by `KnpSnappyBundle` and can be configured according to [their documm
1. Require plugin with composer:

```bash
composer require sylius/refund-plugin:1.0.0-RC.7
composer require sylius/refund-plugin:1.0.0-RC.8
```

> Remember to allow community recipes with `composer config extra.symfony.allow-contrib true` or during plugin installation process
Expand Down Expand Up @@ -148,14 +148,15 @@ By default to refund your order, you need to have at least one available payment
In case your custom refund logic allows a different type of gateway (for example `stripe`), you should modify the specific parameter,
as shown below:

```xml
<parameters>
<parameter key="sylius_refund.supported_gateways" type="collection">
<parameter>offline</parameter>
<parameter>stripe</parameter>
</parameter>
</parameters>
```
```yaml
# config/services.yaml

parameters:
sylius_refund.supported_gateways:
- offline
- stripe

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

```

Online refund logic should be implemented if you need it.
As the first try for the possible customization, you can check out `Sylius\RefundPlugin\Event\UnitsRefunded` event.
Expand Down