[x] When addresses are submitted, the Fullname property is changed, but the entire property can be removed. But for both addresses, the Fullname remains the same.
[x] The address is retrieved either from the order or being (faked) retrieved from the last previous order.
[x] :bangbang: Make sure an actual GUID is used for OrderId and not an empty GUID like 00000-00000-00000-00000-00000. This is the most important one, as LiteDb comes up with random GUID for each time we store the order, as it doesn't accept 'empty' GUID. :bangbang:
[x] Retrieve credit card information from back-end for shopping cart on /buy/creditcard/{customerId}
[x] Retrieve summary from back-end for shopping cart on /buy/summary/{orderId}
[x] Fill previously selected deliveryoption if we return to delivery page
[x] To fill icon, use /existingCart/{orderId}, which is a lot cheaper than the current /card/{orderId}
[x] Add credit-card info from summary
[x] Add products and prices in shipping page
[x] On creditcard page, auto-select the top card.
CompositionGateway
[x] Verify why DeliverOptionId isn't mapped from submitted JSON in both DeliveryOptionSubmitHandler
[x] Retrieve selected DeliveryOption from storage in
[x] Verify if vm.TotalPrice is combined from SummaryLoadedSubscriber and DeliverySummaryLoadedSubscriber in Finance
[x] Need a handler to provide the existing selected credit card, if one exists
[x] Clarify what "CustomerId" is for on the SubmitPaymentInfo message?
[x] For delivery options, the frontend needs:
[x] products and product prices (it shows the products here with their price - frontend is currently pulling this from the cart cache, but price could have changed for order?).
[x] For summary, the frontend needs:
[x] product prices
[x] shipping price
[x] ~tax??~
[x] total
[x] selected payment information (card type and ending digits)
[x] need to fix the error with no items in SummaryLoaded event handler
[x] ~alternatively, summary can not care about products at all and frontend can fetch from cart cache and deal with tallying up totals? Still need shipping price and tax percentage or amount.~
Endpoints
[x] Verify if entire check-out process works correctly.
[x] After shipment, send message to IT/Ops to send an email, which retrieved data from everywhere.
Things to finish for the demo
Front-end
Fullname
property is changed, but the entire property can be removed. But for both addresses, theFullname
remains the same.00000-00000-00000-00000-00000
. This is the most important one, as LiteDb comes up with random GUID for each time we store the order, as it doesn't accept 'empty' GUID. :bangbang:/buy/creditcard/{customerId}
/buy/summary/{orderId}
/existingCart/{orderId}
, which is a lot cheaper than the current/card/{orderId}
CompositionGateway
DeliveryOptionSubmitHandler
vm.TotalPrice
is combined fromSummaryLoadedSubscriber
andDeliverySummaryLoadedSubscriber
inFinance
Endpoints