courseworx/backend/plugins/financial-plugin/package.json
mmabdalla 5477297914 v2.0.2 - Complete Plugin Architecture System and Multi-Currency Implementation
Major Features Added:
- Complete Plugin Architecture System with financial plugin
- Multi-currency support with exchange rates
- Course type system (online, classroom, hybrid)
- Attendance tracking and QR code scanning
- Classroom sessions management
- Course sections and content management
- Professional video player with authentication
- Secure media serving system
- Shopping cart and checkout system
- Financial dashboard and earnings tracking
- Trainee progress tracking
- User notes and assignments system

Backend Infrastructure:
- Plugin loader and registry system
- Multi-currency database models
- Secure media middleware
- Course access middleware
- Financial plugin with payment processing
- Database migrations for new features
- API endpoints for all new functionality

Frontend Components:
- Course management interface
- Content creation and editing
- Section management with drag-and-drop
- Professional video player
- QR scanner for attendance
- Shopping cart and checkout flow
- Financial dashboard
- Plugin management interface
- Trainee details and progress views

This represents a major evolution of CourseWorx from a basic LMS to a comprehensive educational platform with plugin architecture.
2025-09-14 04:20:37 +03:00

106 lines
2.8 KiB
JSON

{
"name": "financial-plugin",
"version": "1.0.0",
"description": "Financial management plugin for CourseWorx - handles payments, revenue tracking, and payouts",
"author": "CourseWorx Team",
"license": "MIT",
"main": "index.js",
"courseworx": {
"minVersion": "1.7.0",
"permissions": [
"read:payments",
"write:payments",
"read:revenue",
"write:revenue",
"read:payouts",
"write:payouts",
"admin:financial",
"read:cart",
"write:cart",
"read:orders",
"write:orders",
"read:coupons",
"write:coupons",
"read:invoices",
"write:invoices"
],
"dependencies": [
"stripe",
"uuid",
"moment"
],
"settings": {
"stripeApiKey": {
"type": "string",
"default": "",
"required": true,
"description": "Stripe API Key for payment processing"
},
"stripeWebhookSecret": {
"type": "string",
"default": "",
"required": false,
"description": "Stripe webhook secret for payment verification"
},
"payoutSchedule": {
"type": "select",
"default": "weekly",
"options": ["daily", "weekly", "monthly"],
"description": "Frequency of automatic payouts to trainers"
},
"minimumPayoutAmount": {
"type": "number",
"default": 50,
"description": "Minimum amount required for payout (in USD)"
},
"platformFeePercentage": {
"type": "number",
"default": 10,
"description": "Platform fee percentage (0-100)"
},
"enableAutomaticPayouts": {
"type": "boolean",
"default": true,
"description": "Enable automatic payouts to trainers"
},
"stripePublishableKey": {
"type": "string",
"default": "",
"required": true,
"description": "Stripe publishable key for frontend payment processing"
},
"currency": {
"type": "select",
"default": "usd",
"options": ["usd", "eur", "gbp", "cad", "aud"],
"description": "Default currency for payments"
},
"cartSessionTimeout": {
"type": "number",
"default": 24,
"description": "Cart session timeout in hours"
},
"maxCartItems": {
"type": "number",
"default": 10,
"description": "Maximum number of items allowed in cart"
},
"taxEnabled": {
"type": "boolean",
"default": true,
"description": "Enable tax calculation"
},
"defaultTaxRate": {
"type": "number",
"default": 0,
"description": "Default tax rate percentage (0-100)"
},
"couponSystemEnabled": {
"type": "boolean",
"default": true,
"description": "Enable coupon and discount system"
}
},
"autoEnable": true
}
}