Skip to main content
Product details are displayed in English. Translations coming soon.
Affiliate & Referral Program for ERPNext — A native ERPNext app that runs affiliate and referral programs end to end — tracki — 1/1مثالی پیش منظر

A native ERPNext app that runs affiliate and referral programs end to end

— tracking referral links, attributing sales, calculating tiered commissions, and generating payout statements.

ECOSIRE builds it to your commission rules, installs it, and supports it.

Affiliate & Referral Program for ERPNext کیا ہے؟

A native ERPNext app that runs affiliate and referral programs end to end — tracking referral links, attributing sales, calculating tiered commissions, and generating payout statements. ECOSIRE builds it to your commission rules, installs it, and supports it. Built to order by ECOSIRE for ERPNext v15, v16 — indicative price from $999.00 USD; request a quote for a scoped proposal.

اہم خصوصیات

Dedicated Frappe app with first-class DocTypes: `Affiliate`, `Referral Link`, `Referral Conversion`, `Commission Rule`, `Commission Tier`, and `Affiliate Payout`
Affiliate self-registration via a Frappe Web Form with approval workflow, plus a website-framework portal scoped to each affiliate's own records
Unique per-affiliate referral links and coupon codes, with generated short slugs and QR-ready tracking URLs
Guest-accessible whitelisted REST endpoint captures clicks and sets a first-party attribution cookie with a configurable expiry window
`hooks.py` `doc_events` on Sales Order / Sales Invoice `on_submit` create attributed `Referral Conversion` records automatically
Configurable attribution model — last-click, first-click, or coupon-priority — with a tunable cookie/lookback window
Coupon-code attribution that matches ERPNext Pricing Rule / Coupon Code so partners can drive sales without a link click
Tiered commission engine via server scripts: percentage or flat rates, per-category or per-product overrides, and revenue-threshold tier promotion
Scheduler event runs the periodic payout cycle — aggregates approved conversions, nets refunds/cancellations, and generates `Affiliate Payout` statements
Optional automatic posting of payouts as a Journal Entry or Payment Entry against a configured commission-expense account
Refund and cancellation handling: `on_cancel` / credit-note events claw back or reverse the associated commission
Role profiles and DocType permissions isolate affiliates to their own data while finance approves and settles from the desk
Real-time affiliate dashboard (clicks, conversions, pending vs paid commission) built with Report Builder / Script Reports and Frappe charts
Full Frappe REST API and whitelisted methods for storefront, headless, or mobile-app integration; compatible with Frappe/ERPNext v15 and v16

آرڈر پر تیار، مکمل طور پر آپ کے لیے

خود سیٹ اپ کی ضرورت نہیں — ایک کام کرنے والی ایپ جو ECOSIRE بناتا، انسٹال اور سپورٹ کرتا ہے۔

  1. 1

    آپ آرڈر دیتے ہیں

    ایک بار کی تعمیر کی قیمت سے آغاز کریں۔ آغاز پر ہم آپ کے ساتھ مل کر دائرہ کار طے کرتے ہیں۔

  2. 2

    ہم بناتے اور انسٹال کرتے ہیں

    ECOSIRE اسے آپ کے ERPNext پر بناتا، ترتیب دیتا اور انسٹال کرتا ہے۔

  3. 3

    لائیو + معاونت

    آپ تقریباً ایک کاروباری ہفتے میں لائیو ہو جاتے ہیں، گو لائیو کے بعد دو ہفتوں کی معاونت کے ساتھ۔ ہمارے فراہم کردہ کوڈ کی خرابیاں مفت درست کی جاتی ہیں۔

تکنیکی تفصیلات

ERPNext ہم آہنگی
—
لائسنس
لائسنس کی تصدیق درکار ہے
Python کی ضرورت
Python 3.10+
ڈیٹابیس
MariaDB 10.6+

اس مصنوع کے بارے میں

If you sell on ERPNext and want partners driving your growth, you quickly hit a wall. ERPNext core has no concept of an affiliate, a referral link, click-to-sale attribution, or a commission ledger that ties a payout back to specific Sales Invoices. Teams end up stitching this together in spreadsheets, running a separate SaaS affiliate platform that never reconciles against actual paid invoices, and manually calculating who is owed what at month end. Attribution disputes, double-counted conversions, and payouts that do not match booked revenue are the predictable result — and none of it lives inside the system where your orders, invoices, and customers already are.

ECOSIRE builds the Affiliate & Referral Program as a proper Frappe app installed onto your ERPNext bench (v15/v16). It introduces first-class DocTypes — Affiliate, Referral Link, Referral Visit/Referral Click, Referral Conversion, Commission Rule, Commission Tier, and Affiliate Payout — so every partner, link, click, attributed sale, and payment is an auditable record with its own permissions and reports. Affiliates register through a Frappe Web Form and manage their own account in a portal built on the Frappe website framework, where they generate unique referral links and coupon codes, watch clicks and conversions in real time, and download their statements.

Technically, the tracking loop is wired the way ERPNext expects. A whitelisted, guest-accessible REST endpoint captures inbound clicks and drops a first-party attribution cookie; a hooks.py doc_events handler on Sales Order and Sales Invoice on_submit reads that attribution (or a matched coupon code) and creates the Referral Conversion, applying your attribution model — last-click, first-click, or a configurable cookie window. Commission Rule records evaluate tiered and category-specific rates via server scripts, so a partner who crosses a revenue threshold moves to a higher band automatically. A scheduler event (scheduler_events in hooks.py) runs the periodic payout cycle: it aggregates approved conversions, nets refunds and cancellations, generates Affiliate Payout statements, and can post the corresponding Journal Entry or Payment Entry against your configured expense account. Role profiles keep affiliates scoped to only their own data, while your finance team approves and settles from the desk.

Because it is native, everything is reportable through ERPNext's own Report Builder and Query/Script Reports, exposed on the Frappe REST API for your storefront or app, and governed by the same permission and audit-log model as the rest of your data — no external system to reconcile.

This is build-to-order, not an instant download. We start with a short scoping call to lock your commission structure, attribution rules, payout cadence, and storefront integration, then build the app to that spec, test it on a staging bench, and install it on your ERPNext instance. Typical delivery is one working week from confirmed scope. You receive the full source code, documentation, a training session, and a post-go-live support window — and you own the git repository at handover.

What you get

  • Installable source code for your version of the Affiliate & Referral Program Frappe app, built to your confirmed scope
  • Installation and configuration on your ERPNext bench, including hooks, scheduler events, roles, and portal setup
  • Technical documentation covering DocTypes, server scripts, hooks, API endpoints, and the attribution/payout logic
  • End-user guide plus a live training session for your affiliate managers and finance team
  • Post-go-live support window for bug fixes and configuration adjustments
  • UAT on a staging bench with a documented rollback plan before production install
  • Handover of the git repository so you own and can extend the code

Who this is for

ERPNext E-commerce Operator

Runs an online store on ERPNext or a headless storefront and wants partner- and influencer-driven sales tracked against real paid invoices, with coupons and links reconciling inside the same system as orders and inventory.

SaaS / Subscription Founder

Sells subscriptions and needs a referral program where conversions, recurring commissions, and clawbacks on cancellation are all attributed correctly and paid out on a predictable cadence without a separate affiliate SaaS.

Finance / Commissions Manager

Owns payout accuracy and needs auditable commission ledgers, refund-adjusted statements, and payouts that post cleanly to the right expense account — not a spreadsheet reconciliation every month.

Partnerships / Growth Lead

Manages the affiliate roster and needs a self-service partner portal, tiered incentives that promote top performers automatically, and real-time visibility into clicks, conversions, and pending commission.

How Affiliate & Referral Program for ERPNext Compares

CriterionECOSIRECustom BuildCompetitorERPNext نیٹو
Native ERPNext integrationNative Frappe app with real DocTypes, hooks, and permissions on your benchDepends on developer skill; often bolted on inconsistentlyGeneric app, may not fit your data model or accountingNo affiliate/referral concept exists in core
Sale attributionCookie + coupon attribution via `on_submit` doc events, your chosen modelMust design and build the whole tracking loop from scratchBasic last-click only, limited window controlNone — no click or conversion tracking
Tiered commissionsServer-script engine with tiers, overrides, and auto-promotionBuildable but time-consuming to get thresholds rightUsually flat or single-tier ratesNot available
Automated payoutsScheduler-driven statements, refund netting, optional JE/Payment Entry postingYou build and test the payout cycle yourselfExports a list; you reconcile and pay manuallyManual spreadsheet calculation
Affiliate self-service portalWebsite-framework portal scoped per affiliate with live statsExtra build effort, often deprioritizedSometimes included, rarely ERPNext-awareNone
Delivery modelBuild-to-order, one working week from confirmed scope, then installedOpen-ended timeline and costInstant install but fixed feature setImmediate but no functionality
Ownership & extensibilityFull source and git repo handover; you own itYou own it, but carry all the design riskLicensed/closed; limited customizationN/A
Support & updatesPost-go-live support window + optional ongoing upgradesWhatever you arrange with the developerVendor roadmap, not tailored to youN/A

Frequently Asked Questions about Affiliate & Referral Program

Is this an existing app I can download and install right away?

No. This is a build-to-order engagement. ECOSIRE designs and builds the Affiliate & Referral Program to your specific commission structure, attribution rules, and payout workflow, then installs it on your ERPNext bench. There is no instant self-service download.

How long does delivery take?

Typical delivery is one working week from confirmed scope. The timeline starts once we have agreed your commission tiers, attribution model, payout cadence, and any storefront integration on the scoping call. Highly custom attribution or accounting logic can extend this, and we will tell you upfront.

Which ERPNext versions is it compatible with?

We build for Frappe/ERPNext v15 and v16 as a standard Frappe app installed on your bench. We target the specific version you run in production and test against it on a staging bench before install.

How does sale attribution actually work?

A guest-accessible whitelisted endpoint records the click and sets a first-party attribution cookie. When a Sales Order or Sales Invoice is submitted, a `hooks.py` `doc_events` handler reads that attribution — or matches an affiliate coupon code — and creates a `Referral Conversion` using your chosen model (last-click, first-click, or coupon-priority) within the configured lookback window.

How are commissions and payouts calculated and paid?

Tiered `Commission Rule` records evaluate percentage or flat rates, with per-category or per-product overrides and automatic tier promotion on revenue thresholds. A scheduler event aggregates approved conversions, nets out refunds and cancellations, and generates `Affiliate Payout` statements, optionally posting a Journal Entry or Payment Entry against your commission-expense account.

Do you handle updates and support after go-live?

Yes. Every engagement includes a post-go-live support window for bug fixes and configuration tweaks. Because you receive the full source and own the git repository at handover, your team can maintain and extend it, and ECOSIRE can provide ongoing support or upgrades to newer ERPNext versions under a separate arrangement.

Will affiliates be able to see other affiliates' data?

No. The app uses Frappe role profiles and DocType permissions so each affiliate is scoped to only their own links, clicks, conversions, and statements in the portal. Your finance and partnerships teams get full desk access to approve and settle.

قیمت کا تخمینہ طلب کریں

Affiliate & Referral Program

A native ERPNext app that runs affiliate and referral programs end to end — tracking referral links, attributing sales, calculating tiered commissions, and generating payout statements. ECOSIRE builds it to your commission rules, installs it, and supports it.

  • Dedicated Frappe app with first-class DocTypes: `Affiliate`, `Referral Link`, `Referral Conversion`, `Commission Rule`, `Commission Tier`, and `Affiliate Payout`
  • Affiliate self-registration via a Frappe Web Form with approval workflow, plus a website-framework portal scoped to each affiliate's own records
  • Unique per-affiliate referral links and coupon codes, with generated short slugs and QR-ready tracking URLs
  • Guest-accessible whitelisted REST endpoint captures clicks and sets a first-party attribution cookie with a configurable expiry window

قیمت کا تخمینہ طلب کریں

ہمیں Affiliate & Referral Program کے لیے اپنی ضروریات بتائیں اور ہم آپ کو قیمتیں، لائسنس کے اختیارات اور ایک مخصوص تجویز بھیجیں گے — عام طور پر ایک کاروباری دن میں۔

ابھی کوئی ادائیگی نہیں۔ یہ ہماری ٹیم کو قیمت کی درخواست بھیجتا ہے — ہم قیمت اور اگلے اقدامات کے ساتھ ای میل کے ذریعے رابطہ کریں گے۔