Clawing back affiliate commissions when a customer refunds: design the ledger first

· Dev.to