PAYONE-GmbH / shopware-6

PAYONE Payment Plugin for Shopware 6
MIT License
16 stars 19 forks source link

Admin: partial refund instead of full refund #312

Closed hgnb99 closed 5 months ago

hgnb99 commented 5 months ago

Problem Description

When creating an refund via backend -> order detail -> payone -> [Refund]-Button it will create a partial refund and set order state `partially_refunded' even if all line items are selected ... it should create full refund instead. ...

System Info

Shopware 6.5.8.8 PayonePayment 6.0.1

possible solution .

add maxRefundAmout var like in v5.0.2 ... refund_button .patch.txt

janteuber commented 5 months ago

Hello @hgnb99 ,

Thank you for your message.

The problem with the old version of the plugin was that after a partial capture, the full capture button no longer worked because a full capture was no longer possible.

For this reason, we decided to look at which items were still in the order and then create a refund for these items.