Why it matters
Pre-checkout queries need fast answers and successful_payment must be idempotent.
Practical steps
- Use sendInvoice with a BotFather provider token
- answerPreCheckoutQuery within the platform deadline
- Handle successful_payment with an idempotency key
- Never log full payment provider payloads
- Exercise Telegram payment test mode first
Watch out for
- Copy-pasting outdated snippets for telegram payments notes without re-reading current official docs.
- Shipping telegram payments notes to production without a staging rehearsal and a documented rollback.