An online retailer is experiencing issues with its checkout process. The current system stores an order in a database and then immediately invokes a payment processing service. Some users are encountering timeouts during checkout. When they refresh or resubmit the form, multiple distinct orders are being generated for what should be a single transaction. What architectural adjustment should a solutions architect implement to prevent this duplication and ensure reliable payment processing?