sebastian-mollie / SyliusMolliePlugin-DO-NOT-USE-

OLD Sylius Mollie payment gateway integration. Please use the newest version. I will be closing this repo by the end of the year.
https://github.com/mollie/Sylius/releases/tag/v5.0.0
MIT License
1 stars 4 forks source link

Bug prevents editors to make multiple partial refunds #298

Open michaelKaefer opened 1 year ago

michaelKaefer commented 1 year ago

This seems like a bug to me:

src/Action/RefundAction.php

        if ($molliePayment->hasRefunds()) {
            return;
        }

This results in:

I don't know the reason behind the if - can we just delete it?