Skip to content

LeonardoCides/shop-bot-integrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Telegram Shop Bot Ecosystem ๐Ÿ›’

This repository contains a complete automated sales system for Telegram. It integrates a conversational interface with a robust backend and a real-world payment gateway.

๐Ÿ—๏ธ Project Architecture

The system is modularized into three core services:

  1. Bot Engine (bot.py): Powered by Aiogram 3, managing asynchronous user interactions and UI (Inline Keyboards).
  2. Database Layer (database.py): A persistent SQLite3 storage system to track user IDs, products, and transaction statuses.
  3. Payment Gateway (payments.py): Official Mercado Pago SDK integration to generate dynamic checkout links.

๐Ÿš€ Main Features

  • Automated Workflow: From product selection to payment link generation.
  • Async Execution: Optimized for high performance using Python's asyncio.
  • Order Tracking: Every transaction is logged with a unique preference_id.
  • Secure Configuration: Uses .env files to protect API credentials.

๐Ÿ› ๏ธ Setup & Installation

  1. Clone the repository:

    git clone https://github.com/LeonardoCides/shop-bot-integrator
  2. Install requirements

       pip install aiogram mercadopago python-dotenv
  3. Configure Environment variables

    create a .env file with your credentials

        TELEGRAM_TOKEN=your_bot_token
        MP_ACCESS_TOKEN=your_mp_token
  4. Launch

        python3 bot.py

About

A full-stack Telegram commerce solution featuring asynchronous bot handling (Aiogram 3), SQLite3 persistence, and automated Mercado Pago payment flows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages