Skip to content

Fallback invalid CoinPay checkout amounts#42

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
Autowebassat-blip:fix-coinpay-checkout-invalid-amount
Jun 14, 2026
Merged

Fallback invalid CoinPay checkout amounts#42
ralyodio merged 1 commit into
profullstack:masterfrom
Autowebassat-blip:fix-coinpay-checkout-invalid-amount

Conversation

@Autowebassat-blip

Copy link
Copy Markdown
Contributor

Fixes a CoinPay checkout response edge case where an invalid amount_usd from CoinPay could serialize as a non-finite value instead of the expected checkout amount.

Adds a contract test that falls back to 250 when CoinPay returns a malformed amount.

@ralyodio ralyodio merged commit 055cc09 into profullstack:master Jun 14, 2026
5 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