Skip to content

Release MakePay Telegram bot starter - #1

Merged
jamesw383 merged 1 commit into
mainfrom
codex/initial-release
Jul 25, 2026
Merged

jamesw383 merged 1 commit into
mainfrom
codex/initial-release

Conversation

@jamesw383

Copy link
Copy Markdown
Contributor

What changed

  • Adds a Python 3.12/FastAPI Telegram shop bot that creates idempotent MakePay hosted checkouts.
  • Authenticates Telegram webhooks and verifies timestamped MakePay HMAC signatures over the raw body.
  • Persists orders, webhook deduplication, and a retryable notification outbox in SQLite.
  • Reconciles non-terminal payments against MakePay to recover delayed or missed webhooks.
  • Includes Docker deployment, a sample catalog, architecture and security documentation, and contributor guidance.
  • Adds pinned GitHub Actions, CodeQL, Dependabot, package checks, and a container build.

Why

This provides a maintained, open-source MakePay equivalent to the reference Telegram crypto-payment demo, with the reliability and security controls required for a real integration starter.

Impact

Operators can clone the repository, configure Telegram and MakePay server-side credentials, edit the JSON catalog, and accept crypto through MakePay hosted checkout. Fulfillment remains explicitly merchant-owned and must run only after the local order reaches paid.

Validation

  • 48 tests pass on Python 3.12.
  • 86.25% branch-aware coverage.
  • Ruff lint and format checks pass.
  • Strict mypy passes.
  • pip-audit reports no known vulnerabilities.
  • Wheel build passes.
  • actionlint passes for both workflows.
  • Secret-pattern scan is clean.
  • GitHub CI additionally builds the container and tests Python 3.12/3.13.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@jamesw383
jamesw383 merged commit 3e7e139 into main Jul 25, 2026
5 checks passed
@jamesw383
jamesw383 deleted the codex/initial-release branch July 25, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants