Skip to content

Fallback invalid CoinPay checkout amounts#42

Open
Autowebassat-blip wants to merge 1 commit into
profullstack:masterfrom
Autowebassat-blip:fix-coinpay-checkout-invalid-amount
Open

Fallback invalid CoinPay checkout amounts#42
Autowebassat-blip wants to merge 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.

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.

1 participant