When the shopper is an AI agent.

E-commerceAIWeb design

An agent buying for someone reads your shop like a machine. What it needs to get things right is what any customer in a hurry needs.

On 12 March, Banco Santander and Visa announced they had completed a controlled pilot of payments initiated by AI agents in Argentina, Brazil, Chile, Mexico and Uruguay. The agents bought books in four of those countries and chocolates in Brazil, and the pilot validated consent capture, secure data handling and interoperability between merchants and payment networks (Santander).

On 30 September, Mercado Pago released an open-source beta library for bringing its checkout into a shopping agent's flow (Mercado Pago Developers, in Spanish). The library itself matters less than the rules written into it, because they apply to any shop, agent or no agent.

What the model does not control

According to Mercado Pago, the library prepares the payment on the shop's own server and starts the checkout without handing the model control over prices, credentials or the creation of the payment. Before creating an order, it checks the products, prices, availability and currency against the shop's catalogue. It only hands over the payment address after verifying that it belongs to Mercado Pago's allowed domains.

It also carries a warning worth reading twice: starting that handoff does not confirm the payment. The shop remains responsible for storing its idempotency keys and references, handling indeterminate states, processing notifications and reconciling orders before releasing the purchase.

As a design rule: the agent can choose and propose, but price, stock and payment are decided by the shop's server at the moment of purchase, from its own data. What the agent read ten minutes ago, or understood from a page, does not count.

What does an online shop need for an AI agent to buy from it?

Clear, machine-readable product data with price, currency, availability, shipping and returns; unambiguous written policies; prices and stock validated on the server at the moment of purchase; an explicit confirmation from the person before charging; and a record of who started each order. They are the basics of a good shop, applied more strictly.

Data a machine does not have to guess

A person can work out that "free shipping on two or more" only applies in the capital because a banner says so. An agent may never see it. Anything that changes the decision to buy has to be written as text, on the product page or linked from it, and not only in an image.

  • An unambiguous name and variant: size, colour, capacity, pack. "Pack of 6" is not "single unit".
  • A price with its currency and, if it varies with the payment method or the day's rate, the rule in writing.
  • Real availability, not an "in stock" hard-coded in the template.
  • Shipping and returns: where, how long, how much, and on what conditions things come back.
  • Structured data using schema.org's vocabulary for offers, repeating in machine form what the page says in text.

Structured data is no substitute for the page. If it states one price and the page another, the shop has two versions of the truth, and that gets fixed in the content before the code.

The person confirms; the shop keeps a record

Santander's pilot listed consent capture among the things to validate. For a shop that means a step nobody skips: before charging, the person sees the final summary, with products, quantities, total, shipping and delivery time, and accepts it. If the agent works within limits the person set, those limits are enforced on the server, not in the wording of a conversation.

Afterwards, the order records how it started. When someone complains "I never ordered this", customer service needs to know whether the order came from the website, a conversation or an agent, with what confirmation and at what time.

Payment is confirmed by reconciliation

An agent that receives a payment address does not know whether the payment went through. Nor does the shop, just because it sent the customer to checkout. It knows when the provider's notification and the reconciliation confirm it, and only then releases the purchase. If an attempt fails halfway, it has to be retryable without charging twice: that is the subject of the automation that sends twice.

The same rule for the assistant on your own site

Many shops already have a chat assistant. The rule Mercado Pago applies to outside agents holds for the one inside: the assistant can look things up in the catalogue and make suggestions, but it does not invent prices or discounts and does not create charges on its own. If a customer asks it for a discount, the answer comes from a written rule or a person.

And if your shop charges in a currency that moves, the agent cannot carry yesterday's price into today's order: the order is calculated at the current rate, as described in pricing in a currency that moves. Getting an AI to find and cite you is a different job, covered in getting found by AI assistants, not only by Google.

Where to start

  1. Open three products and note what a person would have to guess: that is the first thing to write down.
  2. Check that price, currency and stock come from the same place on the page, in the basket and in the structured data.
  3. Read your shipping and returns policies as if you did not know your own business.
  4. Make sure payment is confirmed by notification and reconciliation, not by the customer's redirect.
  5. Decide what your own assistant may do and what stays with a person.

Does your shop put into words everything a buyer needs to know? Let us review it together before an agent reads it.

FAQ

Do I need to integrate my shop with AI agents now?

Not to get started. What prepares a shop for an agent, clear data, prices validated on the server, written policies and reconciled payments, is the same work that makes it better for people. Integrating with a particular provider comes later, if your customers use it.

Can an agent buy something the customer did not want?

It can get things wrong if the shop is ambiguous. That is why the final summary is confirmed before charging and the limits the person sets are enforced on the server. Each order should record how it started, so a complaint can be resolved.

Is structured data enough for an agent to understand my shop?

No. It repeats in machine form what the page already says; if the page is ambiguous or contradicts that data, the agent inherits the confusion. Clear text first, then the structured data that repeats it.

More insights