Corrigé Store

Trying again in the app records one order or gift card

In the Magpie app, recording an order or issuing a gift card again after a lost connection no longer records it twice.

In the Magpie app, when the connection drops while you record an order by hand or issue a gift card, tapping again gives you the order or card that was already made, with the same code, instead of a second one. Magpie keeps that answer for a day, sealed, since a gift card's code is shown only once.

For developers: POST /api/v1/store/orders and POST /api/v1/store/gift-cards accept Idempotency-Key.