Designing a smooth Telegram Stars checkout in your mini app: 10 UX tips
Ten practical UX tips for designing a smooth Telegram Stars checkout in your mini app: clear prices, instant delivery, error states, receipts and support.
Published:

Designing a smooth Telegram Stars checkout in your mini app is mostly about removing doubt. Show the price and what it buys before the payment sheet opens, deliver the item the moment payment succeeds, and give a clear next step when something fails. The ten tips below are grouped by stage: before payment, during payment, after payment and when things go wrong.
Who this list is for and how to use it
This list is for developers and designers of Telegram mini apps that sell digital items for Stars: games, tools, content apps and subscriptions. It assumes you already create invoice links on your server and open them in the mini app with Telegram.WebApp.openInvoice. If you still need the payment basics, start with our guide to Stars invoices for developers.
Use the list as a review checklist. Go through your own checkout from a second account, and note every place where you hesitated, waited or were unsure what happened.
Before payment: make the decision easy
- Show the price in Stars next to the button. Write the exact amount, for example "Unlock for 50 Stars", not just "Buy". Users should never meet the price for the first time on the payment sheet.
- Say exactly what the purchase includes. One line is enough: "10 extra hints, used any time" or "All chapters, permanent access". For subscriptions, state the period and that it renews.
- Keep the number of choices small. Two or three options are easier than a long list. Highlight the option most people choose, but do not use pressure tactics such as fake timers.
During payment: keep the flow short
- Open the invoice in one tap. Create the invoice link with
createInvoiceLinkon your server before the user taps, or very quickly after, and open it withopenInvoice. Avoid extra confirmation screens of your own. - Use a clear invoice title and description. The payment sheet shows what you send. Match the wording in your app so the user recognises the item.
- Handle every callback status.
openInvoicereports a status such aspaid,cancelled,failedorpending. Each status needs its own screen. A cancelled payment should simply return the user to where they were, with no error message.
After payment: deliver and confirm
- Deliver instantly and visibly. When the payment is confirmed, unlock the item right away and show it, for example by opening the new level or adding the credits with a short animation. Confirm delivery on your server from the
successful_paymentupdate, not only from the mini app callback. - Send a short receipt. A message from the bot with the item name, the amount in Stars, the date and an order reference helps users later. Keep the
telegram_payment_charge_idin your database so support can find the payment.
When things go wrong: give a way forward
- Write helpful error states. If the payment failed, say so in plain words and offer "Try again". If the balance is too low, Telegram offers to top up; your app should simply let the user return and retry. If delivery is delayed, show "Payment received, your item is on the way" and keep checking.
- Make support one tap away. Add a "Payment problem?" link that opens the bot chat with
/paysupport. Users who can find help easily are less likely to complain publicly.
| Status | What the user should see | What your server should do |
|---|---|---|
paid | The unlocked item, with a short confirmation | Mark the order as paid after successful_payment and deliver |
cancelled | The previous screen, without an error | Nothing; the invoice can be reused or discarded |
failed | A plain message and a retry button | Log the attempt for diagnosis |
pending | "Processing" with a progress indicator | Wait for the update before delivering |
How to choose and adapt these ideas
Not every app needs all ten tips at once. A small game might focus on tips 1, 4 and 7, because players want speed. A content app with subscriptions needs tips 2, 8 and 10, because users care about what renews and how to get help. Start with the tips that address your most common support questions.
Measure the effect. Track how many users open an invoice, how many pay and how many contact support. If a change improves payments but increases support requests, the checkout is probably less clear than before. If you sell subscriptions, also read Stars subscriptions in mini apps.
Mistakes to avoid
- Delivering only from the client callback. If the mini app is closed at the wrong moment, the item may never be delivered. Always rely on the server-side payment update.
- Treating "cancelled" as an error. Users often cancel to check their balance. Do not show red warnings.
- Hiding the price in small text. This leads to refund requests and damages trust.
- Asking for unnecessary data. Digital items rarely need a name or email. Every extra field reduces completed payments.
- Forgetting players' budgets. Clear prices help players control spending; our guide for players shows what they look for.
Some of your users may ask where to buy Stars outside the app. You can point them to the official in-app purchase and, as one more option, to PayStars, which sells Stars to any public @username from a USD balance topped up with USDT.
FAQ
How do I open a Stars payment inside a mini app?
Create an invoice link on your server with createInvoiceLink using the currency XTR, then open it in the mini app with Telegram.WebApp.openInvoice and handle the returned status.
Should I deliver the item when the mini app callback says paid?
Use the callback to update the screen, but confirm and deliver on your server from the successful_payment update, so delivery still works if the app is closed.
What should I show when a user cancels the payment?
Simply return them to the previous screen without an error. Cancelling is a normal choice, not a failure.
Do I need to send a receipt for a Stars payment?
It is good practice. A short bot message with the item, the amount in Stars, the date and an order reference helps users and your support team.
How can users get help with a failed payment?
Add a visible link that opens your bot with /paysupport, and keep the payment charge ID so support can find the order quickly.
Sources
Buy Stars and Premium with USD (USDT)
Via API key: 0% (plain Fragment price). Via the website: 5%.
More news
Stars vs payment providers in Telegram bots: digital or physical goodsStars vs payment providers in Telegram bots: which route fits digital goods, physical goods and real-world services, with examples and a short decision test.Read →
Telegram's rules for Stars payments: what bot developers must followTelegram's rules for Stars payments in one place: digital goods via Stars, /paysupport duties, terms and privacy policy, and content you must not sell.Read →
Measuring Stars revenue in your Telegram channel: which numbers to watchMeasuring Stars revenue in your Telegram channel: compare subscription, paid post and reaction metrics, learn simple conversion formulas and run fair experiments.Read →