🚀 THE AIRAK
PHASE 3: SUBSCRIPTION, PAYMENT, LICENSING & AFFILIATE SYSTEM
Project: THE AIRAK Trading Assistant
Development Phase: Phase 3
Project Owner: Kayemba Joseph
Platform: MetaTrader 5 (MT5)
1. PROJECT OBJECTIVE
Phase 3 is intended to transform THE AIRAK into a subscription-based trading software business.
The system should allow customers to register, purchase subscriptions, receive automatically activated licenses, renew subscriptions, and refer other customers in exchange for commissions.
The platform should be automated, secure, mobile-friendly, and easy for the administrator to manage.
A key requirement is that I should be able to control most business settings through an Admin Dashboard without requiring code changes or developer intervention.
---
2. USER ACCOUNT SYSTEM
The platform should support:
- User registration and secure login.
- Password reset.
- Customer account management.
- Subscription and license status viewing.
- Payment history.
- Subscription renewal.
- Affiliate/referral dashboard.
The administrator should be able to view, search, suspend, and reactivate customer accounts.
---
3. SUBSCRIPTION & PAYMENT SYSTEM
The system should initially support:
- 1 Month
- 3 Months
- 6 Months
- 12 Months
It should support automatic subscription activation after verified payment, subscription expiry, renewals, reminders, failed payment handling, and automatic access restriction when subscriptions expire.
The payment system should:
- Integrate a suitable payment gateway for international customers.
- Automatically verify successful payments.
- Prevent duplicate transaction processing.
- Record payment history.
- Activate subscriptions after confirmed payment.
- Support renewal payments.
- Notify customers after successful payments.
The developer should recommend a suitable payment provider accessible to me in Uganda and explain its fees and limitations.
Editable Subscription Settings
The administrator should be able to modify:
- Subscription prices.
- Package names and durations.
- Add or remove packages.
- Activate or deactivate packages.
- Renewal settings.
- Discounts or promotional prices where practical.
Changes to prices should not automatically alter the terms of subscriptions customers have already purchased.
---
4. AUTOMATED LICENSING SYSTEM
Upon successful payment, THE AIRAK should automatically generate or activate a license linked to the customer and their subscription.
The licensing system should support:
- Unique license generation.
- Automatic activation after payment.
- License expiry.
- Automatic suspension upon subscription expiry.
- License renewal.
- License verification through THE AIRAK licensing server.
- Manual license issuance by the administrator.
- License suspension, revocation, reactivation, and extension.
- Protection against unauthorized license sharing.
Editable Licensing Settings
Where technically practical, the administrator should be able to configure:
- Maximum permitted MT5 account activations.
- License duration.
- Account-binding rules.
- License transfer rules.
- Activation limits.
- Grace periods.
The developer should explain how MT5 will verify licenses and what happens if the licensing server temporarily becomes unavailable.
---
5. AFFILIATE & REFERRAL SYSTEM
Every registered user should automatically receive a unique referral code and referral link.
When someone registers using a referral link and purchases a qualifying subscription, the system should automatically recognize the referrer and credit the appropriate commission.
The affiliate system should support:
- Unique referral links.
- Referral registration tracking.
- Referral attribution.
- Tracking successful paid referrals.
- Automatic commission calculations.
- Affiliate dashboard.
- Referral history.
- Pending, approved, and paid commissions.
- Fraud prevention and self-referral protection.
Referral attribution should remain attached to the referred customer between registration and purchase, subject to configurable rules.
---
6. COMMISSION & WITHDRAWAL SYSTEM
The affiliate system should support:
- Percentage-based commissions.
- Fixed commissions where practical.
- Commission tracking.
- Commission approval.
- Commission reversals for refunds or fraudulent transactions.
- Affiliate withdrawal requests.
- Withdrawal history.
- Payment tracking.
The administrator should be able to approve, reject, process, and mark withdrawals as paid.
Editable Affiliate Settings
The administrator should be able to configure:
- Commission percentage or amount.
- Commission eligibility.
- Whether commissions apply to renewals.
- Eligible subscription packages.
- Affiliate program activation/deactivation.
- Referral attribution period.
- Minimum withdrawal amount.
- Withdrawal approval rules.
Changes to commission rates should not retroactively alter commissions already earned.
The developer should recommend practical affiliate payout methods suitable for international users and Uganda.
---
7. ADMIN DASHBOARD
A secure Admin Dashboard should provide centralized control over:
Users
- View and manage registered users.
- Suspend or reactivate accounts.
- View customer details.
Subscriptions
- View active, expired, and pending subscriptions.
- Activate, suspend, cancel, or extend subscriptions.
- View upcoming expirations.
Licenses
- Generate and manage licenses.
- Suspend, revoke, reactivate, or extend licenses.
- View activation records.
Payments
- View successful, pending, and failed transactions.
- View customer payment history.
Affiliates
- View referrals and conversions.
- View commissions and affiliate balances.
- Approve commissions.
- Manage withdrawals and payouts.
Analytics
- Total registered users.
- Paying customers.
- Active subscriptions.
- Total revenue.
- Affiliate commissions generated and paid.
- Outstanding affiliate balances.
- Referral conversion statistics.
---
8. CENTRALIZED EDITABLE SETTINGS
This is one of the most important requirements of the project.
The Admin Dashboard should contain a centralized settings section allowing me to manage, wherever practical:
- Subscription prices and durations.
- Subscription packages.
- Affiliate commission rates.
- Commission eligibility rules.
- Referral attribution periods.
- Renewal commissions.
- Minimum withdrawal amounts.
- Withdrawal methods.
- License activation limits.
- License durations and transfer rules.
- Subscription expiry reminder timing.
- Email notification settings.
- Email templates.
- Platform name and branding.
- Customer support contacts.
- Currency settings where supported.
- Affiliate program activation/deactivation.
The platform should avoid unnecessary hardcoding of business settings.
I should be able to make routine business adjustments without hiring the developer again.
The developer must identify any settings that cannot practically be made editable through the Admin Dashboard and explain why.
---
9. EMAIL NOTIFICATIONS
The system should automatically send branded emails for:
- Registration.
- Successful payment.
- Subscription activation.
- License generation.
- Renewal.
- Upcoming expiration.
- Subscription expiration.
- Referral registration.
- Successful referral purchase.
- Commission credit.
- Withdrawal requests.
- Withdrawal approval or rejection.
- Withdrawal payment.
Where practical, I should be able to edit notification templates and adjust expiry reminder timing through the Admin Dashboard.
---
10. CUSTOMER DASHBOARD
Customers should have access to a simple, mobile-friendly dashboard displaying:
- Account details.
- Subscription package.
- Subscription status.
- Expiry date.
- License information.
- Payment history.
- Renewal options.
- Referral link.
- Referral statistics.
- Affiliate commissions.
- Withdrawal history.
---
11. SECURITY & RELIABILITY
The system should implement:
- Secure authentication.
- Password encryption/hashing.
- Secure payment verification.
- Secure licensing verification.
- API protection.
- Prevention of duplicate payments and commission credits.
- Protection against referral abuse.
- Database backups.
- Administrator activity logs.
- Protection of customer information.
The developer should explain the backup, security, and recovery arrangements.
---
12. OWNERSHIP & HANDOVER
Upon completion, I require:
- Full source code.
- Database structure.
- Administrator access.
- API documentation.
- Installation and deployment instructions.
- Payment integration documentation.
- Licensing documentation.
- Affiliate system documentation.
- Configuration documentation.
All infrastructure and accounts should belong to or be accessible to me wherever possible.
The project must not depend solely on the developer's private accounts, servers, or inaccessible infrastructure.
I should be able to hire another developer in the future to maintain or upgrade THE AIRAK.
---
13. DEVELOPMENT & PAYMENT MILESTONES
Before development begins, the developer should provide:
- Proposed technical approach.
- Recommended technology stack.
- Payment gateway recommendation.
- Development timeline.
- Total quotation.
- Additional recurring costs.
- Development milestones.
- Testing and acceptance criteria.
Payments should be tied to completed, demonstrated, and tested milestones rather than paying the entire project cost upfront.
The completed system must be tested for registration, payment, subscription activation, license generation, license verification, expiration, renewal, referrals, commissions, withdrawals, and administrator controls.
---
FINAL OBJECTIVE
The objective is to build a reliable and automated subscription infrastructure for THE AIRAK.
I want the developer to build the technology, but I want to retain control of the business.
The platform should allow me to manage customers, subscriptions, licenses, payments, affiliates, commissions, and important business settings independently without constantly depending on a developer.
I am looking for a system that is functional, secure, scalable, maintainable, and fully handed over to me upon completion.