Closed Oldharlem closed 5 years ago
Hi @vernondegoede,
Any reason the PR isn't accepted yet? Using our own fork now and would prefer using the original :-)
Sorry for the delay. I'll take a look later this week.
@vernondegoede please review so we can merge :)
Refunds are an important part of the e-Commerce process.
This PR includes refunding an x amount via the payments/id/refunds api when a regular refund is issued. This will not work for pay after delivery payment options.
When processing a return by reimbursing a reimbursement with reimbursement action refund the orders/orderId/refunds endpoint will be used. This PR will find the items in the mollie order that are returned and issue a refund based on the return items in the reimbursement.