Problem definitions inspired by: https://docs.microsoft.com/en-us/azure/architecture/patterns/event-sourcing
Emits following events:
- an item added to a user cart
- user_id
- cart_id
- product_id
- price
- count
- productOptions
- an item removed from a user cart
- shipping information updated
- shipping information removed
- payment information added
- payment information removed
Listens to following events:
- ms-payment.payment-processed
Emits following events:
Payment Processed
. Data elements:- cart_id
Payment Failed
- cart_id
Listens to events from Shopping Cart to create query-able, materialized view. Returns reverse-chronologically ordered list of orders