Skip to content
New

Shopify launched Agentic Storefronts. We make AI agents recommend you - not just list you.

See the Shopify integration
Tru Commerce

← Insights

UCP implementation: discovery, checkout and recovery

Implement UCP with accurate discovery, merchant checkout state and safe recovery. Review Google eligibility, handoff, expiry and a practical acceptance pack.

Tru Commerce Team · November 26, 2026 · Checkout & Protocols

Universal Commerce Protocol (UCP) gives commerce platforms and businesses a shared way to discover supported capabilities and exchange commercial operations. An implementation needs an accurate business profile, compatible services and trustworthy checkout state. The UCP overview is the starting point; channel onboarding remains a separate operational requirement.

Reviewed 26 November 2026. This guide describes implementation decisions and proposed acceptance tests. It does not claim a customer deployment, guaranteed distribution or measured conversion improvement. Tru Commerce builds commerce integrations.

Decide which checkout surface you are preparing for

Write down the target platform, merchant account, supported market and checkout path before selecting SDKs. A public protocol can define interoperability while a particular platform still limits rollout or requires onboarding.

Google Merchant Center's current UCP guidance applies to eligible products in the United States, Canada and Australia for participating merchants and partners. It describes a phased checkout experience on surfaces such as AI Mode and Gemini. It is not a statement that every merchant in those countries is enabled. Confirm your account's route and current eligibility directly.

Do not conflate this with an agent navigating the merchant's ordinary website. The merchant-hosted browser journey and a protocol-backed checkout can have different integration and support responsibilities. Give each an explicit name in the project scope and measurement plan.

For the broader stack, see our commerce protocol comparison. For another checkout contract, the ACP implementation guide covers seller-side readiness without treating the two protocols as interchangeable.

Make discovery describe the integration you actually operate

UCP businesses publish a profile at /.well-known/ucp; platforms advertise their profile through the appropriate request mechanism. The profile includes version, services and payment handlers. Capability negotiation and schema composition determine the supported contract. Follow the current overview specification rather than copying a dated example and assuming every listed transport exists in your deployment.

Your release process should connect each advertised capability to a functioning service and its owning team. A profile is misleading if it announces a checkout capability whose endpoint is disabled in production or a payment handler that nobody has configured.

Use a small release manifest with the deployed endpoint, contract version, test environment, authentication owner and rollback procedure. Keep it with the implementation. If your team changes a service address or retires a capability, update discovery and verify the consumer's behavior rather than changing only an internal configuration file.

Discovery checkEvidence to retainFailure this catches
Profile reachable at the advertised originSuccessful retrieval and expected documentStaging address or proxy route exposed as production
Service points to the intended environmentTrace from profile to responding serviceTest checkout accidentally used by a live consumer
Declared contract matches deployed behaviorSchema validation and supported-operation testsProfile and implementation drift
Payment configuration has an ownerConfirmed handler and merchant accountA technically valid checkout with no usable payment route
Change can be reversed safelyVersioned configuration and rollback exerciseA profile update that cannot be recovered during incidents

These are proposed operational controls, not an assertion that the specification prescribes this particular manifest.

Keep product discovery separate from a payable offer

A product record helps an agent find an item. A checkout must establish whether that exact item can be bought in the buyer's context. Map identifiers across catalog, variant, merchant offer, checkout line and order line before expanding the product set.

Consider an illustrative apparel purchase: the search result identifies a jacket, but the buyer chooses a specific size and delivery destination. The offer must be recalculated for that selection. A product-level availability badge cannot prove that the selected size is available for the chosen delivery method.

Your product-data API should expose the authoritative source and freshness needed for that distinction. The product schema guide addresses public product information; neither public markup nor search relevance replaces checkout validation.

During testing, deliberately change a variant or destination between retrieval and checkout. The acceptance question is whether the new offer is correctly calculated and reviewed, not whether the original conversational description still sounds plausible.

Implement checkout states and handoff deliberately

The UCP checkout specification distinguishes incomplete, escalation, ready, processing, completed and canceled states. complete_in_progress means accepted processing, not an order confirmation. requires_escalation requires a continue_url for handoff. A successful customer experience must explain what remains unresolved and preserve the relevant checkout context.

Build the customer messages with operations staff. An escalation should tell the buyer what to do next; an uncertain result should not claim payment failed; a completed result should identify the merchant order. Test the message against the business record rather than grading only its tone.

Handoff also needs a deliberate boundary. Define what information the destination receives, how it locates the checkout and what happens when the session is no longer usable. Keep personal information out of improvised query strings. A handoff that sends the buyer to an empty cart loses the approved selection even if the link itself works.

Recover uncertainty without creating a new purchase

UCP says not to use Complete Checkout to poll or resume accepted processing. After a missing completion response, use Get Checkout with bounded backoff and stop at expires_at. Only if retrieval still cannot establish whether the original request was processed may the identical original request be retried with the same idempotency key. A genuinely new completion after a return to ready_for_complete needs a fresh key. These rules come from the checkout operation contract.

Implement recovery as explicit application logic. Do not ask a language model to infer whether the payment probably worked from an error message. The model can explain the state, but the system needs authoritative evidence to choose the next commercial action.

The checkout recovery guide develops this distinction further. The important engineering artifact is a transition test: initial state, attempted action, resulting evidence and permitted next action.

Build an acceptance pack around commercial failures

The following cases are a proposed merchant test suite. They supplement protocol conformance with the behavior your buyer and operations team need.

ScenarioRequired business evidenceBuyer-facing behavior to check
Selected variant becomes unavailableCurrent inventory and rejected or revised offerNo invented substitute or order confirmation
Delivery choice changes totalRecalculated merchant offerRevised amount reviewed before purchase
Checkout needs human completionEscalation state and valid continuationClear next step with checkout context preserved
Completion response is lostRetrieved authoritative stateProcessing or uncertainty explained accurately
Session expires during recoveryExpiry and final known stateNo endless retry loop or silent new purchase
Payment succeeds but order evidence is delayedPayment and order reconciliation recordsNo premature duplicate attempt

For each case, specify who investigates if the expected evidence does not arrive. A payment team may know about an authorization while the order team sees nothing. The acceptance pack should force those systems to be reconciled before the support team tells the buyer to try again.

Keep screenshots as interface evidence and sanitized traces as integration evidence. Neither alone establishes every commercial outcome. Avoid retaining unnecessary customer or payment information in test reports.

Release by capability and measure the funnel honestly

Choose a narrow product set and supported fulfillment path. Expand only after the team can operate the first scope, including failure handling. Every additional market, promotion or payment method should have a stated owner and acceptance condition.

Separate product retrievals, checkout creation, buyer approval, accepted completion processing and confirmed merchant orders in reporting. Count an event at the layer that can establish it. A platform announcement or a valid profile is not evidence of shopper adoption; a tool call is not revenue.

Use the pilot cost model to allocate implementation, metered infrastructure and operational support separately. Include work caused by version changes, incident investigation and reconciliation, not just the happy-path API calls.

If you need to connect these steps to an existing merchant stack, review Tru Commerce's unified checkout and book a readiness discussion. Bring the target surface, commerce platform and intended markets so the discussion can produce a bounded implementation scope.

FAQ

Sources

  1. 1.current overview specification - ucp.dev
  2. 2.Google Merchant Center's current UCP guidance - support.google.com
  3. 3.checkout operation contract - ucp.dev

Put this into practice

Walk through your shopper journey, integration requirements and the results you want to measure with Tru Commerce.

Choose a time after the form · 30 minutes · no card

Continue reading