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.
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
- GuideAdd 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.
- GuideConnect Stripe
Program settings › Payments › Connect Stripe, as the program owner.
- GuidePass 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_idto its metadata, and tosubscription_data.metadatafor a subscription. - GuideMake a test purchase
Buy a one-time price through a partner link, in the connected account's test mode. Commissions lists it as Test.