Skip to content

Require signed CoinPay credit webhooks - #24

Closed
aiirvizionz wants to merge 1 commit into
moshcoder:mainfrom
aiirvizionz:clientkit/coinpay-webhook-secret
Closed

Require signed CoinPay credit webhooks#24
aiirvizionz wants to merge 1 commit into
moshcoder:mainfrom
aiirvizionz:clientkit/coinpay-webhook-secret

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • fail closed when COINPAY_WEBHOOK_SECRET is not configured for credit top-up webhooks
  • move CoinPay webhook signature validation into a small helper
  • add coverage for missing, invalid, and valid webhook signatures

Verification

  • npm test
  • cd apps/pwa && npm test
  • git diff --check

@ralyodio ralyodio closed this Jul 15, 2026
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