2023-04-13 - Completed Order Flow
Revision as of 13:28, 13 April 2023 by Sven the Barbarian (talk | contribs)
Once an order is completed the order details are sent to the selected Payment Method's flow for completing an order.
Confirm Cart Order
When confirming the cart order, frontend sends request to re-validated the cart, after validation is complete and there are no errors frontend sends request to create Orders.
Backend Creates Order data for all Cart Orders including relationship between CartOrder and Order.
Show Order Summary Page
Once frontend is notified orders are created it requests Order data for all Orders linked to from the Cart and lists these, this request may also include (or as separate requests) the userPaymentMethodSalePropertys which can be expanded to see user submitted details for payment, eg: where to pay.