Merchant Guide

Configuring Your Store

Follow this guide to connect your WooCommerce store to the GatewayAgentPay . You'll need access to both your WordPress admin panel and the GatewayAgentPay dashboard.

1

Connect Your Store

Start by registering your store in the GatewayAgentPay dashboard. This creates a secure connection for processing payments.

Create a New Store

Click "Add New Store" in the gateway dashboard.

WooCommerce API Credentials

Go to WooCommerce > Settings > Advanced > REST API and generate a new key with Read/Write permissions.

Consumer Key: ck_123...
Consumer Secret: cs_456...

Wallet & Asset Configuration

Enter the wallet address where you want to receive funds and select your preferred settlement asset (e.g., USDC).

Gateway Dashboard - Create Store
2

Install & Configure Plugin

You need to install the GatewayAgentPay plugin on your WooCommerce store.

Installation Steps

  1. Click the Download button below to visit the GitHub repository.
  2. Download the latest woocommerce-x402.zip file from the Releases section.
  3. Go to your WordPress DashboardPluginsAdd New.
  4. Click Upload Plugin, select the zip file, and click Install Now.
  5. Activate the plugin after installation.

Set Store ID

Copy the `storeId` generated in the previous step from the Gateway Dashboard. Paste it into the plugin settings in WordPress.

WordPress Plugin Settings

You're Ready!

Your store is now active and ready to process x402 payments. AI agents can discover your products and pay securely on-chain.

System Active

Navigate to your store's shop page and check the headers (using Inspect Element or curl) to see the `402 Payment Required` signal.

Agent Order in WooCommerce

Result: Agents successfully placing orders