The app reads the term and traffic from the subscription-userinfo header. Nothing else is needed: the button and reminders work for any service, no Premium required.
The “Renew” button
Three days before the subscription ends, a card with a countdown and a “Renew subscription” button appears above the servers. It also appears when 90% of traffic is used, and after the end date, then saying “Renew and get the VPN back”.
| Where the button leads | Source |
|---|---|
1. renew-url | Header or body line — your payment page |
2. sub-expire-button-link | Expiry button, as in Happ |
3. profile-web-page-url | Subscription page from the panel |
4. support-url | Support, if nothing else is set |
https:// and tg:// links work, for example a payment bot: https://t.me/your_bot?start=renew.Notifications
The app schedules four reminders in advance: 3 days, 1 day, 12 hours and 1 hour before the end. They arrive even when the app is closed. After a renewal, the next update cancels the old reminders and sets new ones. Tapping a notification opens the same renewal link.
| Platform | How it works |
|---|---|
| Android, iPhone, Mac | Scheduled system notifications, accurate to a few minutes |
| Windows, Linux | A reminder when the app starts, at most once a day |
To turn reminders off for your users: notification-subs-expire: 0. Users can turn off all nya notifications in settings.