Skip to content

fix(coinpay): validate setup payment amounts#49

Merged
ralyodio merged 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/coinpay-setup-amount-guard
Jul 25, 2026
Merged

fix(coinpay): validate setup payment amounts#49
ralyodio merged 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/coinpay-setup-amount-guard

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • validate CoinPay setup payment amounts before creating a checkout
  • reject malformed, non-positive, non-finite, and exponent/hex-style values
  • add focused coverage for setup amount parsing

Tests

  • node --test tests*.mjs

@ralyodio
ralyodio merged commit c30ca23 into moshcoder:master Jul 25, 2026
2 checks passed
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