News

Reliable AI checkout: prevent duplicate orders and stale prices

AIR
November 19, 2026

The merchant has accepted the coffee-machine order. The confirmation never reaches the agent. From one side, the purchase is complete; from the other, it may not have happened. A fresh attempt could produce a second machine, while a confident failure message could send the customer shopping elsewhere.

This illustrative moment is where checkout reliability becomes visible. Reliable AI checkout needs a durable purchase record, a way to recognize retries and a current offer at the point of acceptance. The merchant should be able to recover what happened even when the conversation, connection or payment response stops at an awkward point.

Treat a missing response as an unresolved outcome

In our example, the customer permits one coffee machine, delivered by Friday, for no more than $240 including shipping. The quote is $228. The agent submits the purchase, the merchant creates the order, and the connection drops before confirmation arrives.

None of the customer’s requirements changed. What disappeared was knowledge of the outcome. Recovery should therefore begin with the original purchase reference. Starting another independent purchase, declaring failure or reporting success without checking would each introduce a new risk.

Give support a state it can act on

A useful operating model distinguishes a quoted basket, a submitted purchase, an accepted order, a declined attempt and an unresolved outcome awaiting reconciliation. These states should connect to records in the merchant’s systems, so a colleague can establish what happens next.

If the coffee-machine order exists, return its reference. If a delivery choice is missing, ask the customer to choose. If the backend cannot establish the result, preserve the attempt and prevent a second independent purchase while it is investigated.

The Universal Commerce Protocol checkout specification, version April 8, 2026, distinguishes recoverable errors from cases needing buyer input or review and provides a continuation URL for escalation. The handoff should carry the purchase context into that next step.

Make a retry recognizable as a retry

Idempotency means repeating an operation does not repeat its business effect. An operation identifier gives a service a way to recognize that the next submission is another attempt to finish the same purchase.

Stripe’s February 22, 2017 engineering article on idempotency describes the underlying problem: a request can succeed while its response is lost. Reusing an identifier can support safe recovery. In the coffee-machine flow, the agent’s next move should follow that integration’s recovery mechanism, with the original operation still identifiable.

Protect the order and the warehouse too

A payment service preventing a second charge does not necessarily prevent the retailer from creating two order records. Nor does one order record guarantee that a repeated message will not instruct the warehouse twice.

Trace every step that changes something: payment, order creation, stock movement and fulfillment. Define how each step recognizes repetition or reconciles it, including simultaneous submissions. The commercial outcome to protect is one explainable purchase. A duplicate shipment still creates service and recovery costs even if the customer was charged only once.

Keep a changed basket out of the old retry

A recovery attempt for the $228 machine should not quietly become an order for another model. Record the basket version and terms associated with the original operation, then make any change explicit.

If the payload changes, validate the revised decision against the customer’s permission or obtain fresh approval as appropriate. Our guide to AI agent permissions explains the accompanying authority checks. Correct permission does not establish successful execution; successful execution does not establish that the changed purchase was permitted.

Recheck the whole offer before acceptance

The discovery price may omit the delivery option or depend on a different destination. Before accepting the purchase, return the current variant, quantity, applicable taxes, shipping charges and relevant conditions as a complete offer.

If the machine now costs $246, the earlier $228 quote cannot satisfy the customer’s $240 limit. If it remains $228 but Friday delivery is unavailable, the request still cannot be fulfilled as stated. Return the changed term and a clear route to review it. A budget check alone would miss the delivery failure.

Decide what happens when a stock hold expires

A stock reservation can give the purchase time to complete. It can also hold a scarce machine while an agent waits for input that never arrives. The merchant needs an explicit policy for both situations.

Specify when the hold begins, when it ends and how the flow handles a payment outcome arriving after expiry. Keep these decisions in commerce logic that can be tested consistently. Otherwise the agent may still be trying to finish a purchase for stock the merchant has already released to another customer.

Reconcile the payment with a fulfillable order

A payment approval does not establish that the warehouse has a valid order. An order record can also exist while payment remains unresolved. Compare the records and route each exception to someone who can act.

If payment succeeds but order creation fails, determine whether the order can safely be completed or the payment needs reversal through the appropriate workflow. If the order exists and only its response was lost, retrieve the confirmation. If fulfillment has started, the next step may be cancellation or return handling. Repeating checkout is not a useful default for every uncertain state.

Interrupt the checkout before customers do

Test the coffee-machine flow by breaking the connection before submission, after the payment response, after order creation and before confirmation delivery. For each interruption, inspect the number of orders, payments and stock movements, together with the message the customer receives.

Add concurrent retries and the changed-price case. Require one explainable outcome and a route to recovery, including an owner for anything unresolved. Completion rate then becomes more meaningful: it reflects purchases the merchant can account for, rather than successful-looking responses that leave support to discover the discrepancy later.

Place identity checks alongside transaction controls

The merchant Know Your Agent checklist covers the surrounding trust decisions. AIR Agent helps establish the customer behind an agent and supports credential presentation. Those identity checks can inform eligibility and recognition within a commerce flow.

Order recovery, payment approval and spending-cap enforcement belong to their respective integrations. The current identity binding does not provide payment authority. A dependable purchase brings these responsibilities together while keeping each outcome visible: who the agent represents, what the customer may receive, whether the purchase is permitted and what the merchant actually accepted.

Frequently asked questions

Does an idempotency key prevent every duplicate order?

No. Its protection depends on the operation and service that enforce it. Merchants must also coordinate order creation, payment handling and fulfillment, including simultaneous requests.

Should an agent retry after a checkout timeout?

It should recover or retry the original operation using the integration’s documented mechanism. A timeout alone does not establish that the merchant rejected the purchase.

When should an AI checkout recheck the price?

Before the merchant accepts the purchase. The check should cover the selected variant, quantity, destination, delivery option and complete payable amount.

What happens if the final total exceeds the customer’s limit?

The purchase should pause or fail under the applicable permission rules. Return the changed amount and a clear route for the customer to review a revised purchase.

What is the most useful reliability metric?

Track unresolved outcomes and duplicate business effects alongside completion rate. A purchase counted as successful should be reconcilable to its payment, order and fulfillment state.

Partner with AIR

Planning commerce journeys for customers represented by AI agents? Talk to AIR about customer identity and credential-based eligibility within your merchant flow.

Moca Network, the identity network of Animoca Brands.

Partner with AIR

AIR is one integration suite for identity, money and loyalty. AIR Identity lets trusted issuers issue verifiable credentials and businesses verify them, so acquisition starts with users who already qualify, with minimal data custody. AIR Money embeds compliant global financial infrastructure, opening new markets without building new rails. AIR Loyalty gives brands a programmable, stable-value points engine that keeps users coming back.

Partner with us to grow your business.

AIR is built by Moca Network, the identity network of Animoca Brands.

Stay updated on AIR launches
Product updates, partner launches, and research across digital identity, fintech, and loyalty. Unsubscribe anytime.
By subscribing, you agree to our Privacy Policy and consent to receive updates.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
In this article
Blog

Read more articles

View all
Editorial graphic featuring the official Citi, Chase, PNC and Wells Fargo logos beside the headline AI agents and bank access, covering permissions, terms and liability.
News
Citi and JPMorgan Chase Change the Rules for AI Agents
Citi and Chase are updating AI-agent access rules. Explore why banks need evidence of agent identity, delegated authority and transaction approval.
AI-generated photorealistic scene of two merchants scanning and weighing one test parcel beside a limited batch and a physical pilot test-order card.
News
How to launch an agentic commerce pilot that earns its next phase
Plan an agentic commerce pilot with a focused customer task, four launch gates and a commercial case based on contribution, support and returns.
AI-generated editorial illustration of a white shopping cart suspended above a silver coin stack on a white plinth.
News
How to measure agentic commerce: a merchant KPI framework
Measure agentic commerce from AI visibility to accepted orders and retained contribution, with clear denominators and an illustrative merchant funnel.