Add Telegram Stars donations #196

Merged
backmeupplz merged 1 commit from voi-kaneo-69-telegram-stars into main 2026-05-20 17:47:09 +00:00
backmeupplz commented 2026-05-20 16:46:45 +00:00 (Migrated from github.com)

Summary

  • add Telegram Stars invoice links to /donate ahead of existing Stripe fallback buttons
  • add compact signed Stars payloads, pre-checkout validation, successful payment activation, and chat audit fields
  • update locales/env docs and add deterministic Stars proof coverage

Validation

Automated checks run:

  • yarn build-ts - passed
  • yarn lint - passed
  • yarn audit-locales - passed
  • yarn test:donation-wall - passed
  • yarn test:stripe-webhook - passed
  • yarn test:telegram-stars - passed
  • yarn test:telegram-runtime - passed (@okamikron_bot, no webhook, pending_update_count 0)
  • yarn test:donation-formatting - passed
  • yarn test:telegram-markdown - passed

Manual QA still required before done:

  • Use Telegram Stars test environment with a real logged-in Telegram account.
  • Run /donate in a private chat and complete a test Stars invoice; expected result: signed target private chat is activated and one localized activation confirmation is sent.
  • Run /donate inside a group and complete a test Stars invoice; expected result: signed target group is activated, not the paying user's private chat.
  • Replay or duplicate the same successful payment update if tooling allows; expected result: no duplicate activation confirmation.

Manual Stars QA was not run in this Codex pass because the required Telegram Stars test payment setup/credentials are not available in the workspace.

## Summary - add Telegram Stars invoice links to `/donate` ahead of existing Stripe fallback buttons - add compact signed Stars payloads, pre-checkout validation, successful payment activation, and chat audit fields - update locales/env docs and add deterministic Stars proof coverage ## Validation Automated checks run: - `yarn build-ts` - passed - `yarn lint` - passed - `yarn audit-locales` - passed - `yarn test:donation-wall` - passed - `yarn test:stripe-webhook` - passed - `yarn test:telegram-stars` - passed - `yarn test:telegram-runtime` - passed (`@okamikron_bot`, no webhook, pending_update_count 0) - `yarn test:donation-formatting` - passed - `yarn test:telegram-markdown` - passed Manual QA still required before done: - Use Telegram Stars test environment with a real logged-in Telegram account. - Run `/donate` in a private chat and complete a test Stars invoice; expected result: signed target private chat is activated and one localized activation confirmation is sent. - Run `/donate` inside a group and complete a test Stars invoice; expected result: signed target group is activated, not the paying user's private chat. - Replay or duplicate the same successful payment update if tooling allows; expected result: no duplicate activation confirmation. Manual Stars QA was not run in this Codex pass because the required Telegram Stars test payment setup/credentials are not available in the workspace.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
backmeupplz/voicy!196
No description provided.