Closed theCapypara closed 3 years ago
Hi @Parakoopa I just tried this out in one of our test shops:
This has worked as intended for me without errors. This behavior could come down to an individual configuration in your account. Could you once again contact our tech support with the following info:
You can refer to this issue in your mail. Sorry to put you through our support process again. It's much easier for us to help you when there's a reference in our support system rather than an issue without any ID though.
Just to make sure: The issue occurs when refunding all items, have you tried that?
oops sorry didn't read properly. 😅 I actually tried partial and full refunds in my tests though, so I still can't reproduce the error. For future (internal) reference:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
closing this due to inactivity. If this is still ongoing, feel free to open a new issue.
When refunding an invoice that contains discounts, the API request only contains the refund items, if NOT all products are refunded. This leads to the API error "1610 - An error occurred while processing this transaction (wrong parameters)."
Related line in code: https://github.com/PAYONE-GmbH/magento-2/blob/master/Model/Api/Request/Debit.php#L126
I talked with one of your technical support team about this, we couldn't really understand why the discounts are excluded in those cases, but it's incorrect as far as I can tell.