Prepare the order context
The store confirms the current cart, calculates the amount through its approved business logic, and creates an order or checkout reference. The server should remain the authoritative source for the amount submitted to the payment service.