plugin-icon

WaffarAD Affiliate Network

By waffarx·
WaffarAD (WaffarX's affiliate network) integration for WooCommerce: affiliate order tracking plus the WaffarX In-App Order payment gateway.
Version
2.0.0
Active installations
10
Last updated
Jun 17, 2026

WaffarAD is WaffarX’s affiliate network. WaffarX is the first cashback aggregator in the MENA region. This plugin connects your WooCommerce store to WaffarAD/WaffarX and provides three features, each of which can be enabled independently:

  1. Affiliate order tracking — reports orders referred through WaffarAD (and their status changes) to the WaffarX conversion server so conversions and cashback can be attributed and reconciled.

  2. In-App Order payment gateway — an API-only gateway (hidden from the storefront checkout) that lets WaffarX place orders on your store via a private REST API, carrying installment/BNPL transaction metadata (e.g. ValU).

  3. WaffarX Coupons — an API-only feature that lets WaffarX mint single-use WooCommerce coupons when a customer redeems a WaffarX gift-card voucher. Issuance, redemption (with the actual discount applied), and reversal are reported to WaffarX for billing reconciliation.

  4. WaffarX Platform API — a private REST API that lets WaffarX run the full in-app commerce flow (browse products, read payment gateways and shipping data, quote shipping rates, place/fetch/cancel/refund orders, and manage a cart) authenticated by the single WaffarX credential. This means WaffarX does not need separate WooCommerce REST consumer keys; the merchant only configures one API Key and API Secret.

External services

This plugin connects to services operated by WaffarAD/WaffarX:

  1. Tracking script — https://waffarad.com/integration/general.js A JavaScript file loaded on the front end that sets and reads the WaffarAD affiliate tracking cookies. Loaded only while affiliate tracking is enabled.

  2. Conversion server — https://conversion.waffarx.com The plugin POSTs to this server:

    • Woo/AddOrder — when a tracked order is created (the order details and affiliate identifiers).
    • Woo/UpdateOrder — when a tracked order changes status (updated status and totals).
    • Woo/PluginState — when the plugin or a feature is activated, deactivated, toggled, or uninstalled.
    • Woo/Settings — read periodically (hourly) for WaffarX-controlled settings, such as whether to report updates for all orders.
    • Woo/Coupon — when a WaffarX-issued coupon is created (issued), redeemed on an order, or reversed (the order is cancelled/refunded). Each event carries a unique event id and, for redemptions/reversals, the actual discount applied.

    When an API secret is configured, requests are signed with HMAC-SHA256 (X-WaffarX-Key / X-WaffarX-Timestamp / X-WaffarX-Signature); the secret itself is never transmitted.

The plugin also exposes an inbound REST API (namespace waffarx/v1) that WaffarX calls to place/fetch/cancel/refund orders, mint/fetch/void coupons, and read catalog/shipping/payment data (the WaffarX Platform API). All of it is authenticated with the single WaffarX API credential — either a Bearer token (the API Secret) or an HMAC signature — so no WooCommerce consumer keys are required. See the FAQ.

These services are provided by WaffarAD. For details, see https://waffarad.com/Home/PrivacyPolicy

Freeon paid plans
Tested up to
WordPress 7.0
This plugin is available for download for your site.