Behoben Store

Refunding an order again in the app after a lost connection makes one refund

In the Magpie app, tapping Refund again after a refund failed or the connection dropped sends the same refund, so the customer is never refunded twice.

When you refund a Store order in the app and the answer does not arrive, tapping Refund again now sends the same refund rather than a second one, as the website's refund form already did. If you change the amount, where the money goes or the units going back to stock, it is a new refund.

Internal: the refund screen keeps one request_key per refund (refundAttempt() in src/features/storeOrders.ts) and sends it to POST /store/orders/{uuid}/refund; openapi.json and docs/API_V1.md describe the field and the current request body.