Mô tả
UCPhub for WooCommerce enables your store to participate in the Universal Commerce Protocol (UCP) ecosystem. AI agents and platforms can discover your products, create checkouts, and complete purchases automatically.
Features
- Serve a UCP discovery profile on your store’s
/.well-known/ucpendpoint - Configure which UCP capabilities your store supports (checkout, orders, fulfillment, discounts)
- Manage payment handler integrations for AI-driven purchases
- Connect to UCPhub for centralized store management
Requirements
- WordPress 5.8 or later
- WooCommerce 5.0 or later (tested up to 10.6.1)
- PHP 7.4 or later
External services
This plugin connects to the UCPhub API to enable UCP protocol functionality for your WooCommerce store.
UCPhub API (api.ucphub.ai)
This plugin sends requests to UCPhub at https://api.ucphub.ai in the following situations:
- On plugin activation: The UCPhub API URL is stored as a setting.
- When serving the UCP discovery profile: The plugin fetches your store’s UCP profile from UCPhub. This happens when any visitor or AI agent accesses
/.well-known/ucpon your store. - When managing store settings: API key, store ID, and store configuration are sent to UCPhub when you connect, disconnect, or update your store settings in the WordPress admin.
- When completing onboarding setup: Store URL, WooCommerce credentials, and selected capabilities are sent during the initial setup process.
Data sent includes: API key, store ID, store URL, WooCommerce REST API credentials (consumer key/secret), and store configuration settings.
This service is provided by UCPhub:
- Service website: https://ucphub.ai
- Terms and Conditions: https://ucphub.ai/terms-and-conditions/
- Privacy Policy: https://ucphub.ai/privacy-policy/
Source Code
The full source code for this plugin, including the React admin dashboard and build tools, is available at:
https://github.com/UCPHub/ucphub-for-woocommerce
Ảnh màn hình

Connect your store with your API Key and Store ID from the UCPhub dashboard. 
General tab showing connection status, organization, and store details. 
Configure which UCP capabilities are available to AI agents. 
Enable payment handlers that AI agents can use for orders. 
Set up policy links included in your UCP profile. 
Tools to verify your UCP profile and test backend connectivity.
Cài đặt
- Upload the
ucphub-for-woocommercefolder to/wp-content/plugins/. - Activate the plugin through the “Plugins” menu in WordPress.
- Go to the UCPhub settings page and connect your store using your API key and Store ID from the UCPhub dashboard.
Hỏi đáp
-
What is UCP?
-
UCP (Universal Commerce Protocol) is a protocol that enables AI agents and platforms to discover products, create checkouts, and complete purchases on behalf of users. Learn more at ucp.dev.
-
Do I need a UCPhub account?
-
Yes. You need to create an account at app.ucphub.ai and set up your store to get an API key and Store ID.
Đánh giá
Người đóng góp & Lập trình viên
“UCPhub for WooCommerce” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “UCPhub for WooCommerce” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
2.0.0
- Major: rewrote the admin UI from React/Vite to native PHP server-side rendering for faster loads, smaller plugin footprint, and simpler distribution.
- New: embedded checkout — AI agents can now host a fully themed WooCommerce checkout inside their chat surface via a sandboxed iframe.
- New: Embedded Protocol (EP) support — your store streams live cart/checkout/order state-change notifications to the agent host.
- New: admin colour scheme (light/dark) is applied server-side using
ec_color_scheme, eliminating flash-of-wrong-theme on load. - New: ECP link delegation — agent-initiated continue/cancel/error returns route back to the WooCommerce session correctly.
- Tooling: EP iframe bundles now build with
@wordpress/scripts; dev pipeline runs Tailwind CLI + wp-scripts concurrently with a staging mirror. - Compatibility: declared support for WordPress 7.0; cleared all Plugin Check warnings.
- Fixed: zip distribution pipeline produces a clean artefact and serves all assets over HTTPS.
1.0.5
- Fixed disconnect/reset preserving the configured UCPhub API URL so reconnects continue to use the correct backend.
1.0.4
- Consume capabilities from the API.
UCPHUB_API_SUPPORTED_VERSIONdefines exact UCP specification version we support and consume. - Fixed duplicate network requests when switching between admin tabs and saving settings.
1.0.3
- Declared compatibility with WooCommerce High-Performance Order Storage (HPOS).
- Added WooCommerce version compatibility headers.
1.0.2
- Smarter reconnect handling — API key rotation no longer requires full re-onboarding.
- Credentials are now validated against the backend before saving.
- Fixed onboarding flow being interrupted after credential validation.
1.0.1
- Fixed inline script for notice dismissal to use wp_enqueue_script and wp_add_inline_script per WordPress guidelines.
1.0.0
- Initial release.
