SavdoPilot
An online store made of a Telegram bot, a Mini App and an admin panel
A complete sales system for a single merchant: buyers browse the catalog inside Telegram, add items to the cart and pay with Payme, Click or Telegram. The merchant manages orders, stock, delivery and returns from the admin panel.
Challenge
Small shops take orders in Telegram chats: prices are typed by hand, payments are confirmed with screenshots and stock lives in a notebook. Orders get lost and mistakes pile up.
Solution
Prices and discounts are calculated only on the server, and the Telegram initData signature is verified server-side. When checkout starts, SKU stock is reserved atomically, and duplicate webhooks can’t charge an order twice. Problem payments go to a review queue, and refunds are guarded by a ledger. Admin sign-in uses a password plus TOTP.
Result
141 integration tests pass, plus 4 Playwright end-to-end tests covering the flow from the payment simulator to a refund. Testing with real Payme and Click sandbox keys is the next stage.
Features
- Catalog, cart, promo codes and wishlists
- Payme, Click and Telegram payments
- Automatic stock reservation and release
- Fulfilment, delivery and returns
- AI sales assistant with consent, limits and hallucination guards
- Reports, CSV import and export
- Staff invites and TOTP sign-in