Checkout order handling
Creates an order before checkout and updates it when the payment method changes.
This can keep order data consistent across checkout steps, but the additional order preparation also affects startup time and recovery from payment errors.