| 开发者 |
Waffar AD
waffarx |
|---|---|
| 更新时间 | 2026年6月17日 22:13 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
Affiliate tracking: Settings → WaffarAD Tracking → "Enable affiliate order tracking" (on by default). In-App Order gateway: WooCommerce → Settings → Payments → In-App Order → Enable/Disable. WaffarX Coupons: Settings → WaffarAD Tracking → "Enable WaffarX Coupons" (on by default). WaffarX Platform API: Settings → WaffarAD Tracking → "Enable the WaffarX Platform API" (on by default). Turn this off if you do not want the catalog/cart/shipping/order-list/refund API exposed. Each toggle notifies WaffarX.
Settings → WaffarAD Tracking → "WaffarX API Credentials": a single API Key and API Secret, provided to you by WaffarX. This one pair powers everything — it identifies your store, signs outbound reporting, and authenticates every inbound WaffarX API call. Alternatively, define WAFFARAD_API_KEY and WAFFARAD_API_SECRET in wp-config.php; those constants take precedence. No WooCommerce REST consumer keys are needed. Inbound requests are not run as any WordPress user; the Platform API authorizes its internal WooCommerce calls only for the duration of each request.
With the single API Secret, either way:
WooCommerce → Settings → Payments → In-App Order: the allowed gateway values and allowed gateway statuses. (Authentication uses the unified WaffarX API Secret above — there is no separate gateway token.)
Base: https://your-domain.com/wp-json/waffarx/v1
Base: https://your-domain.com/wp-json/waffarx/v1 (all authenticated with the unified WaffarX credential; enabled via Settings → WaffarAD Tracking → "WaffarX Platform API"):
Base: https://your-domain.com/wp-json/waffarx/v1