When doing a partial refund when a refund with the same item has been processed before, Mollie will throw a " A duplicate refund has been detected." error.
Used versions
Magento Version 2.4.2 Enterprise
Mollie v2.11.0 -> But can also be reproduced with the latest version on my local development environment
To Reproduce
Create an order with one item with multiple quantities
It is expected that you can do as many refunds as possible until there are no more items left. An item which has been refunded partially should not trigger an "A duplicate refund has been detected." error
Actual behavior
Fo a given item, for example if i do have ITEM B with a sold quantity of two, if i do multiple refunds with each having a quantity of one, the last refund will fail.
Screenshots
This is an example of one item where only one was refunded.
This is the error i get when i try to refund the same item again. That should be possible as only one was refunded yet.
Describe the bug
When doing a partial refund when a refund with the same item has been processed before, Mollie will throw a " A duplicate refund has been detected." error.
Used versions
To Reproduce
Expected behavior
It is expected that you can do as many refunds as possible until there are no more items left. An item which has been refunded partially should not trigger an "A duplicate refund has been detected." error
Actual behavior
Fo a given item, for example if i do have ITEM B with a sold quantity of two, if i do multiple refunds with each having a quantity of one, the last refund will fail.
Screenshots
This is an example of one item where only one was refunded.
This is the error i get when i try to refund the same item again. That should be possible as only one was refunded yet.
This is the error in the server log: