Major additions: - Knowledge base with categories, articles, revisions, and voting - Enhanced ticket system: departments, SLA policies, canned responses, tags, custom fields, satisfaction ratings, internal notes - Multi-currency support with exchange rate sync - Shopping cart and quote system with PDF generation - Affiliate program with referrals, commissions, and payouts - Account credits, credit notes, and debit notes - Staff management with granular role-based permissions - Fraud detection and order risk assessment - ServerHunter SEO integration - Service lifecycle events (suspend/unsuspend/terminate) - Service management panels for VPS, Dedicated, Hosting, and Game servers - Plan lifecycle fields and per-customer overrides - 30+ migrations, 17 factories, 8 feature test suites Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
519 B
PHP
14 lines
519 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'default_commission_type' => env('AFFILIATE_COMMISSION_TYPE', 'percentage'),
|
|
'default_commission_rate' => (float) env('AFFILIATE_COMMISSION_RATE', 10.00),
|
|
'default_recurring_commissions' => (bool) env('AFFILIATE_RECURRING_COMMISSIONS', false),
|
|
'default_minimum_payout' => (float) env('AFFILIATE_MINIMUM_PAYOUT', 50.00),
|
|
|
|
'cookie_lifetime_days' => (int) env('AFFILIATE_COOKIE_DAYS', 30),
|
|
'auto_approve' => (bool) env('AFFILIATE_AUTO_APPROVE', false),
|
|
];
|