This page describes the AffiliateBase operating paths for merchants and developers: setup, attribution from a referral to a payout, affiliate lifecycle, and payouts. The workflows are not a separate automation product in the current app.
Merchant setup workflow
Setup is a seven-step checklist in two groups. The Set up steps open in order:
- Connect Stripe.
- Portal and payout defaults.
- Create a campaign.
- Choose your checkout (or promo codes only).
Once those are done, the three Go live steps are all open, because they wait on real traffic:
- Verify tracking: open the test link and complete a checkout until Stripe returns the generated referral ID. On the promo-code path, this step is Set up promo codes.
- Add your first affiliate.
- First referred sale.
You can add affiliates before tracking is verified. Setup finishes with the first referred sale.
The Choose your checkout step supports these paths:
| Setup path | How attribution works |
|---|---|
| Stripe Payment Link | AffiliateBase adds client_reference_id to the Stripe link after a referred visit. |
| Buy Button or Pricing Table | AffiliateBase sets client-reference-id on the Stripe element. |
| Custom Checkout Session | Your page submits referral_id to your server, then your server sets client_reference_id. |
| Promo codes only, Generate codes automatically | AffiliateBase generates affiliate-specific Stripe promotion codes from the campaign’s selected Stripe discount. |
| Promo codes only, Manage codes individually | Assign an existing Stripe promotion code or create one for an affiliate with Manage promo codes on the affiliate’s Links & codes tab; no campaign discount default is required. |
If someone else edits your site, copy the Install request note under Hand this to a developer in Setup step 4 and send it to them. Both promo-code paths support attribution without a tracking script. Individual assignments apply to new qualifying redemptions after assignment; they do not import earlier redemptions. See Assign Stripe Promo Codes to Affiliates.
Attribution to payout workflow
Attribution and money state move through these records:
- Link tracking or a recognized Stripe promo-code redemption creates or updates a referral.
- Qualified activity moves the referral from
visitortoleadorconversion. A browseridentifycall records a lead; a verified Stripe payment records a conversion. - Stripe events create a sale.
- A qualifying paid sale creates a commission under the campaign rules. An individually assigned code on a zero-value invoice can establish a referral without earning a monetary commission.
- Mature commissions move from
pendingtodue. - Due commissions are grouped into payouts and optional payout runs.
- Payout handling moves payouts through
processingtopaid, or into remediation when export or payout contact details are missing.
Affiliate lifecycle workflow
Affiliates can be invited, created directly, archived, and restored. Archiving preserves historical referrals, sales, commissions, payouts, and reporting records while hiding the affiliate from active lists and portal selection.
Trackable affiliate states are pending and active. Disabled, suspicious, rejected, and banned affiliates, archived affiliate records, archived links, and archived campaigns do not drive new attribution.
Payout workflow
The account payout methods are PayPal (paypal), Wise (wise), and Stripe Connect. PayPal and Wise are chosen in Settings -> General -> Payout method. Stripe Connect is turned on in Settings -> Stripe Payouts after its checklist passes. It needs your own Stripe Connect platform with an approved platform profile.
| Method | Workflow |
|---|---|
paypal | Affiliate PayPal emails are required; AffiliateBase generates PayPal export files and tracks reconciliation. |
wise | Affiliate Wise emails are required; AffiliateBase generates Wise export files and tracks reconciliation. |
| Stripe Connect | Affiliates connect their own Stripe account; AffiliateBase sends one Stripe transfer per payout from the merchant’s Stripe balance. Affiliates Stripe can’t pay fall back to PayPal or Wise exports. See Pay Affiliates Through Stripe. |