

WooCommerce, Affiliatant: the status panel and the settings. The status rows answer the questions support would otherwise have to ask, including whether the key in use is a live key or a test one.
This plugin connects a WooCommerce store to an affiliate programme you run at
Affiliatant. It records which referral brought a shopper to the store, and it
tells Affiliatant when that shopper buys, when the order is refunded and when
a subscription renews. Affiliatant works out what is owed. Nothing in this
plugin moves money.
An Affiliatant account is required. The plugin does nothing until you enter an
API key and a programme id, and it requires WooCommerce: without WooCommerce
active it records nothing and says so on the Plugins screen.
Everything described below is in this plugin. There is no trial, no licence
check, and no feature here that waits for a payment.
?aftid= isIt does not run the affiliate programme. Affiliates, links, commission rates,
approvals and payouts live in Affiliatant, not in WordPress. It does not add
an affiliate dashboard or a registration form to your site. It does not cloak
links. It does not pay anybody.
Every amount is sent as a whole number in the currency’s minor unit, together
with the currency of the order, calculated with string arithmetic rather than
floating point.
This plugin relies on one external service, Affiliatant, and contacts nothing
else. It contacts nothing on activation, and nothing on a schedule, until you
have entered an API key and a programme id on its settings screen.
Affiliatant is a service run by Havenswift Hosting, and it is what makes the
plugin useful: it holds the affiliate programme, matches each sale to the
referral that produced it and calculates the commission.
Affiliatant, from your server. When an order reaches a paid status, is
refunded, is cancelled, or a subscription renews, your server sends that event
to Affiliatant. It is sent by a background job, not during the shopper’s
checkout request. The settings screen’s connection test sends one event the
same way, marked as test data.
What is sent: your programme id and store reference; the order id and order
number; an event id; the kind of event; the order total, tax, shipping and
discount as whole numbers in the minor unit; the currency; the date of the
order; a test flag; the line items, each with its name, SKU, product and
variation ids, quantity, unit and line amounts and tax; any coupon codes used;
the payment method identifier; for a renewal, the id of the original order;
the numeric WordPress customer id where the shopper has an account; the click
id; sub1 to sub5; and the landing URL the shopper arrived on. The request
carries your API key and a user agent naming the versions of this plugin,
WooCommerce and WordPress.
What is not sent: no customer name, no email address, no postal address, no
telephone number and no IP address.
Service: https://affiliatant.com
Terms: https://affiliatant.com/legal/terms
Privacy: https://affiliatant.com/legal/privacy
Affiliatant, from the shopper’s browser. When the receipt pixel is on, the
order-received page includes a one-pixel image served by Affiliatant. The
request is made by the shopper’s browser and therefore carries their IP
address and the address of the page. It is sent only on the order-received
page, and only when the plugin is configured and the pixel setting is on. Turn
the pixel off in the settings and no request is made from any visitor’s
browser.
What is sent: your programme id and store id; the order id; the event id; the
kind of event; the order total, tax and shipping as whole numbers in the minor
unit; the currency; the date of the order; the click id; the coupon code; the
numeric WordPress customer id where the shopper has an account; and a test
flag. The whole query is signed.
Service: https://affiliatant.com
Terms: https://affiliatant.com/legal/terms
Privacy: https://affiliatant.com/legal/privacy
The click beacon described above posts to your own site’s admin-ajax.php. It
is not a request to Affiliatant and no third party receives it.
There is no usage tracking, no telemetry and no analytics of any kind.
The plugin is published by Havenswift Hosting,
https://www.havenswift-hosting.co.uk/
The Affiliatant PHP SDK is included at lib/AffiliatantClient.php. It is one
file, written by us, and it is published under the MIT licence while the rest
of the plugin is GPLv2 or later. MIT is GPL-compatible. No other library ships
with this plugin and nothing is minified.