Reserved credit handling

With the shipping complete, now the only thing left to do is to handle credits that customer has reserved when creating the order.

Customer service should start listening to the Order shipment succeeded and order shipment failed events. In case the failed event is received, customers credit amount is incremented by the failed order price. In case the success event is received, the credit reservation entity should be deleted.

Last updated