Viincenttt / MollieApi

This project allows you to easily add the Mollie payment provider to your application.
MIT License
144 stars 83 forks source link

Add support for refunding split payments #367

Closed MrSpaceblaze closed 1 week ago

MrSpaceblaze commented 1 month ago

In Mollie.Api.Payment.Request.PaymentRequest you can add a routing for the payment for split payments. This works. But, according to Mollie, for a refund to be created for a split payment, a RoutingReversal array, or a ReverseRouting boolean is required. This has not yet been implemented in Mollie.Api.Models.Refund.Request.RefundRequest. Would you be so friendly as to implement this?

see: https://docs.mollie.com/docs/connect-refunds-and-chargebacks#refunding-a-split-payment

Viincenttt commented 1 month ago

Good catch! These properties are not mentioned on the "Create payment refund" page, so that's why I haven't come across them before. I've reported the missing documentation to Mollie and will work on adding this to the library.

MrSpaceblaze commented 1 week ago

Could you give any indication of when this is going to be released?

Viincenttt commented 1 week ago

Hi @MrSpaceblaze

I've just released version 4.2.0.0 of the library where support for these properties has been added.

Let me know if you have any further questions or feature requests.

Kind regards, Vincent