Dev Tools · 7h ago
Stripe affiliate math: pay commission on discounted price, not list
A customer uses a 40% coupon on a $50 plan, paying $30, while the affiliate earns 30% commission. Paying 30% of $50 ($15) on a $30 sale nearly eliminates profit. Stripe's amount_paid field already reflects the discount, so commission should be calculated on that to keep margins healthy.
Meridian48 take
This is a practical, often-overlooked detail that can silently drain affiliate program profitability if not handled correctly.
Read the full reporting
Coupons and affiliate commissions on Stripe: what do you actually pay? →
DEV Community
stripeaffiliate-commissions