How it works

Three moving parts. One clean outcome: accurate attribution + clean payouts.

Links
Affiliates share a short URL.

Social Sales creates a unique slug for each affiliate × product. Clicks are logged, then the buyer lands on a clean product page.

Checkout
Stripe collects payment.

Checkout metadata contains the order + link IDs, so the webhook can mark the order paid and lock in the split: platform fee, affiliate commission, seller net.

Settlement
Hold for 30 days, then cash out.

Orders become eligible after 30 days (to reduce refund/chargeback risk). Sellers and affiliates can request payouts once funds clear.

Setup checklist
  1. Import schema.sql into MySQL.
  2. Copy config/local.example.phpconfig/local.php and fill keys.
  3. Create a Stripe webhook endpoint: https://socialsales.cc/stripe/webhook.php
  4. Start by registering a Seller, then add a product.