| 开发者 | axlabs |
|---|---|
| 更新时间 | 2026年9月24日 19:27 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
*.ax402.io) under the same operator.
mainnet-public.mirrornode.hedera.com / testnet.mirrornode.hedera.com) to read token balances and network readiness.
build/. Readable source, build tooling, and third-party license notes:
https://github.com/AxLabs/ax402-woocommerce-extension
See also assets/THIRD_PARTY_LICENSES.md in the plugin package.
```
npm --prefix plugin ci
npm --prefix plugin run build
Optional lean EVM-only bundle (stubs Hedera): AX402_EVM_ONLY=1 npm --prefix plugin run build
```
The default build includes Hedera WalletConnect support (~2MB pay-page bundle).
ax402-for-woocommerce folder to /wp-content/plugins/, or install the zip via Plugins → Add New → Upload.Sign in at https://ax402.io, open API keys, give the key a name (for example “Ax402 for WooCommerce”), select All scopes, then Create API Key.
Order totals are priced in USD and mapped to Ax402 settlement tokens. Non-USD store currencies are not supported in this release.
Yes, by design. Agent browse/buy routes (/wp-json/ax402/v1) and UCP shopping routes (/wp-json/ucp/v1) are public storefront APIs for humans and buying agents. Each route sets permission_callback to __return_true. The fulfill callback is public so Ax402 can confirm payment; it is gated by WooCommerce order key plus a one-time fulfill token. UCP session, cart, and order URLs use the WooCommerce order key as the capability. Settlement selection requires a valid order key. Disable UCP in Ax402 settings if you do not want agent discovery.
Universal Commerce Protocol support for buying agents (/.well-known/ucp and /wp-json/ucp/v1). On by default. Disable it on the Ax402 settings screen if you do not want agent discovery. The human pay page does not change. x402 payment on that surface follows https://github.com/AxLabs/ucp-x402-binding
Yes. In gateway settings, leave “Show Ax402 credit on the pay page” unchecked (default).
pay_to_addresses) with cached USD FX rates/.well-known/ucp plus REST and MCP shopping (off by default)complete_checkout stays JSON-RPC 200 with PaymentRequired on structuredContent (nested payment_required kept for UCP clients)requires_escalation plus continue_url when Woo has no shipping rates; JSON body payment.payment_signature for large JWTs (Hedera)/wp-json/ax402/v1 agent REST unchanged