Development of a Telegram bot for payment access to a private channel
Technical assignment for the development of a Telegram bot for payment access to a closed channel
1. General information
The bot is designed to provide access to a closed Telegram channel after successful payment. Payment is possible via PayPal and USDT. After successful payment, the bot automatically adds the user to the channel.
2. Main functionality
2.1 Main menu
When pressing /start, the bot sends a welcome message and provides the main menu buttons:
- Pay for access
- More about the channel
- Ask a question
- Change language
2.2 Payment for access
When pressing "Pay for access," the bot offers to choose the subscription duration:
- 1 month
- 3 months
- 6 months
- 12 months
- Back
After selecting the subscription duration, the bot offers to choose the payment method:
- PayPal
- USDT (specific merchant will be determined later)
- Back
After selecting the payment system, the bot creates an invoice with the corresponding amount and sends the user a payment link.
2.3 Payment processing
- The bot waits for payment confirmation from the PayPal API or the selected merchant for USDT.
- In case of successful payment, the bot automatically adds the user to the closed channel (
bot.add_chat_members(chat_id, user_id)). - In case of unsuccessful payment, the bot notifies the user of the failure and offers to try again.
- If confirmation is not received immediately, the bot will periodically check the payment status.
2.4 Adding to the channel
- The bot must be an administrator in the closed channel.
- After successful payment, the bot automatically adds the user to the channel.
- Administrators receive a notification in a special group about the new paid subscriber.
2.5 Information about the channel
When pressing the "More about the channel" button, the bot sends a description of the channel and offers to go back.
2.6 Ask a question
- The user enters the text of the question.
- The question is sent to the group of administrators.
- The administrator can respond by sending the answer to the forwarded message in the group.
- The bot forwards the answer to the user.
2.7 Change language
The bot supports multilingualism; users can choose their preferred language of communication.
3. Additional requirements
- Logging of all payment operations.
- Admin panel (or command) for checking payment history.
- Ability to easily add new payment methods in the future.
- Security of the bot (limiting commands for regular users, error handling).
4. Technical implementation
- Programming language: Python
- Framework: Aiogram
- Working with payment systems: PayPal API, USDT API (to be chosen later)
- Database: SQLite / PostgreSQL (by agreement)
- Hosting: On the user's server
5. Development stages
- Setting up the bot structure.
- Implementing the main menu.
- Integrating with PayPal API and USDT (after selecting the merchant).
- Implementing the payment confirmation mechanism and adding to the channel.
- Interacting with administrators.
- Testing and debugging.
- Deployment and final adjustments.
6. Development timelines and cost
- Development time is 3-4 days from the moment the server is provided. Plus 1-2 days for testing.
- The cost of development is 3000 UAH.
Client's review of cooperation with Yevhen R.
Development of a Telegram bot for payment access to a private channelEverything was done wonderfully, additional features were added, and he also helped choose a merchant, which was not part of the job, I am very grateful.
I recommend!!!
Freelancer's review of cooperation with Vladislav Dralyuk
Development of a Telegram bot for payment access to a private channelOur next project with Vladislav went excellently. We immediately discussed the technical specifications and started the development. In dialogue, he is always friendly and responsive, and we can always find a compromise. He accepted the work quickly and without delays. I am very happy to work with Vladislav and hope for future projects!
-
1306 21 0
Current freelance projects in the category Bot Development
Set up an AI bot in ManyChat for Instagram and Facebook MessengerSet up ManyChat Pro + OpenAI API (model gpt-4o-mini, but you can suggest something niche). Without Make/Zapier, if it can be implemented with ManyChat's internal tools, or with them if you justify the need.Bot operation logic:Triggered by any incoming message from a new client… AI & Machine Learning, Bot Development ∙ 14 hours 15 minutes back ∙ 23 proposals |
Telegram Bot + Send PulseI am looking for a freelancer who can help set up a Telegram bot for a simple mini course. Please send your portfolio along with the price. Thank you Bot Development ∙ 16 hours 18 minutes back ∙ 60 proposals |
Payment bot
223 USD
Connecting payment for a closed club in Telegram. It is necessary to set up a payment format where the user pays with a card from any country, and the channel author receives converted $ into their wallet. Additionally, reminders, automatic deductions, and automatic addition and… Bot Development ∙ 21 hours 19 minutes back ∙ 71 proposals |
It is necessary to develop a Telegram bot for monitoring cars from auctions in the USA (Copart, IAAI)A Telegram bot is needed for automatic searching and monitoring of "BUY IT NOW" cars at auctions in the USA (Copart, IAAI). The bot should operate automatically and send notifications about new cars that meet the specified filters.Main functionalityFilter settings: 1. Car… Data Parsing, Bot Development ∙ 2 days 18 hours back ∙ 93 proposals |
Telegram bot
53 USD
I need code for a Telegram bot that will take messages from one channel, modify them to fit my design, and post them in two other channels. In one channel, from 1 to 6 posts, and in the other channel, all posts. Bot Development ∙ 3 days 8 hours back ∙ 93 proposals |