order.*. Every confirm a shopper approves through the Commerce SDK produces exactly one order.placed or order.failed to the company that owns the connection. order_id is the same key the buy tool’s answer carries. Reconcile on it, never on amount and time. Getting started shows how to post these moments into the shopper’s chat.
Build the receipt from order events
Agentcard places a retail order, such as an Amazon or Walmart order, from its own purchasing account, so the store’s confirmation and shipping emails reach neither the shopper nor your app. Build the shopper’s receipt fromorder.placed, which carries the order’s total, the card that paid and the products in line_items, and order.confirmed, which carries the store’s order number in retailer_order_id, the delivery_window, final_total_cents, charged_cents and the payment_source. Tell the shopper their order shipped from order.updated, whose shipments carry each package’s carrier and tracking link.