Commit Graph

6 Commits

Author SHA1 Message Date
d9a2fcaa0f Show Bitcoin amounts from payment-methods API and add FROM_NAME
Fetch BTCPay payment-methods for BTC totals, log API summaries, and
format sender as "Name <email>" via FROM_NAME for Postmark.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 13:27:45 +02:00
6edd208245 Handle BTCPay __test__ webhooks with Postmark test email
Send a bannered test transactional email when BTCPay UI test events
arrive instead of failing on a missing invoice API lookup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 13:18:21 +02:00
c2b5d23477 Validate BTCPay webhooks with BTCPAY-SIG HMAC-SHA256
Replace URL token auth with the official webhook secret signature check.
Add SETUP.md and separate TEST_TOKEN for the Postmark test endpoint.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 12:20:00 +02:00
203bdd3567 Add webhook evaluation logging with optional DEBUG mode
Log partial-payment decisions and email results to stdout for Portainer
logs; DEBUG enables full webhook payload tracing. Document BTCPay payload
and shutdown steps in WEBHOOK.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 12:05:38 +02:00
118b596631 Use Gitea registry image with env-based configuration
Replace local build with configurable registry image defaults and document
settings in .env.example for deployers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 11:57:56 +02:00
41d264d8a5 Initial commit: BTCPay partial payment mailer
Flask webhook service that emails buyers via Postmark when BTCPay receives a partial payment.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 11:52:49 +02:00