/woocommerce-ai-skills:woo-payment-gateway-statusfrom woocommerce-ai-skills
Lists all WooCommerce payment gateways with enabled status, test-mode flags, missing credentials, and display order via the wc/v3 REST API. Read-only.
Ships in woocommerce-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
List all WooCommerce payment gateways — enabled and disabled — with their configuration details. Identifies gateways in test/sandbox mode, missing API credentials, or incorrect ordering. Read-only.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
store_url | string | yes | — | Base URL of the WooCommerce store |
consumer_key | string | yes | — | WooCommerce REST API consumer key (ck_...) |
consumer_secret | string | yes | — | WooCommerce REST API consumer secret (cs_...) |
dry_run | bool | no | false | No effect — read-only skill |
format | string | no | human | Output format: human or json |
enabled_only | bool | no | false | Report only enabled gateways |
WooCommerce uses OAuth 1.0a for HTTP and Basic Auth over HTTPS.
For HTTPS stores (recommended):
Authorization: Basic base64(consumer_key:consumer_secret)
For HTTP stores (development only): Use OAuth 1.0a — include oauth_consumer_key, oauth_nonce, oauth_signature, oauth_signature_method=HMAC-SHA1, oauth_timestamp, oauth_version=1.0
Never log or output consumer_key or consumer_secret values.
See docs/AUTHENTICATION.md for full setup instructions.
Read-only skill — no mutations are executed. Safe to run at any time.
Step 1 — Fetch all payment gateways
GET /wp-json/wc/v3/payment_gateways
Returns array of gateway objects. Extract: id, title, description, order, enabled, method_title, method_description, settings.
Step 2 — Parse settings for test mode and credentials
For each gateway, inspect settings object:
testmode, sandbox, test — flag if enabledapi_key, client_id, publishable_key) — flag if emptyStep 3 — Build status table
For each gateway:
status: enabled / disabledmode: live / test / unknowncredentials_set: true / false (based on non-empty credential fields)order: display order integerStep 4 — Export
GET /wp-json/wc/v3/payment_gateways — gateway list and configuration
The /payment_gateways endpoint returns all gateways in a single response (no pagination required). No per_page/page parameters are needed.
Claude MUST emit the following output at each stage. This is mandatory.
STARTUP:
╔══════════════════════════════════════════╗
║ SKILL: woo-payment-gateway-status ║
║ STORE: <store_url> ║
║ TIME: <ISO-8601 UTC> ║
║ MODE: READ-ONLY ║
╚══════════════════════════════════════════╝
PER-OPERATION (emit after each API call batch):
[N/TOTAL] <METHOD> <endpoint> → <result_count> records | params: <key>=<val>
COMPLETION (human format):
╔══════════════════════════════════════════╗
║ COMPLETE: woo-payment-gateway-status ║
║ RECORDS PROCESSED: <n> ║
║ OUTPUT: <filename> ║
╚══════════════════════════════════════════╝
COMPLETION (json format):
{
"skill": "woo-payment-gateway-status",
"store": "<store_url>",
"completed_at": "<ISO-8601>",
"records_processed": <n>,
"output_file": "<path>",
"dry_run": false
}
CSV filename: woo-payment-gateway-status_<YYYY-MM-DD>.csv
Columns: gateway_id, title, enabled, mode, credentials_set, display_order, method_title
| Error | Cause | Resolution |
|---|---|---|
401 Unauthorized | Invalid credentials | Verify consumer_key and consumer_secret |
403 Forbidden | Key lacks Read scope | Regenerate with Read scope |
429 Too Many Requests | Rate limit | Wait 2 seconds and retry |
credentials_set: true — an enabled gateway with empty credentials will silently fail at checkout.display_order — the first enabled gateway is the default at checkout.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
woocommerce, payment-gateways, store-management, rest-api, read-only
Other plugins' skills for the same job
56 skills in this plugin
/woo-abandoned-cart-recoveryRead-only: Query WooCommerce pending orders older than a configurable threshold and export a re-engagement list for abandoned cart recovery campaigns./woo-address-correctionUpdate billing or shipping address fields on a WooCommerce order with a private audit note./woo-average-order-value-trendsRead-only: Track average order value over rolling windows and flag statistically significant changes.Generated from the plugin's indexed repository (navarroido/woocommerce-skill) — no native marketplace selected
npx claudepluginhub p/navarroido-woocommerce-ai-skills