Repository navigation
Telegram Shop Bot v3.1.0
Seven ways to get paid. One ledger that never loses a cent.
v3.1 is the payments release: four new payment rails join Stars and CryptoBot,
refunds arrive with a guarded two-tap flow, and every payment fact — captured,
quarantined, or refunded — is durably attributed to the component that recorded
it. Fully backward compatible: all new rails are off until configured, and the
database migrations are additive.
💳 Four new payment rails
- YooKassa — RUB cards. A "Pay by card" button appears at checkout and in
the Mini App for non-subscription carts; the buyer pays on YooKassa's
checkout page. Notifications are unsigned, so settlement happens only after
an authoritative API re-fetch validates provider, amount, currency, and order
binding. A backup poller re-scans the last 24 hours of succeeded payments
every 60 seconds, so a webhook lost to downtime or a network partition still
settles — and money arriving after stock sold out is quarantined for review,
never silently settled. - Stripe — USD cards. HMAC-signed webhooks settle straight from the signed
body — no API refetch. Raw-HTTP integration, no SDK dependency. Orders below
Stripe's $0.50 minimum are refused at payment. - TON — on-chain transfers. The buyer gets the wallet address, the exact
nanoton amount, and a mandatoryorder-<id>memo (aton://deeplink
prefills all three). A polling worker replays memo-matched transfers;
settlement is overpay-tolerant (the ledger records the actual received
amount) and underpays are quarantined. Integer nanotons end to end — a rate
change can never reprice an existing order. - NOWPayments — 300+ coins. Hosted invoices settle via HMAC-SHA512-signed
IPN callbacks verified over the canonicalized request body.⚠️ Run one
live test payment before enabling this rail in production to confirm the
byte-level canonicalization agreement — verification fails closed, so a
mismatch can reject genuine callbacks but never accept a forged one.
Subscriptions remain Stars-only by design.
🛡 Money you can trust
- Durable payment barriers. Webhook and polling acknowledgements happen
only after a charge is settled or durably quarantined — provider redeliveries
can never lose or double a payment. - Quarantine, not guesswork. Mismatched, malformed, or unexpected provider
facts land in a review queue instead of touching orders; every rail's
quarantine behavior is documented per reason class in
docs/payment-operations.md. - Immutable ledger. Captures, refunds, anomalies, and resolutions are
append-only; every new row now carries a durableactor(migration 023):
which ingress wrote it —webhook:<provider>,worker:<provider>,
admin:<id>, or a CLI operator.
🧾 Payment operations for admins
/refund <order_id> [amount]— two-tap preview→confirm refunds with the
confirm re-validating the ledger at tap time (TOCTOU-safe). Provider first,
ledger record second; a crash between them is recoverable, a double-tap is a
no-op, and the balance rail's re-run credits exactly once. Stars, Stripe,
YooKassa, and balance execute in-bot; crypto/TON/NOWPayments render honest
manual-dashboard guidance./payreview— the quarantine queue in chat: one card per case,
per-target reason codes and actor, and shape-gated action buttons that offer
only what the ledger can actually accept (dead buttons are gone; ambiguous
cases point at the CLI).payment-reviewCLI — list/preview/resolve plusingest-starsand
ingest-providerfor recording provider facts with preview-then---apply
discipline; a memo-less TON transfer is now resolvable by attaching it to the
intended order./paystatus— one truthful line per rail: configured or not, exchange
rates, and the webhook URLs to register — never printing a secret.
🛠 Admin & shop management
- Full admin panel: products, categories, photos, promos, button styles
(/btnstyle), order cards (/order <id>), and/setbalancefor audited
balance adjustments. - Balance payments — buyers with a positive USD balance check out
synchronously with an idempotent debit through the same guarded ledger path
as the external rails.
🔍 Observability
- Every Telegram update is processed under one per-update context (30s budget,
cancelled with the process on shutdown) carrying atrace_idthat appears in
the middleware and payment logs — one update's whole path is a single
grep trace_id=<id>away. - Settlement and refund logs carry the structured
actorfield end to end.
⬆️ Upgrade notes
- Back up the database before first start. Migrations 017–023 apply
automatically and are additive (new tables/columns, ledger provider CHECK
rebuilds); the ledger is immutable, so the newactorcolumn is write-once
at ingress — pre-upgrade rows keepNULL("not recorded") by design. - New optional environment variables:
YOOKASSA_SHOP_ID/YOOKASSA_SECRET_KEY
/YOOKASSA_RETURN_URL/USD_TO_RUB_RATE;STRIPE_SECRET_KEY/
STRIPE_WEBHOOK_SECRET/STRIPE_RETURN_URL;TON_WALLET_ADDRESS/
USD_PER_TON(TON_API_KEYoptional);NOWPAYMENTS_API_KEY/
NOWPAYMENTS_IPN_SECRET/NOWPAYMENTS_RETURN_URL. Unset rails stay fully
hidden — a half-configured rail shows WARN in/paystatusanddoctor. - Register the webhooks for every rail you enable:
<WEBHOOK_URL>/{yookassa,stripe,nowpayments}-webhook(TON has none — it
polls). - No breaking changes; no required configuration changes for existing
Stars/CryptoBot deployments.
Telegram Shop Bot v3.1.0 (RU)
Семь способов принять оплату. Один ledger, который не теряет ни копейки.
v3.1 — релиз платежей: четыре новых платёжных рельса в дополнение к Stars и
CryptoBot, возвраты с защищённым двухтаповым сценарием и дurable-атрибуция
каждого платёжного факта — кто его записал. Полная обратная совместимость:
новые рельсы выключены до настройки, миграции только добавляют.
💳 Четыре новых платёжных рельса
- YooKassa — карты, RUB. Кнопка «Pay by card» в чекауте и Mini App; оплата
на странице YooKassa. Уведомления не подписаны, поэтому settle — только после
авторитетного re-fetch через API (провайдер, сумма, валюта, привязка к
заказу). Резервный поллер каждые 60 секунд пересканирует успешные платежи за
24 часа: потерянный вебхук всё равно доведёт заказ до оплаты, а деньги,
пришедшие после распродажи, уходят в карантин, а не «проталкиваются». - Stripe — карты, USD. Подписанные HMAC-вебхуки сеттлят прямо из подписанного
тела — без повторного запроса к API. Чистый HTTP, без SDK. Заказы ниже
$0.50 отклоняются до оплаты. - TON — он-чейн переводы. Покупатель получает адрес кошелька, точную сумму
в нанотонах и обязательный memoorder-<id>(deeplinkton://заполняет всё
сам). Поллер разбирает переводы по memo; settle терпителен к переплате
(в ledger пишется фактически полученное), недоплата — в карантин. Курс
фиксируется на заказе и никогда не переоценивается задним числом. - NOWPayments — 300+ монет. Hosted-инвойсы, settle по подписанному
HMAC-SHA512 IPN с канонизацией тела.⚠️ Перед включением в проде — один
живой тестовый платёж для подтверждения канонизации (проверка fail-closed:
при расхождении настоящие IPN отклонятся, но подделка никогда не пройдёт).
Подписки остаются Stars-only — осознанно.
🛡 Деньги, которым можно доверять
- Барьеры дurable-обработки. ACK вебхука и продвижение offset polling'а —
только после settle или durable-карантина: повторные доставки провайдера не
теряют и не дублируют платежи. - Карантин вместо догадок. Несовпадающие/битые/неожиданные факты — в очередь
на разбор, не в заказы; поведение каждого рельса задокументировано по
классам причин вdocs/payment-operations.md. - Неизменяемый ledger. Захваты, возвраты, аномалии и резолюции —
append-only; каждая новая строка теперь несёт durableactor(миграция 023):
кто записал —webhook:<провайдер>,worker:<провайдер>,admin:<id>или
CLI-оператор.
🧾 Платёжные операции для админов
/refund <заказ> [сумма]— возвраты с preview→confirm: при подтверждении
ledger перепроверяется заново (защита от гонок). Сначала провайдер, потом
запись; сбой между ними — восстановим, двойной тап — no-op, повторный возврат
по балансу кредитует ровно один раз. Stars, Stripe, YooKassa и баланс
исполняются в боте; crypto/TON/NOWPayments честно ведут в кабинет провайдера./payreview— очередь карантина в чате: карточка на случай, коды причин
и actor по каждой цели, кнопки только те, что ledger реально примет (мёртвых
кнопок больше нет; неоднозначное — в CLI).- CLI
payment-review— list/preview/resolve +ingest-stars/
ingest-providerс дисциплиной preview-then---apply; TON-перевод без memo
теперь разрешим привязкой к заказу. /paystatus— по строке на рельс: настроен или нет, курсы, какие вебхуки
зарегистрировать — без печати секретов.
🛠 Управление магазином
- Полная админка: товары, категории, фото, промокоды, стили кнопок
(/btnstyle), карточка заказа (/order <id>),/setbalanceс аудитом. - Оплата балансом — синхронный чекаут с идемпотентным списанием через тот
же защищённый путь, что и внешние рельсы.
🔍 Наблюдаемость
- Каждое обновление Telegram обрабатывается в едином per-update контексте
(30 секунд, отменяется при shutdown) сtrace_idво всех логах цепочки —
путь события собирается однимgrep trace_id=<id>. - Логи settle/refund несут структурированное поле
actorнасквозь.
⬆️ Заметки по обновлению
- Сделайте бэкап базы перед первым запуском. Миграции 017–023 применяются
автоматически и только добавляют; ledger неизменяем, поэтому колонкаactor
пишется один раз на входе — у строк до обновления останется NULL («не
записано»), это by design. - Новые необязательные переменные окружения:
YOOKASSA_*+USD_TO_RUB_RATE;
STRIPE_*;TON_WALLET_ADDRESS+USD_PER_TON(TON_API_KEYопционально);
NOWPAYMENTS_*. Ненастроенный рельс полностью скрыт; полунастроенный —
WARN в/paystatusиdoctor. - Для каждого включённого рельса зарегистрируйте вебхук:
<WEBHOOK_URL>/{yookassa,stripe,nowpayments}-webhook(у TON вебхука нет —
он поллит). - Ломающих изменений нет; для существующих Stars/CryptoBot-установок конфигурация
не меняется.
Changelog
- b501509: docs(bot): main shutdown comment reflects per-update ctx model (final-review fix) (@JumpCodeFrog)
- 9697320: docs(code): balance refund gate-coupling warnings at all three load-bearing sites (final review Important #1) (@JumpCodeFrog)
- e173629: docs(plan): Stripe USD card provider implementation plan (@JumpCodeFrog)
- 701fffe: docs(plan): Task 3b FK correction, Task 3c storage acceptance, Task 7 allowlist sites (@JumpCodeFrog)
- 30b5edf: docs(plan): Task 3b rebuild mechanics - defer_foreign_keys ruling (@JumpCodeFrog)
- 130a1fe: docs(plan): Task 7 gains IngestProviderCapture payer gate site (@JumpCodeFrog)
- c7818f4: docs(plan): YooKassa RUB provider implementation plan (@JumpCodeFrog)
- 06dd9d2: docs(plan): YooKassa lost-webhook backup poller (@JumpCodeFrog)
- 04af16c: docs(plan): add Task 3b - migration 020 ledger provider CHECK rebuild (@JumpCodeFrog)
- 9354880: docs(plan): admin full-management - split, payreview queue, balance payments, order cards, provider status (@JumpCodeFrog)
- 2dcfaa5: docs(plan): admin-initiated refunds (roadmap 4.4) (@JumpCodeFrog)
- 5353b23: docs(plan): backlog follow-ups batch (roadmap 4.6, 4.8-4.12) (@JumpCodeFrog)
- de741a9: docs(plan): crypto expansion - TON (polling) + NOWPayments (signed IPN) (@JumpCodeFrog)
- 4cc6038: docs(plan): quality sweep - context propagation, security test hardening, hygiene, ingress CLI, webapp flags (@JumpCodeFrog)
- f6fb155: docs(roadmap): 2026-09 revision - status audit, Roadmap Zero program, invariants (@JumpCodeFrog)
- 46ab401: docs(roadmap): audit corrections - 4.1/4.2 already implemented, 4.3 deferred by ruling, 4.4 reframed as admin-initiated refunds (@JumpCodeFrog)
- 6069027: docs(roadmap): refresh status - 7 payment rails, migrations 017-022, stage closures (@JumpCodeFrog)
- 0d77b0f: docs(test): correct directional reference in NOWPayments canonicalizer comment (@JumpCodeFrog)
- 7eea944: feat(admin): E2E for balance purchase and payreview flow; docs and changelog (@JumpCodeFrog)
- 35a80fd: feat(bot): /payreview orphan cards get truthful action sets, trap and CLI-only hints, 64-byte guard (HANDOFF 6.9) (@JumpCodeFrog)
- a9cc05d: feat(bot): /paystatus admin command - per-rail payment provider status (@JumpCodeFrog)
- 923ba74: feat(bot): NOWPayments IPN webhook settles signature-verified finished payments (@JumpCodeFrog)
- af70a1c: feat(bot): RUB card checkout button and onPayYooKassa redirect flow (@JumpCodeFrog)
- 8384e73: feat(bot): Stars subscription renewal logs its settle actor (HANDOFF 6.8) (@JumpCodeFrog)
- 1b4f35b: feat(bot): Stripe USD card checkout button and onPayStripe redirect flow (@JumpCodeFrog)
- 6a859c0: feat(bot): Stripe webhook settles from signature-verified checkout sessions (@JumpCodeFrog)
- e5dfe5f: feat(bot): TON transfer instructions and NOWPayments invoice checkout rows (@JumpCodeFrog)
- 99a8845: feat(bot): YooKassa webhook settles only after authoritative API refetch (@JumpCodeFrog)
- 71d10f6: feat(bot): actor on stars quarantine/anomaly paths (4.15 T3) (@JumpCodeFrog)
- 6dfb6d3: feat(bot): admin /refund with two-tap confirm and deterministic idempotency keys (@JumpCodeFrog)
- 987fab0: feat(bot): admin order card with payment facts; provider display names in order history (@JumpCodeFrog)
- 8747c80: feat(bot): ctx-aware middleware chain + per-update ctx with trace id at ingress (4.14 core; handlerCtx bridge remains) (@JumpCodeFrog)
- 65e09d9: feat(bot): durable path-5 anomaly trace for refund ledger failures (HANDOFF 6.6) (@JumpCodeFrog)
- 6f69217: feat(bot): payment review queue in the admin panel (/payreview) (@JumpCodeFrog)
- 5302946: feat(bot): root-context derivation for shutdown cancellation; settle-path actor attribution (roadmap 4.7, 4.13) (@JumpCodeFrog)
- 5e35ff6: feat(bot): trace_id on Stars settle/renewal/quarantine and barrier logs (4.14 observability) (@JumpCodeFrog)
- 06b33c7: feat(bot,worker): actor literals on all settle receipts (4.15 T2) (@JumpCodeFrog)
- 23b4c09: feat(config): Stripe credentials and webhook URL validation (@JumpCodeFrog)
- 953610c: feat(config): TON wallet/rate and NOWPayments credentials with validation (@JumpCodeFrog)
- 4d852a0: feat(config): YooKassa credentials, USD_TO_RUB_RATE and RUB exchange conversion (@JumpCodeFrog)
- 9c97f0c: feat(crypto): TON and NOWPayments E2E scenarios, docs and changelog (@JumpCodeFrog)
- 68acdad: feat(i18n): verb-parity test across locales; docs: admin refunds (roadmap 4.4) (@JumpCodeFrog)
- 535a5fc: feat(ops): generic payment-review ingest-provider for yookassa/stripe/ton/nowpayments (@JumpCodeFrog)
- 85e6f3d: feat(ops): stripe provider in payment-review and doctor checks (@JumpCodeFrog)
- a6b8f3a: feat(ops): ton and nowpayments in payment-review and doctor checks (@JumpCodeFrog)
- cfca93e: feat(ops): yookassa provider in payment-review and doctor checks (@JumpCodeFrog)
- 715541f: feat(payment): NOWPayments adapter with sorted-JSON HMAC-SHA512 IPN verification (@JumpCodeFrog)
- 4c85607: feat(payment): Stripe checkout session adapter with webhook signature verification (@JumpCodeFrog)
- 0515193: feat(payment): TON chain client, order-comment parsing, deeplinks and nanoton conversion (@JumpCodeFrog)
- 87e48c0: feat(payment): YooKassa ListPayments for the lost-webhook poller (@JumpCodeFrog)
- 10c16b2: feat(payment): fix YooKassa adapter compile errors and cover it with tests (@JumpCodeFrog)
- 6b581ae: feat(payment): stripe and yookassa refund creation methods (@JumpCodeFrog)
- 3400bdd: feat(payreview): refunded-orphan cards offer shape-gated Refund (HANDOFF §6.22) (@JumpCodeFrog)
- 1e962d0: feat(payreview): shape-keyed settle filter for orphan anomalies (HANDOFF §6.17) (@JumpCodeFrog)
- a329cb3: feat(payreview,cli): surface durable actor in card + list (4.15 T5) (@JumpCodeFrog)
- 2aa5023: feat(refunds,cli): actor on refund events + CLI ingest writes (4.15 T4) (@JumpCodeFrog)
- 23e5498: feat(shop): RUB cart totals, order snapshot and yookassa receipt validation (@JumpCodeFrog)
- 5bbd8fa: feat(shop): TON nanoton totals with overpay-tolerant settlement and NOWPayments receipt validation (@JumpCodeFrog)
- 7bbde4f: feat(shop): validate stripe payment receipts against order USD snapshot (@JumpCodeFrog)
- a96c647: feat(shop,bot): balance payments - synchronous internal settlement with admin adjustments (@JumpCodeFrog)
- f1007a1: feat(storage): 4.15 durable actor column (023) + models + 6 INSERT sites (NULLIF binding) (@JumpCodeFrog)
- b7f7ece: feat(storage): accept stripe in money mapping, facts, anomalies, ingress and refunds (@JumpCodeFrog)
- 6c89263: feat(storage): accept ton and nowpayments in money mapping, facts, anomalies, ingress and refunds (@JumpCodeFrog)
- 2334eab: feat(storage): accept yookassa in payment fact, anomaly and ingress-audit validation (@JumpCodeFrog)
- 835f518: feat(storage): migration 020 widens ledger provider checks for yookassa/stripe (@JumpCodeFrog)
- d642598: feat(storage): migrations 021-022 - ledger provider checks for ton/nowpayments/balance, orders.total_ton_nano (@JumpCodeFrog)
- 990b4ef: feat(storage): orders.total_rub column (migration 019) and yookassa ledger money case (@JumpCodeFrog)
- 10459c4: feat(storage,ops): single-source TON underpay rejection in validatePaymentFact; actionable ingest mismatch errors (@JumpCodeFrog)
- 3b1a4db: feat(stripe): E2E purchase scenario, docs and changelog (@JumpCodeFrog)
- 6d62d7d: feat(webapi): per-rail availability flags in cart payload; conditional Mini App payment buttons (@JumpCodeFrog)
- 2a49277: feat(webapi): stripe checkout method for the Mini App (@JumpCodeFrog)
- 69cbcf5: feat(webapi): ton deeplink and nowpayments invoice checkout methods for the Mini App (@JumpCodeFrog)
- 3b27e96: feat(webapi): yookassa checkout method for the Mini App (@JumpCodeFrog)
- 8e804c7: feat(worker): TON polling worker settles memo-matched on-chain transfers (@JumpCodeFrog)
- 108b7d2: feat(worker): YooKassa lost-webhook backup poller (@JumpCodeFrog)
- a72d692: feat(worker): page-cap truncation warning; docs: YooKassa poller (roadmap 4.5) (@JumpCodeFrog)
- 26bad63: feat(yookassa): E2E purchase scenario, docs and changelog (@JumpCodeFrog)
- c8d977c: fix(bot): /payreview case-gone gets its own message; ru Settle label disambiguated (HANDOFF 6.9) (@JumpCodeFrog)
- 1ba1c6d: fix(bot): /payreview digest-only set includes stars_update_decode_failure (HANDOFF 6.9 completeness) (@JumpCodeFrog)
- 4aee081: fix(bot): /paystatus trims every credential like doctor does; locale-derived ON assertion (HANDOFF 6.10) (@JumpCodeFrog)
- 58a5784: fix(bot): ledger-failure recovery message carries the exact refund amount (@JumpCodeFrog)
- 6d34508: fix(bot): suppress no-crypto note when RUB card payment is offered (@JumpCodeFrog)
- a19c01c: fix(bot): truthful refund guidance for manual rails and stars ledger-failure recovery; concurrent confirm test (@JumpCodeFrog)
- ec3a596: fix(bot): worker-path settlements deliver full payment notifications (ton + crypto poller) (@JumpCodeFrog)
- 70c9d1f: fix(bot,storage): balance refund fails closed on amount-divergent re-run (HANDOFF 6.7) (@JumpCodeFrog)
- aa3300a: fix(config): reject NaN/Inf USD_TO_RUB_RATE (@JumpCodeFrog)
- 553a90f: fix(launcher): payment-review CLI accepts the balance provider bucket (final review I-1) (@JumpCodeFrog)
- 8302572: fix(service): ConvertUSDToNanoTON guards finite quotients at/above 2^63 (HANDOFF 6.13) (@JumpCodeFrog)
- b78f5ce: fix(service): guard nanoton quotient overflow; docs: close follow-ups batch (4.6, 4.8-4.12) (@JumpCodeFrog)
- e49f0c4: fix(shop): idempotent balance debit for crash-window re-taps; balance button shows the charge (@JumpCodeFrog)
- c0b1b56: fix(storage): refund preview mirrors ingest payer corroboration for payerless captures (@JumpCodeFrog)
- 3aed37c: fix(worker): quarantine out-of-stock TON settlements instead of retrying forever (@JumpCodeFrog)
- dcfc08d: fix(worker): stamp worker:crypto on invalid-invoice quarantine + docs tense + test symmetry (4.15 final review) (@JumpCodeFrog)
- f301beb: refactor(bot): delete handlerCtx bridge — per-update ctx is the only handler context (4.14) (@JumpCodeFrog)
- 23ba399: refactor(bot): fleet-wide loggerFor sweep + auth upsert warn (HANDOFF §6.20) (@JumpCodeFrog)
- cf71791: refactor(bot): per-handler context timeouts, request-context propagation in webhooks (@JumpCodeFrog)
- 6861d3f: refactor(bot): split admin.go into thematic admin_*.go files (@JumpCodeFrog)
- cb30967: refactor(bot): thread context through auth middleware (last background site) (@JumpCodeFrog)
- b729904: refactor(bot): thread per-update ctx through G1 handlers (start/search/inline/orders/profile/referral/onBack) (@JumpCodeFrog)
- 64f61be: refactor(bot): thread per-update ctx through G2 buyer-flow handlers (cart/catalog/checkout/wishlist/reviews) (@JumpCodeFrog)
- 0f2e6f1: refactor(bot): thread per-update ctx through G3 payment/subscription handlers (@JumpCodeFrog)
- fb46bdf: refactor(bot): thread per-update ctx through G4 admin handlers (products/photos/categories/styles) (@JumpCodeFrog)
- 34df649: refactor(bot): thread per-update ctx through G5 admin handlers (orders/analytics/balance/promos/payreview/refunds) (@JumpCodeFrog)
- 36a0c84: style(storage): gofmt migration_020_test.go (Task 3b hygiene) (@JumpCodeFrog)
- ee7f926: test(bot): out-of-stock quarantine coverage for all payment surfaces; retag factless-envelope anomaly (@JumpCodeFrog)
- 0417ee0: test(bot): pin invalid-receipt quarantine and quarantine-failure paths for all signed rails (@JumpCodeFrog)
- d81afda: test(bot): stripe/nowpayments webhook replays re-assert the persisted payment_state (HANDOFF 6.4 residual) (@JumpCodeFrog)
- 81288c7: test(launcher): doctor env-overlay legs for TON_API_KEY, NOWPAYMENTS_IPN_SECRET/RETURN_URL (HANDOFF 6.3) (@JumpCodeFrog)
- ad32e9d: test(payment): cover YooKassa GetPayment invalid-ID, API-error, decode and toPayment branches (HANDOFF 6.2) (@JumpCodeFrog)
- 7837cb2: test(payment): pin NOWPayments IPN canonicalizer no-HTML-escape property (HANDOFF 6.1) (@JumpCodeFrog)
- d380e5a: test(shop): pin convert-once-at-end RUB conversion with a drifting multi-item cart (@JumpCodeFrog)
- 3465f76: test(storage): 022→023 upgrade pin — legacy rows keep NULL actor (HANDOFF §6.21) (@JumpCodeFrog)
SHA-256 verification
Download checksums.txt and your archive from this release. Verify the
archive before extracting or running it. SHA-256 checks file integrity;
it is not a digital signature of the author.
Windows (PowerShell):
Get-FileHash -LiteralPath .\telegram-shop-bot_3.1.0_windows_amd64.zip -Algorithm SHA256Compare the hash with the line for that exact filename below or in
checksums.txt (case does not matter). Use windows_arm64.zip for ARM64.
Linux (run in the folder containing the archive and checksums.txt):
sha256sum --check --ignore-missing checksums.txtYour downloaded archive must report OK. Do not use a file that fails verification.
bed71b7e78c1e218d5f5f87bcdd93c0649b3e9b16ed87092e97dd8209ed1c74a telegram-shop-bot_3.1.0_linux_amd64.tar.gz
54138f783e747922fe11ddb8c977c19a32364fd1b13c153e487186c20fbbc79f telegram-shop-bot_3.1.0_linux_arm64.tar.gz
6b696969ad5009f4123503e7d39dc36642133ec9cf68a97c41fc7b3080b22654 telegram-shop-bot_3.1.0_windows_amd64.zip
eba06213c29234a3362e58665e6a3ac6a124eed1bc38fbf443d0bc3b2cd13c9c telegram-shop-bot_3.1.0_windows_arm64.zip
Docker
docker pull ghcr.io/jumpcodefrog/telegram-shop-bot:v3.1.0Quick Start
Download the archive for your operating system and processor: amd64 for
Intel/AMD PCs, or arm64 for ARM devices. Extract the entire archive and
open a terminal in that folder; keep locales/ next to the executable.
Go, Make, and Docker are not required for the downloaded binary.
Windows (PowerShell):
.\telegram-shop-bot.exe quickstartLinux:
./telegram-shop-bot quickstartThe guided setup asks for the BotFather token and your Telegram user ID,
validates them, creates .env, runs diagnostics, and starts the shop.
See Getting Started for source and Docker paths.