Fix platform fee calculation: use plan percentage instead of instance column
The fee collector was reading service_fee_amount from the instance's invoices
table (always 0). Now calculates fee as total_amount * plan.platform_fee_percent.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment