AgentCart ShopBridge connects opt-in WooCommerce shops to buyer agents. Discover a verified shop, compare a final quote, and put the human in control of payment.
Production-candidate alpha. Testnet and sandbox only. No real money moves.
Three independent pieces. No AgentCart buyer service required.
The architecture
A bridge, not a replacement.
Merchant / plugin
Your shop stays your shop
You choose which products to expose. The plugin publishes the manifest, registry record and catalog, quote, order and status endpoints. WooCommerce keeps products, stock, tax, shipping, fulfillment and refunds; you stay merchant of record.
Trust / registry
Identity, not paid placement
The Merchant Registry binds a domain, controller wallet, record hash and record URL. The merchant’s wallet signs its entry. Discovery Facets adds category routing. Both contracts live on Tempo Moderato testnet; neither ranks offers.
Buyer / skill
Direct from agent to shop
Any agent harness can use ShopBridge Direct: instructions plus a Python helper, JSON in and out. It reads the registry over JSON-RPC, verifies records before contacting shops, and compares offers by final total and delivery.
The optional AgentCart service adds durable household policy, approval state and audit records. The direct skill does not need it.
From discovery to aftercare
How it works
Finding an offer is not permission to pay. The exact quote passes through human approval, the buyer’s payment account and the merchant’s verifier.
The plugin moves no money. The skill has no built-in signer. Payment and verification are separate responsibilities.
Start with the buyer skill.Load ShopBridge Direct in the agent harness. Discovery does not need a wallet.
Verify the registry record.Read both on-chain contracts directly over JSON-RPC, then check the selected shop’s record, domain proof and revocations before catalog or quote calls.
Get a final WooCommerce quote.Compare using country and postcode only. Send the complete delivery address only to the selected verified merchant and refresh its quote.
Ask the human to approve.The exact packet binds merchant, items, total, delivery and payment destination with an approval_hash. Confirm payment readiness before requesting approval.
Hand off payment.Only after approval does payment_handoff produce a request. The buyer’s own wallet or provider pays.
Verify settlement.The merchant-run external verifier checks amount, currency, destination, quote hash, payment contract hash and a replay-safe transaction reference.
Mark the order paid.WooCommerce does so only after successful verification; the merchant handles fulfillment and support.
Follow the order.Read status and tracking with the status token. Refund and cancellation aftercare is drafted for the merchant, not executed by the skill.