From eb2cd83e3666e888f35460584047b9320430ed6b Mon Sep 17 00:00:00 2001 From: Mateusz Date: Mon, 13 Oct 2025 13:22:52 +0200 Subject: [PATCH] Updated README how to add custom refund type --- README.md | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/README.md b/README.md index e0402e1c..c073d494 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,77 @@ 📖 Full documentation is available here: 👉 [Refund Plugin Documentation](https://docs.sylius.com/refund-plugin) +## Customization + +### Adding Custom Refund Types + +If you need to add custom refund types (e.g., fees, commissions), you can extend the `RefundType` class: + +1. **Create your custom RefundType class:** + +```php +