require_once __DIR__ . '/referral_helper.php'; creditReferralCommissions($conn, $userId, (float)$planAmount, 'ORDER_' . $orderId);