Subscriptions & Trials
Subscription Lifecycle
Section titled “Subscription Lifecycle”Purchase
Section titled “Purchase”- User sends
/startcommand - Views subscription options
- Selects plan and payment method
- Completes payment
- Receives configuration
Active
Section titled “Active”- User connected
- Can purchase renewal anytime
- Receives reminder before expiration
Expiration Notification
Section titled “Expiration Notification”- Sent 3 days before expiration
- At 16:00 UTC daily
- In user’s preferred language
- Includes renewal button
Renewal
Section titled “Renewal”- User clicks renewal button
- Follows payment flow again
- No service interruption
Trial System Configuration
Section titled “Trial System Configuration”Enable Trials
Section titled “Enable Trials”TRIAL_DAYS=7TRIAL_TRAFFIC_LIMIT=10TRIAL_REMNAWAVE_TAG=trial_userHow It Works
Section titled “How It Works”- New User: Automatically offered trial
- Trial Period: 7 days (configurable)
- Traffic Limit: 10GB (configurable)
- Tracking: Separate tag in Remnawave
Trial Squad Configuration (Trial Period)
Section titled “Trial Squad Configuration (Trial Period)”Trials can use different squads:
TRIAL_INTERNAL_SQUADS=abc12345-def6-7890-ghij-klmnopqrstuvTRIAL_EXTERNAL_SQUAD_UUID=xyz98765-abc4-3210-defg-hijklmnopqrsTraffic Limits
Section titled “Traffic Limits”Control bandwidth usage:
TRAFFIC_LIMIT=100 # Regular users: 100GBTRIAL_TRAFFIC_LIMIT=10 # Trial users: 10GB- 0 = Unlimited traffic
- Units in GB
- Monitored per subscription
- Enforced by panel
Subscription States
Section titled “Subscription States”Active → (24h before) → About to Expire → Expired ↓ └→ Renewal → ActiveUsers can:
- ✅ View subscription status anytime
- ✅ Renew if needed
- ✅ Switch payment methods
Troubleshooting
Section titled “Troubleshooting”User not receiving reminder
- Check system time (16:00 UTC)
- Verify Telegram token is active
- Check user language preference
Trial not activating
- Verify
TRIAL_DAYS > 0 - Check Remnawave connectivity
- Review logs for errors
Can’t renew subscription
- Ensure payment method is enabled
- Verify user has no balance issues
- Check Remnawave panel connectivity