Sell on Stripe, credit partners without a sales API call

Connect your Stripe account once. Stripe tells Affitor about each Checkout or subscription payment, and Affitor finds the partner who referred the buyer and writes the commission.

View as Markdown

What you need

Stripe events credit Checkout purchases and subscription payments. A payment outside them, such as a PaymentIntent your server confirms, is not credited from Stripe: report it from your server (Track Sale).

Steps

  1. Add the tracker to your site

    It records the click when a visitor arrives through a partner link. Put it on the pages with your Stripe links and buttons too.

    Guide
  2. Connect Stripe

    Program settings › Payments › Connect Stripe, as the program owner.

    Guide
  3. Pass the click to checkout

    On Payment Links, the Buy Button and the Pricing Table, the tracker on the page does it. Your own Checkout Session adds affitor_click_id to its metadata, and to subscription_data.metadata for a subscription.

    Guide
  4. Make a test purchase

    Buy a one-time price through a partner link, in the connected account's test mode. Commissions lists it as Test.

    Guide

Share feedback

Tell us what is missing or unclear on “Sell on Stripe, credit partners without a sales API call”.

Last updated Oct 17, 2026