Automation of a closed Telegram club with a subscription (Payment integration, access issuance, subscription renewal, etc.)
General task description
It is necessary to create/set up a system that will:
Accept payment for the subscription (connect/set up Uzbek payment services or Telegram Bot Payments).
Automatically grant users access to a closed Telegram chat/channel (or group with topics) after payment confirmation.
Track the subscription period: remind the user about renewal, and in case of non-payment – disable access from the club.
Send notifications about subscription status and payment deadlines in personal messages.
The goal is to fully automate the payment and access management process to minimize manual labor for administrators.
Main requirements and functionality
Integration with payment systems, the ability to pay through Uzbek payment services (specify which ones: Payme, Click, Apelsin, etc.) or through Telegram Bot Payments (if the required currency is supported).
Creation of a payment form (can be a web page or built-in bot functionality) with necessary fields (amount, currency, confirmation).
Automatic update of the status "Paid/Not paid" upon transaction completion.
Telegram bot for interaction with subscribers
The bot checks the subscription status before issuing an invitation link to the closed club.
The bot automatically invites (adds) the user to the group/channel (upon confirmed payment) or provides a link that is valid for a limited time.
Upon subscription expiration, the bot automatically removes the user or blocks access to the chat.
Renewal and notifications
A few days before the subscription ends, the bot sends a personal message to the user reminding them about renewal.
If the user does not renew the subscription, access is automatically closed.
The user is also sent a notification that the subscription has expired and that payment needs to be made again.
Admin panel/tools (or a convenient management system)
The ability for the administrator to view the list of subscribers, the start and end dates of the subscription.
Manual issuance of a subscription or renewal (in case someone paid offline or exceptions need to be made).
The ability to quickly change the subscription cost, validity period, integration with other payment systems.
Security and protection
Proper handling of payment tokens and keys.
Protection against fraud attempts (e.g., forwarding someone else's payment receipt, automatic confirmation without actual payment).