Skip to content

Connecting Telegram Stars payment using aiogram 3.x with the possibility of a refund.

License

Notifications You must be signed in to change notification settings

bohd4nx/tg-stars-payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 Telegram Stars Payment

Simple example of integrating Telegram Stars payments into bots using aiogram 3.x

Run Bot Python aiogram License

🖼️ Preview
Bot Preview

🚀 Features

  • 💫 Seamless Stars Integration - Easy-to-implement Telegram Stars payment system
  • 🔄 Refund Support - Simple mechanism for processing payment refunds
  • 🎯 Minimalistic Design - Clean and efficient codebase
  • High Performance - Asynchronous architecture using aiogram 3.x

📋 Commands

Command Description
/start Initialize payment process
/refund <transaction_id> Process payment refund

🛠️ Quick Setup

Installation

  1. Clone Repository

    git clone https://github.com/bohd4nx/tg-stars-payment.git
  2. Install Dependencies

    pip install -r requirements.txt
  3. Configure Bot

    # config.py
    API_TOKEN = "YOUR_BOT_TOKEN"
    STARS_AMOUNT = 1  # Amount in Stars
  4. Launch Bot

    python main.py

📝 License

This project is MIT licensed. See LICENSE for more information.

🌟 Support

If you find this project useful:

  • Give it a star ⭐
  • Share with others 🔄
  • Consider contributing 🛠️
Built with ❤️ by Bohdan

About

Connecting Telegram Stars payment using aiogram 3.x with the possibility of a refund.

Topics

Resources

License

Stars

Watchers

Forks

Languages