Live demo
Affiliate Portal
Referral links, commissions, payouts.
A single-merchant affiliate platform: affiliates share a referral link, customers buy on the public shop, and every paid order pays a commission that the owner approves and settles as a payout. This is the real frontend running as a fully static demo โ every API response is generated in your browser from seeded data, so the three apps share one dataset and an order placed in the shop shows up in the portal and the console.
Admin panel
Dashboard (GMV, commission liability, payouts due), affiliate approval and suspension, products, orders, the commission ledger, the payout queue and the business-rule settings.
Open as Sari (admin) โ ๐Affiliate portal
Referral link and link builder, clicks-per-day chart, referred orders with masked customers, the commission ledger, balance and payout requests.
Open as Rina (affiliate) โ ๐๏ธPublic shop
Catalogue and product pages, guest checkout, the mock payment gateway and order
tracking. (/r/<code> is a server route โ see the script below.)
Each app starts signed in. To see the login and registration flows, sign
out โ the seeded accounts are admin@affiliate.test,
affiliate@affiliate.test and budi.santoso@affiliate.test, password
Password1! (in the demo any password works). Everything you
change stays on your device; use the ribbon’s Reset data to start over.
What to try โ the money loop in five minutes
-
Open the affiliate portal and copy Rina’s referral link
(
RINA2026). On a real deployment/r/<code>is a server route that records the click and sets therefcookie for 30 days; this static demo has no server, so use the button below to drop the same cookie and land in the shop. -
In the shop, add a product to the cart and check out as a guest โ name,
email, phone, QRIS or card. Checkout reads that
refcookie and attributes the order to Rina. - Pay on the mock gateway page. That is the webhook: the order flips to paid, stock drops, and a pending commission is created at the resolved rate (product override โ affiliate override โ 10% platform default).
- Back in the affiliate portal, the new order and its commission are on the dashboard. Once the 7-day hold passes the commission becomes approved and joins the available balance โ the admin can also approve it early.
- In the admin panel, work the payout queue: mark the open request processing, then paid with a transfer reference. The affiliate’s commissions flip to paid and the balance drops. Rejecting instead releases them back to approved.
Also worth a click: approve the pending affiliate registration, suspend the active one and watch their link stop attributing, refund a paid order and watch its commission reverse, and change Settings โ commission rate / hold days / minimum payout and re-run the loop.
- Server-style pagination, sort & faceted filters (state lives in the URL)
- Global โK search & notification center
- Dark mode & English/Indonesian i18n
- Whole-rupiah IDR money, basis-point commission rates
- Masked customer PII everywhere an affiliate can look
- Audit log that records your own demo clicks
- Mobile responsive โ try it at phone width
- Seeded: 12 products, 40 orders, 3 payouts, ~330 referral clicks