Documentation Getting Started How It Works

How It Works

Architecture Overview

AgenticCart consists of two main components that work together seamlessly to enable AI-powered commerce for your WooCommerce store.

WordPress Plugin

Installed on your WooCommerce store, the plugin handles:

  • Product feed generation with rich metadata
  • Cart calculations (pricing, taxes, shipping)
  • Order creation after successful payment
  • Real-time inventory synchronization

Dashboard

Your centralized control center for:

  • Domain management and verification
  • License activation and management
  • Checkout session orchestration
  • Payment processing through Stripe
  • Feed URL hosting and proxy services

Complete Purchase Flow

Follow the customer journey from product discovery to order fulfillment:

1

Product Discovery

Customer asks ChatGPT for product recommendations. ChatGPT crawls your product feed via the public endpoint to find matching products.

Customer: "I need a waterproof hiking jacket under $200"
2

Product Matching

AI analyzes customer intent and matches it against product data including descriptions, categories, attributes, and reviews to find the best options.

3

Checkout Initiation

When customer wants to purchase, ChatGPT creates a checkout session via AgenticCart dashboard API with the selected products.

4

Cart Calculation

Dashboard proxies request to your WooCommerce store, which calculates totals including taxes, shipping costs, and any applicable discounts.

5

Payment Authorization

Customer provides payment details to ChatGPT and saves their preferred payment method. The payment info is sent directly to Stripe (your Payment Service Provider).

Key Security Feature: Payment data goes directly from ChatGPT to Stripe, never passing through AgenticCart or your servers. This is called "delegated payment" and stays outside PCI scope.

5a

Payment Token Creation

Stripe processes the delegated payment and returns a single-use payment token scoped specifically to this transaction with predefined allowances. This token is scoped outside of PCI compliance requirements.

5b

Complete Checkout

OpenAI forwards the payment token to AgenticCart during the complete-checkout API call. AgenticCart uses this token to finalize the transaction with Stripe and capture the payment.

6

Order Creation

After successful payment, dashboard notifies your WooCommerce store to create the order with full customer details, shipping address, and payment confirmation.

7

Fulfillment

Order appears in WooCommerce like any other order. Process and fulfill using your existing workflow, shipping integrations, and inventory management.

Seamless Integration

The entire process happens automatically without any manual intervention. Your customers experience a smooth, AI-guided purchase while you maintain full control over pricing, inventory, and fulfillment.