| 开发者 |
wedevs
tareq1988 nizamuddinbabu |
|---|---|
| 更新时间 | 2026年11月12日 19:16 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
?affiliate=ID to any product URL sends visitors straight to that product. FlyAffiliate records the visit and sets a first-party cookie that remembers who sent them._flyaffiliate_rate product meta. Shipping and tax stay out of the commission unless you say otherwise.[flyaffiliate_dashboard].[flyaffiliate_register].flyaffiliate_ hooks, overridable templates and WP-CLI demo data for developersflyaffiliate_ref. It holds two numbers, the affiliate ID and the visit ID, and it is signed so nobody can forge it. The cookie is HttpOnly, is never shared and lasts for the attribution window you set, which is 30 days by default.
Usage Data (Appsero)
FlyAffiliate uses the Appsero SDK to collect usage data, only once you allow it. This helps us troubleshoot problems faster and improve the plugin.
Choosing No thanks, or leaving Share Essentials off, tells Appsero only that this site declined. When you deactivate the plugin, a form asks why. Submit & Deactivate sends your answer with the data above, and Skip & Deactivate sends nothing.
Learn more about how Appsero collects and uses this data.
Extend It Your Way
FlyAffiliate follows the same architecture as Dokan. You get service providers, manager classes, overridable templates, flyaffiliate_ hooks and a REST API under flyaffiliate/v1 for every resource. Developers can also seed demo data with wp flyaffiliate seed.
Contribute on GitHub
FlyAffiliate is built in the open on GitHub. Bug reports, pull requests and ideas are all welcome there.
The JavaScript and CSS in assets/ are compiled from the TypeScript and SCSS sources under src/ in that repository. Running npm run build reproduces them.
/wp-content/plugins/flyaffiliate.No. Affiliates, referral links, visits, hand-entered commissions and payouts all work on WordPress alone. Commissions from orders come from WooCommerce today, and that integration switches on by itself when WooCommerce is active. More platforms are planned.
Yes. Every affiliate carries the Affiliate role (flyaffiliate_affiliate), so you can filter them on the Users screen. The role grants nothing beyond reading the site. Whether someone is an active affiliate is set on the FlyAffiliate > Affiliates screen.
Per order item. FlyAffiliate applies your default rate to each item and always caps the result at your maximum rate. A product can carry its own rate through the _flyaffiliate_rate product meta, which still respects the maximum. Shipping and tax are left out of the amount unless you turn that off.
Two things must be true. The hold period has passed since the order, and the order is processing or completed. For cash on delivery, the order must be completed. With a hold period of zero, the commission is payable as soon as the order is paid.
By default, nothing changes. Turn on Reject commissions on refund under Commissions > Rules and a refunded order rejects any commission that has not been paid yet. A failed or cancelled order always rejects its commissions, and an order that is paid again brings them back. A commission that has already been paid out is never reversed.
Yes. Go to FlyAffiliate > Commissions > Add commission and enter the affiliate, amount, order reference, sale amount, origin, date, type and status. A hand-entered commission linked to a WooCommerce order follows that order like any other.
You create a payout from the unpaid commissions, with a minimum amount you can set, and pay through the channel you already use. FlyAffiliate records one payment per affiliate. You mark each one paid once the money has gone out, and you can export the whole batch as CSV. The free version has no automated transfers. FlyAffiliate Pro adds PayPal Payouts, which sends the payments for you.
Not by default. Self-referrals are blocked, and you can allow them under Commissions > Rules if your program works that way.
It uses one first-party cookie, flyaffiliate_ref. It is set when someone arrives through a referral link and holds the affiliate ID and the visit ID. That way a purchase made later in the same browser is credited to the right affiliate. The cookie is HttpOnly and lasts for your attribution window, which is 30 days by default. No third-party cookie is set and no visitor data leaves your site.
Yes. The default is affiliate, as in ?affiliate=15. You can change it under FlyAffiliate > Settings > General > Tracking.
Yes. Copy a file from the plugin's templates folder into a flyaffiliate folder in your theme, keep the same path, and WordPress uses your copy instead.
Yes, with FlyAffiliate Pro. Its Dokan extension lets each vendor run their own affiliate program and fund the commissions on their own products, while the marketplace keeps its full share. It needs Dokan 5.3.2 or newer.
No. FlyAffiliate focuses on single-tier affiliate programs.
p or page_id, which credited affiliates for ordinary visits; a site that already saved one falls back to affiliate.-5, 5abc or an array no longer credit an affiliate.[flyaffiliate_dashboard] with the referral link and link generator, balance, commissions, visits, payouts and settings, and registration shortcode [flyaffiliate_register].flyaffiliate/v1 for affiliates, commissions, visits, referral links, payouts, payout methods, settings and the affiliate's own data.wp flyaffiliate seed for demo data.
See changelog for all versions.