
前言介紹
- 這款 WordPress 外掛「UCP Adapter For WooCommerce」是 2026-01-26 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2026-01-29,距離現在已有 28 天。
- 外掛最低要求 WordPress 6.9 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
api | ucp | rest | commerce | integration |
內容簡介
總結:UCP Adapter For WooCommerce 是一個功能強大的 WordPress 外掛,提供 REST API 端點以進行通用商務平台 (UCP) 整合,能夠透過安全標準的 API 端點,實現您的 WordPress 網站與外部商務平台之間的無縫通信。
問題與答案:
1. UCP Adapter For WooCommerce 提供的主要功能有哪些?
- 會話管理:建立和管理自動到期的使用者會話
- REST API 端點:三個核心端點 (會話、更新、完成) 用於 UCP 通信
- 首要安全性:API 金鑰驗證、速率限制和 IP 白名單
- 開發人員友好:乾淨、可擴展的代碼遵循 WordPress 編碼標準
- 可擴展性:透過鉤子和過濾器進行自定義實現
- 管理界面:易於使用的設置和會話監控儀表板
- 效率存儲:具有自動清理功能的有效會話存儲
2. UCP Adapter For WooCommerce 的 REST API 端點主要有哪些?
- POST /wp-json/ucp/v1/session – 創建一個新的會話
- PUT /wp-json/ucp/v1/update/{session_id} – 更新會話數據
- POST /wp-json/ucp/v1/complete/{session_id} – 完成一個會話
- GET /wp-json/ucp/v1/status/{session_id} – 檢查會話狀態
3. UCP Adapter For WooCommerce 的開發者資源可以用來建立哪些自定義 UCP 配接器?
- 自定義電子商務解決方案
- 會員插件
- 數碼產品處理程序
- MemberPress
4. UCP Adapter For WooCommerce 的隱私政策是如何設計的?
- UCP Adapter For WooCommerce 將會話數據暫時存儲在您的 WordPress 數據庫中,並根據您的配置保留設置自動清理數據。
- 這些會話數據可能包括:用戶識別符、平台信息、通過 API 調用提供的自定義數據。
- 使用此外掛時,您有責任確保遵守隱私法規 (GDPR、CCPA 等)。
原文外掛簡介
UCP Adapter For WooCommerce is a powerful WordPress plugin that provides REST API endpoints for Universal Commerce Platform (UCP) integration. It enables seamless communication between your WordPress site and external commerce platforms through secure, standardized API endpoints.
Thank you for using our plugin! This add-on connects your WordPress site to the powerful world of WordPress’s Agentic Commerce, allowing you to create automated shopping assistants for your users.
🚀 Core Features
Our plugin leverages WordPress’s MCP (Model Context Protocol) servers plugin and the open Universal Commerce Protocol (UCP) standard to enable secure, intelligent commerce actions. Here’s what you can build:
Smart Product Discovery: Enable agents to search products across WordPress merchants, apply filters, and display interactive product cards directly within a chat interface on your site.
Seamless Checkout: Allow agents to create checkout sessions, collect buyer information, attach payment details, and complete purchases on behalf of users.
Order Tracking: After a purchase, agents can track order status, fulfillment updates, and post-purchase events like refunds or returns.
🔗 How It Works
The plugin acts as a Platform within the UCP framework, facilitating secure communication between your users (buyers), WordPress Merchants, and payment or credential providers. It implements these key UCP capabilities:
Discovery → Checkout: An agent can help a user find a product and instantly retrieve the necessary details to start a checkout session.
Checkout Completion: The agent can securely submit the checkout. If further user action is needed, it can gracefully open a web checkout page.
Post-Purchase: The agent provides ongoing value by fetching real-time updates on order delivery and status changes.
💡 Use Case Example
Imagine a user in your site’s chat asking, “Find me a red coffee mug under $20.” The plugin-powered agent can:
* Query the WordPress Catalog across multiple stores.
* Return filtered, interactive results.
* Guide the user through selecting a variant, adding it to cart, and checking out—all without leaving your WordPress environment.
* Get this client https://github.com/dhirajpatra/adk-agent-gcp/tree/main/ai-agents-adk/ucp_recommendation_system to connect your site with AI agent.
Key Features
Session Management: Create and manage user sessions with automatic expiration
REST API Endpoints: Three core endpoints (Session, Update, Complete) for UCP communication
Security First: API key authentication, rate limiting, and IP whitelisting
Developer Friendly: Clean, extensible code following WordPress coding standards
Extensible: Hooks and filters throughout for custom implementations
Admin Interface: Easy-to-use settings and session monitoring dashboard
Database Storage: Efficient session storage with automatic cleanup
REST API Endpoints
POST /wp-json/ucp/v1/session – Create a new session
PUT /wp-json/ucp/v1/update/{session_id} – Update session data
POST /wp-json/ucp/v1/complete/{session_id} – Complete a session
GET /wp-json/ucp/v1/status/{session_id} – Check session status
GET /wp-json/ucp/v1/sessions – List all sessions
GET /wp-json/ucp/v1/product/search – Search for products
Use Cases
E-commerce platform integration
Third-party checkout systems
Payment gateway connections
Order management systems
Multi-platform commerce solutions
Developer Resources
Build custom UCP adapters for platforms like:
* Custom e-commerce solutions
* Membership plugins
* Digital product handlers
* MemberPress
API Documentation
Create Session
Endpoint: POST /wp-json/ucp/v1/session
Headers:
Content-Type: application/json
X-UCP-API-Key: your-api-key
Body:
json
{
"platform": "woocommerce",
"user_data": {
"user_id": 123,
"email": "[email protected]"
}
}
Response:
json
{
"success": true,
"session_id": "ucp_abc123...",
"expires_at": 1234567890,
"message": "Session created successfully."
}
Update Session
Endpoint: PUT /wp-json/ucp/v1/update/{session_id}
Body:
json
{
"action": "add_item",
"data": {
"product_id": 456,
"quantity": 2
}
}
Complete Session
Endpoint: POST /wp-json/ucp/v1/complete/{session_id}
Body:
json
{
"status": "completed",
"metadata": {
"order_id": 789
}
}
List Sessions
Endpoint: GET /wp-json/ucp/v1/sessions
Parameters:
* page: Page number (optional, default 1)
* limit: Results per page (optional, default 10)
Response:
json
{
"success": true,
"data": [
{
"session_id": "ucp_abc123...",
"status": "active",
"created_at": "2024-01-01 12:00:00",
"expires": 1234567890
}
],
"meta": {
"page": 1,
"limit": 10,
"total": 5
}
}
Product Search
Endpoint: GET /wp-json/ucp/v1/product/search
Parameters:
* search: Search query (required)
* page: Page number (optional, default 1)
* limit: Results per page (optional, default 10)
Response:
json
{
"success": true,
"data": [
{
"id": 123,
"name": "T-Shirt",
"price": "20.00",
"image": "https://example.com/image.jpg",
"permalink": "https://example.com/product/t-shirt"
}
],
"meta": {
"page": 1,
"limit": 10,
"search": "shirt",
"count": 1
}
}
Actions Available
add_item – Add an item to the session
update_item – Update an existing item
remove_item – Remove an item from the session
set_data – Set custom session data
Custom actions via filters
Privacy Policy
UCP Adapter For WooCommerce stores session data temporarily in your WordPress database. This data is automatically cleaned up based on your configured retention settings. The plugin does not send any data to external services.
Session data may include:
* User identifiers
* Platform information
* Custom data provided via API calls
It is your responsibility to ensure compliance with privacy regulations (GDPR, CCPA, etc.) when using this plugin.
Credits
Developed with WordPress coding standards and best practices in mind.
Support
Support Forum: https://wordpress.org/support/plugin/ucp-adapter-for-woocommerce
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「UCP Adapter For WooCommerce」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.1 | 1.0.2 | 1.0.3 | trunk |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。
