Appearance
WooCommerce
Recipe for managing official WooCommerce.com extensions and subscriptions.
Configuration
Instructions
A detailed placeholder explains how to find the access token and access token secret:
- Read the
woocommerce_helper_dataoption from your WordPress database - Use WP CLI:
wp option get woocommerce_helper_data - If not present, connect your site via WP Admin > WooCommerce > Extensions
Slug
- Label: Slug
- Required: Yes
- Type: Text
Access Token
- Required: Yes
- Type: Secret
Access Token Secret
- Required: Yes
- Type: Secret
Features
How to Obtain License Information
The access token and secret are stored in your WordPress database after connecting your site to WooCommerce.com:
- In your WordPress admin, go to WooCommerce > Extensions
- Click "Connect" to link your site to WooCommerce.com
- Run this WP CLI command to get the credentials:bash
wp option get woocommerce_helper_data - Extract the
access_tokenandaccess_token_secretfrom the output
Notes
- Uses the WooCommerce.com API
- Requires HMAC-SHA256 signature authentication
- Fetches subscriptions from
https://woocommerce.com/wp-json/helper/1.0/subscriptions - Update checks via
https://woocommerce.com/wp-json/helper/1.0/update-check - Validates that you have an active subscription for the product
- Handles authentication errors:
not_found,invalid_signature - Implements retry logic for API responses (up to 5 iterations with 3-second delays)
- Includes rate limit detection
- Uses request caching to prevent excessive API calls
- Maps products by
zip_slugto match subscriptions