Yokka Stars

TONPay Starter - Telegram Mini App with TON Connect Payments (Source)

TONPay Starter - Telegram Mini App with TON Connect Payments (Source)

Seller: gevDev

Price: 21.40 USD

Available. The final price depends on the selected options and is checked before payment.

Product description

TONPay Starter is a ready shop inside Telegram that accepts TON: a customer opens the Mini App from the bot, picks a product, connects a wallet through TonConnect and signs a transfer. The server verifies the payment on-chain via TON Center and marks the order paid: the customer sees the status in the app, admins get a message in the bot.

Built for selling templates, licenses, access keys and small services - and for developers who need a working TON payment example instead of a mockup.

How it works:

  • Invoice: a unique comment TP-42, a 30-minute expiry and a TonConnect payload.
  • The wallet sends the amount to the seller wallet; the comment travels in the transaction body.
  • The server checks the seller wallet transactions via TON Center: correct destination, exact comment, at least 98% of the amount (network fee tolerance) and a timestamp after the invoice was created.
  • One transaction hash credits only one invoice - repeated checks and retries are safe.
  • The Mini App polls the status every 3 seconds; any status request also triggers a check, so a closed tab does not lose the payment.

What you get:

  • Customer Mini App: catalog with TON prices, official TonConnect button, invoice screen with amount, comment and live status (pending / paid / expired)
  • Express server: invoice creation, status polling, order history, on-chain verification through TON Center, rate limits, initData HMAC validation
  • grammY bot: /start, /shop, /help, /my for customers; /orders, /stats, /listings for admins; a message for every paid order
  • Unique invoice comments and single-use transaction hashes - no double crediting
  • Testnet by default and a demo mode without a wallet
  • Merchant wallet validation, bounceable/non-bounceable matching, bounced-message filtering
  • RU/EN interface, Telegram theme, responsive layout
  • JSON storage - no database, no Docker
  • 21 automated tests (node:test)
  • README: setup, environment variables, API, mainnet checklist, troubleshooting
  • License: one product per purchase

Who it is for:

  • Sellers of digital goods who want TON payments inside Telegram
  • Developers who need a working TonConnect + TON Center reference in JavaScript
  • Testnet projects that need a ready shop UI

Requirements:

  • A Telegram bot from @BotFather (2 minutes)
  • Node.js 20+ and HTTPS hosting
  • A TON wallet address (testnet wallet first is recommended)
  • Optional TON Center API key

Not included:

  • Hosting, domain, bot token and wallet
  • Automatic delivery of files or keys after payment
  • Refunds, accounting, tax reporting
  • Multiple shops per installation
  • Legal advice

Format: ZIP with source code, README and license. Updates and support for 6 months.

Refunds: digital product, no refunds after delivery.

Additional information

Node.js 20+, a Telegram bot from @BotFather, a TON wallet (testnet by default). HTTPS hosting required.